/* Controls */
.panel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    gap: 10px;
}
.panel-controls select {
    padding: 4px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 15px 0;
}
.pagination a {
    padding: 6px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
}
.pagination a.active {
    background: #333;
    color: #fff;
}

/* Table */
.table-wrapper {
    width: 100%;
    margin: 30px auto;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
}

/* Main table */
.data-table {
    border-collapse: separate;
    border-spacing: 0 14px;
}


.data-table thead th {
    background: #ffffff;
    color: navy;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    padding: 11px 12px;
    white-space: nowrap;

    border-bottom: 3px solid blue;
}

/* Remove old row/cell borders */
.data-table tbody td {
    background: #f8f9fc;
    border: none;
    padding: 22px 24px;
}

/* Rounded left side */
.data-table tbody td:first-child {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

/* Rounded right side */
.data-table tbody td:last-child {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

/* THIS is the important trick */
table.data-table tbody td {
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}



/* Hover */
.data-table tbody tr:hover td {
    background: #eef3ff;
}

.btn-grad {
    display:inline-block;
    padding:5px 20px;
    background:linear-gradient(135deg,#4da3ff,#2a7de1);
    color:white;
    text-decoration:none;
	margin-bottom:8px;
    border-radius:6px;
    font-weight:600;
    box-shadow:0 4px 8px rgba(0,0,0,.15);
    transition:.2s;
}

.btn-grad:hover {
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(0,0,0,.2);
}


/* Apply to any form with class="big-button" */
.big-button input[type="submit"] {
    background: linear-gradient(to bottom, #2d5b89 0%, #1b3555 100%);
    color: #fff;
    border: 1px solid #142941;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-shadow: 0 -1px 1px rgba(0,0,0,.35);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        0 3px 8px rgba(0,0,0,.25);
    transition: all .2s ease;
}

.big-button input[type="submit"]:hover {
    background: linear-gradient(to bottom, #3b6d9e 0%, #23476d 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.3),
        0 5px 12px rgba(0,0,0,.3);
    transform: translateY(-1px);
}

.big-button input[type="submit"]:active {
    background: linear-gradient(to bottom, #18304c 0%, #274d75 100%);
    box-shadow: inset 0 2px 5px rgba(0,0,0,.35);
    transform: translateY(1px);
}

/* Cards */
.card-list {
    display: none;
}
.card {
    background: #f8f9fc;
    border: none;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;

    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Responsive switch */
@media (max-width: 768px) {
    .table-wrapper { display: none; }
    .card-list { display: block; }
    .panel-controls {
        flex-direction: column;
        align-items: flex-start;
    }
	
    .data-table {
        font-size: 15px;
    }

    .data-table td,
    .data-table th {
        padding: 16px;
    }
}


.data-table {
    background: #E5E5E5 !important;
}
