/* Global */
body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fc;
}

/* Card */
.page-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Header */
.page-header { 
    background: #244372;  
   /* background: linear-gradient(135deg, #4e73df, #224abe);  /* 27-07-2026*/
    padding: 18px 25px;
    color: #fff;
    text-align: center;
}

.page-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 24px;
}

.page-header p {
    margin-top: 4px;
    opacity: 0.9;
    font-size: 13px;
}

/* Table Section */
.table-section {
    padding: 15px;
}

.table {
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: #f8f9fc;
    color: #244372;
    font-weight: 600;
    border-bottom: 2px solid #e3e6f0;
    padding: 14px;
    font-size: 14px;
}

.table tbody td {
    padding: 14px;
    font-size: 14px;
    vertical-align: middle;
    color: #5a5c69;
}

.table-hover tbody tr:hover {
    background: #f5f8ff;
    transition: 0.2s ease;
}

/* DataTables */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 10px;
    border: 1px solid #dce3f0;
    padding: 6px 12px;
    outline: none;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 10px;
    border: 1px solid #dce3f0;
    //padding: 4px 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #4e73df !important;
    border-color: #4e73df !important;
    color: #fff !important;
}

/* Responsive Table */
.table-responsive {
    border-radius: 12px;
    overflow-x: auto;
}

/* =========================================
   ADD CASHIER PAGE STYLES
========================================= */

.form-section {
    padding: 35px;
}

.form-label {
    font-weight: 600;
    color: #5a5c69;
    margin-bottom: 8px;
}

.form-control,
.custom-select {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #dce3f0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus,
.custom-select:focus {
    border-color: #244372;
    box-shadow: 0 0 0 0.15rem rgba(78,115,223,0.2);
}

.input-group-text {
    background: #f8f9fc;
    border: 1px solid #dce3f0;
    border-radius: 10px 0 0 10px;
}

.btn-custom {
	color: #ffffff;
    background: #244372;
    height: 38px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
	color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(78,115,223,0.25);
}

.alert-custom {
    border-radius: 10px;
    font-size: 14px;
}


/* =========================================
   UPDATE CASHIER PAGE STYLES
========================================= */

.hidden-section {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Better select spacing */
#cashierid,
#newcashierschool,
#cashierstatus {
    background-color: #fff;
}

/* Update form spacing */
#divlabel .form-group:last-child {
    margin-bottom: 0;
}



/* Mobile improvements */
@media (max-width: 768px) {

div[class^="col-"]:has(.page-card), .col-lg-12:has(.page-card), .col-12:has(.page-card), .container:has(.page-card) { 
	padding-left: 0rem !important;
	padding-right: 0rem !important;
}	
.plr-xs-0{
	padding-left: 0rem !important;
	padding-right: 0rem !important;
}
div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 0; 
    width: 75% !important;
}
    .form-section {
        padding: 22px;
    }

    .page-header h2 {
        font-size: 20px;
    }

    .btn-custom {
        height: 38px;
        font-size: 14px;
    }
    .form-control, .custom-select {
		height:35px;
	}
}


/* Mobile Responsive */
@media (max-width: 768px) {

    #dataTable {
        min-width: 850px;
    }

    #dataTable th,
    #dataTable td {
        white-space: nowrap;
        padding: 14px 18px;
    }

    /* Associated School */
    #dataTable th:nth-child(5),
    #dataTable td:nth-child(5) {
        min-width: 240px;
    }

    /* Email Column */
    #dataTable th:nth-child(3),
    #dataTable td:nth-child(3) {
        min-width: 220px;
    }
 
}