/* =========================
   Plan & Pricing Page CSS
========================= */

.cps-plans-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
#cps-plans-wrapper, .cps-checkout-wrapper {
    margin: 40px auto;
    max-width: 1200px;
}

.cps-plan-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cps-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.cps-plan-header {
    background: linear-gradient(135deg, #12356b, #1c4c99);
    padding: 22px;
    color: #fff;
    position: relative;
}

.cps-plan-header::after {
    content: "";
    position: absolute;
    right: -35px;
    top: -35px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.cps-plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.cps-registration-fee {
    font-size: 13px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.cps-registration-fee strong {
    color: #B78429;
    font-size: 18px;
}

.cps-plan-body {
    padding: 22px;
    flex: 1;
}

.cps-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #12356b;
    margin-bottom: 12px;
    border-left: 4px solid #B78429;
    padding-left: 10px;
}

.cps-description {
    color: #555;
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 18px;
}

.cps-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}

.cps-pricing-table th {
    background: #f7f7f7;
    color: #12356b;
    padding: 10px;
    text-align: left;
    font-size: 15px;
}

.cps-pricing-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 15px;
    text-align: center;
}

.cps-pricing-table tr:last-child td {
    border-bottom: none;
}

.cps-price {
    font-weight: 700;
    color: #B78429;
    font-size: 14px;
}

.cps-services {
    color: #555;
    font-size: 13px;
    line-height: 1.5;
}

.cps-services-content {
    max-height: 85px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cps-plan-card.active .cps-services-content {
    max-height: 1000px;
    font-size: 15px;
    color: #444;
}

.cps-services ul {
    margin-left: 16px;
}

.cps-services li {
    margin-bottom: 5px !important;
    color: #444;
    font-size: 15px;
}

.cps-read-more {
    display: inline-block;
    margin-top: 10px;
    color: #B78429;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.cps-read-more:hover {
    color: #12356b;
}

.cps-plan-footer {
    padding: 20px 22px 24px;
}

.cps-plan-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #B78429;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.cps-plan-btn:hover {
    background: #9d6d1f;
    transform: scale(1.02);
}

.cps-empty {
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-size: 18px;
    color: #666;
}

/* =========================
   POPUP
========================= */

.cps-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.cps-modal.active {
    display: flex !important;
}

.cps-modal-box {
    width: 85%;
    max-width: 800px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 85vh;
    overflow-y: auto;
}

/* =========================
   REGISTRATION PAGE CSS
========================= */

.cps-page-header {
    text-align: center;
    margin-bottom: 35px;
    padding: 50px 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #12356b 0%, #1d4d96 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(18,53,107,0.18);
}

.cps-page-header:before,
.cps-page-header:after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.cps-page-header:before {
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.06);
}

.cps-page-header:after {
    bottom: -100px;
    left: -100px;
    width: 220px;
    height: 220px;
    background: rgba(183,132,41,0.12);
}

.cps-page-header h1 {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 2;
}

.cps-page-header p {
    margin: 0 auto;
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.cps-registration-wrapper {
    max-width: 1200px;
    margin: 40px auto;
}

.cps-registration-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cps-box {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    position: relative;
	border-top: 5px solid #B78429;    
}

/* .cps-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, #12356b, #B78429);
} */

.cps-box h2 {
    margin: 0 0 28px;
    color: #12356b;
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 1px solid #ececec;
}

.cps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cps-full {
    grid-column: 1 / -1;
}

.cps-field {
    display: flex;
    flex-direction: column;
}

.cps-field label {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #12356b;
    text-align: left;
}

.cps-field input,
.cps-field select,
.cps-field textarea {
    width: 100%;
    border: 1px solid #d8d8d8 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    background: #fff !important;
    transition: 0.25s ease !important;
    box-sizing: border-box !important;
}

.cps-field textarea {
    min-height: 120px;
    resize: vertical;
}

.cps-field input:focus,
.cps-field select:focus,
.cps-field textarea:focus {
    outline: none;
    border-color: #B78429;
    box-shadow: 0 0 0 4px rgba(183,132,41,0.12);
}

.cps-btn {
    background: #B78429 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 30px !important;
    border-radius: 14px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(183,132,41,0.25) !important;
}

.cps-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(183,132,41,0.35);
}

.cps-submit-wrap {
    text-align: center;
    margin-top: 20px;
}

/* =========================
   PRICE BOX
========================= */
.cps-price-box {
    margin-top: 30px;
    background: linear-gradient(135deg, #12356b, #1b4f9d);
    border-radius: 18px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(18,53,107,0.25);
}

.cps-price-box p {
    display: flex;
    justify-content: space-between;
    margin: 0 0 16px;
    font-size: 17px;
}

.cps-price-box h3 {
    margin: 15px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 30px;
    color: #B78429;
    display: flex;
    justify-content: space-between;
}
/* =========================
   DOCUMENT BOX
========================= */
.cps-document-box {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fafafa;
}

.cps-document-box h3 {
    margin: 0 0 20px;
    color: #12356b;
    font-size: 20px;
    font-weight: 700;
}

.cps-field input[type="file"] {
    padding: 12px;
    border: 1px dashed #B78429;
    border-radius: 12px;
    background: #fff;
}

/* =========================
   ERROR
========================= */
.cps-error {
    background: #ffeaea;
    color: #d10000;
    padding: 12px 15px;
    border-radius: 10px;
    margin: 40px;
	text-align: center;
    border-left: 4px solid #d10000;
}

/* =========================
   REQUIRED STAR
========================= */
.cps-required {
    color: red;
    margin-left: 2px;
    font-weight: bold;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .cps-grid {
        grid-template-columns: 1fr;
    }

    .cps-box {
        padding: 25px;
    }

    .cps-box h2 {
        font-size: 24px;
    }

    .cps-price-box h3 {
        font-size: 24px;
    }

    .cps-btn {
        width: 100%;
    }

    .cps-page-header h1 {
        font-size: 30px;
    }

    .cps-page-header p {
        font-size: 16px;
    }
}
/* =========================
   CHECKOUT PAGE CSS
========================= */

.cps-summary-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.cps-parent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.cps-card{
    background:#fff;
    border-radius:18px;
    padding:28px;
    box-shadow:0 6px 22px rgba(0,0,0,0.08);
    border-top:1px solid #B78429;
    margin-bottom:25px;
}

.cps-card h3{
    margin:0 0 22px;
    font-size:24px;
    color:#12356b;
    font-weight:700;
    padding-bottom:12px;
    border-bottom:1px solid #eee;
}

.cps-info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.cps-info-grid-3{
    grid-template-columns:repeat(3,1fr);
}

.cps-info-item{
    display:flex;
    flex-direction:column;
}

.cps-info-item span{
    font-size:12px;
    color:#777;
    margin-bottom:0px;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:600;
}

.cps-info-item strong{
    font-size:16px;
    color:#12356b;
    line-height:1.6;
    word-break:break-word;
}

.cps-full{
    grid-column:1 / -1;
}

/* PAYMENT CARD */
.cps-payment-card{
    background:linear-gradient(135deg,#12356b 0%,#1c4c90 100%) !important;
    border-top:5px solid #B78429 !important;
}


/* PAYMENT BREAKDOWN */
.cps-payment-breakdown{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:20px;
}

.cps-payment-two-col{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.cps-payment-row{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:7px 16px;
    border-radius:14px;
    border:1px solid #e6eaf2;
}
button.cps-btn.pay-now {
    margin: 40px auto;
    display: block;
}

.cps-payment-row span{
    color:#666;
    font-size:14px;
}

.cps-payment-row strong{
    color:#12356b;
    font-size:18px;
    font-weight:700;
}

/* GRAND TOTAL */
.cps-payment-grand{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    background:#B78429;
    border:none;
}

.cps-payment-grand span,
.cps-payment-grand strong{
    color:#fff;
}

.cps-payment-grand strong{
    font-size:20px;
}

/* META */
.cps-payment-meta{
    margin-top:18px;
    margin-bottom:0;
    color:#777;
    font-size:14px;
}

/* STATUS */
.cps-status{
    color:#b17627 !important;
    font-weight:700;
}

.cps-success,
.cps-success-message {
    text-align:center;
    margin-bottom:8px;
    color:green;
    font-size:20px;
	max-width: 1200px ;
    margin: 40px auto;
}

#cps-pay-btn{
    margin:auto;
    display:block;
}

/* RESPONSIVE */
@media(max-width:767px){
    .cps-payment-two-col{
        grid-template-columns:1fr;
    }
}

@media(max-width:991px){
    .cps-summary-box,
    .cps-parent-grid{
        grid-template-columns:1fr;
    }

    .cps-info-grid,
    .cps-info-grid-3{
        grid-template-columns:1fr;
    }

    .cps-page-header{
        padding:30px 20px;
    }

    .cps-page-header h1{
        font-size:30px;
    }
}

/* =========================
   LOGIN PAGE CSS
========================= */

.cps-login-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* HEADER (login override allowed) */
.cps-page-header {
    text-align: center;
    background: linear-gradient(135deg, #12356b, #1e5aa8);
    color: #fff;
    padding: 40px 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cps-page-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.cps-page-header p {
    margin-top: 8px;
    opacity: 0.9;
    font-size: 15px;
}

.cps-login-btn {
    width: 100%;
    background: #B78429;
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(183,132,41,0.25);
}

.cps-login-btn:hover {
    background: linear-gradient(135deg, #9c6f1f, #c9973e);
    transform: translateY(-1px);
}

.cps-login-actions {
    display: flex;
    justify-content: flex-end;
}

.cps-forgot-link {
    font-size: 13px;
    color: #1e5aa8;
    text-decoration: none;
}

.cps-login-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #555;
}

.cps-signup-link {
    color: #B78429;
    font-weight: 600;
    text-decoration: none;
}



/* =========================
   ACCOUNT PAGE CSS
========================= */

.cps-shift-note-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border-top: 1px solid #B78429;
}

.cps-shift-note-top{
    display:grid;
    grid-template-columns:1.5fr 1.5fr 180px;
    gap:20px;
    align-items:center;
    margin-bottom: 0px;
}

.cps-shift-note-user{
    display:flex;
    align-items:center;
    gap:15px;
}

.cps-shift-avatar{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#173f84;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:700;
}

.cps-shift-user-info h4{
    margin:0 0 5px;
    color:#173f84;
    font-size:20px;
    font-weight:700;
}

.cps-shift-user-info p{
    margin:0;
    color:#555;
    font-size:14px;
}

.cps-shift-note-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.cps-shift-meta-box{
    background:#f8fafc;
    border:1px solid #b78429;
    border-radius:10px;
    padding:5px 12px;
}

.cps-shift-meta-box span{
    display:block;
    font-size:12px;
    color:#b88917;
    margin-bottom:0px;
    font-weight:600;
    text-transform:uppercase;
}

.cps-shift-meta-box strong{
    color:#173f84;
    font-size:15px;
    white-space:nowrap;
}

.cps-shift-note-action{
    text-align:right;
}

.cps-note-toggle-btn{
    background:#173f84;
    color:#fff;
    border:none;
    padding:8px 12px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}

.cps-note-toggle-btn:hover{
    background:#b88917;
    color:#fff;
}
.cps-note-toggle-btn {
    border: 1px solid #b88917 !important;
}
.cps-note-toggle-btn:hover, .cps-note-toggle-btn:focus {
    background: #173f84 !important;
    color: #fff !important;
}
.cps-shift-note-body {
    margin-top: 20px;
}
@media(max-width:991px){

    .cps-shift-note-top{
        grid-template-columns:1fr;
    }

    .cps-shift-note-action{
        text-align:left;
    }

    .cps-shift-note-meta{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:600px){

    .cps-shift-note-meta{
        grid-template-columns:1fr;
    }

}

/* =========================================
ACCOUNT DASHBOARD
========================================= */

.cps-account-dashboard{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}


/* =========================================
TOP HEADER
========================================= */

.cps-account-header{
    background:#fff;
    border-radius:18px;
    padding:20px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
    border-top:5px solid #b78429;
}

.cps-account-user{
    display:flex;
    align-items:center;
    gap:18px;
}

.cps-account-avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#12356b;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:700;
}

.cps-account-user h2{
    margin:0;
    font-size:24px;
    color:#12356b;
}

.cps-account-user p{
    margin:5px 0 0;
    color:#666;
    font-size:14px;
}

/* =========================================
LOGOUT BUTTON
========================================= */

.cps-logout-btn{
    background:#B78429;
    color:#fff;
    padding:5px 16px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.cps-logout-btn:hover{
    background:#9d6d1d;
    color:#fff;
}

/* =========================================
STATS GRID
========================================= */

.cps-stats-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
    margin-bottom:25px;
}

.cps-stat-card{
    background:#fff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 4px 20px rgba(0,0,0,0.05);
    border:1px solid #b78429;
}

.cps-stat-card span{
    display:block;
    font-size:14px;
    color:#777;
    margin-bottom:0px;
}

.cps-stat-card h3{
    margin:0;
    color:#12356b;
    font-size:20px;
    font-weight:700;
}

/* =========================================
MAIN GRID
========================================= */

.cps-dashboard-main{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:25px;
}

/* =========================================
SIDEBAR
========================================= */

.cps-sidebar{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 4px 20px rgba(0,0,0,0.05);
    border-top:1px solid #b78429;
    height:fit-content;
}

.cps-tab-btn{
    width:100%;
    border:none;
    background:#f5f7fb;
    color:#12356b;
    padding:15px 18px;
    border-radius:12px;
    margin-bottom:12px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    text-align:left;
    transition:0.3s;
}

.cps-tab-btn:hover{
    background:#12356b;
    color:#fff;
}

.cps-tab-btn.active{
    background:#12356b;
    color:#fff;
}

/* =========================================
CONTENT AREA
========================================= */

.cps-content-area{
    width:100%;
}

.cps-tab-content{
    display:none;
}

.cps-tab-content.active{
    display:block;
}

/* =========================================
CARDS
========================================= */

.cps-card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 4px 20px rgba(0,0,0,0.05);
}

.cps-card h3{
    margin-top:0;
    margin-bottom:10px;
    color:#12356b;
    font-size:24px;
}

.cps-payment-card h3,
.cps-payment-card span,
.cps-payment-card strong,
.cps-payment-card p{
    color:#fff !important;
}

/* =========================================
INFO GRID
========================================= */

.cps-info-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}

.cps-info-item{
    background:#f8faff;
    border:1px solid #b78429;
    padding:6px 14px;
    border-radius:14px;
}

.cps-info-item label{
    display:block;
    font-size:13px;
    font-weight:700;
    color:#B78429;
    margin-bottom:0px;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.cps-info-item p{
    margin:0;
    color:#12356b;
    font-size:15px;
    line-height:1.6;
    word-break:break-word;
}

.cps-full{
    grid-column:1 / -1;
}



/* =========================================
LOGIN REQUIRED
========================================= */

.cps-account-login-required{
    max-width:500px;
    margin:60px auto;
    padding:0 20px;
    text-align:center;
}

.cps-btn{
    display:inline-block;
    background:#12356b;
    color:#fff;
    padding:14px 25px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    margin-top:15px;
}

.cps-btn:hover{
    background:#0f2c59;
    color:#fff;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:991px){

    .cps-dashboard-main{
        grid-template-columns:1fr;
    }

    .cps-stats-grid{
        grid-template-columns:1fr;
    }

    .cps-info-grid{
        grid-template-columns:1fr;
    }

    .cps-account-header{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

}

@media(max-width:600px){

    .cps-dashboard-page-header{
        padding:25px;
    }

    .cps-dashboard-page-header h1{
        font-size:28px;
    }

    .cps-card{
        padding:22px;
    }

    .cps-account-avatar{
        width:60px;
        height:60px;
        font-size:24px;
    }

}


/********Nurse Dashboard Page CSS**********/
.cps-shift-note-modal{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    overflow:auto;
}

.cps-shift-note-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}

.cps-shift-note-box{
    position:relative;
    background:#fff;
    width:100%;
    max-width:720px;
    padding:30px;
    border-radius:18px;
    z-index:2;
    max-height:90vh;
    overflow:auto;
    margin:auto;
    box-shadow:0 10px 40px rgba(0,0,0,0.15);
}

.cps-close-note{
    position:absolute;
    top:12px;
    right:18px;
    border:none;
    background:none;
    font-size:30px;
    cursor:pointer;
    line-height:1;
	background: #B78429;
}

/* Assignment */
.cps-assignment-card{
    margin-bottom:25px;
    border-radius:18px;
    overflow:hidden;
}

.cps-assignment-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
    flex-wrap:wrap;
}

.cps-assignment-left{
    display:flex;
    gap:18px;
    align-items:flex-start;
}

.cps-assignment-meta{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:8px;
}

.cps-assignment-meta span {
	background: #f4f6fb;
	padding: 6px 12px;
	border-radius: 30px;
	font-size: 13px;
	color: #173F88;
	font-weight: bold;
}

.cps-assignment-right{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
}

.cps-assignment-body{
    margin-top:25px;
    border-top:1px solid #eee;
    padding-top:25px;
}

.cps-assignment-stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
    margin-bottom:25px;
}

.cps-mini-stat{
    background:#f8f9fc;
    border:1px solid #b78429;
    border-radius:14px;
    padding:16px;
}

.cps-mini-stat label{
    display:block;
    font-size:12px;
    color:#B78429;
    margin-bottom:0px;
    text-transform:uppercase;
    font-weight:600;
}

.cps-mini-stat strong{
    color:#173f88;
    font-size:16px;
}

/* Notes scroll */
.cps-notes-scroll{
    max-height:700px;
    overflow:auto;
    padding-right:5px;
}

/* Note Card (FINAL CLEAN VERSION) */
.cps-note-card{
    border:1px solid #b78429;
    border-radius:10px;
    margin-bottom:10px;
    overflow:hidden;
    background:#fff;
}

.cps-note-card.active .cps-note-header{
    background:#e9f5ff;
}

/* Header */
.cps-note-header{
    background:#f8f9fa;
    padding:12px 15px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
    cursor:pointer;
	font-size: 14px;
	color: #193b6f;
}

/* Body */
.cps-note-body{
    padding:15px;
    border-top:1px solid #eee;
    background:#fff;
    display:flex;
    flex-direction:column;
    gap:15px;
}

/* Time */
.cps-note-time{
    margin-top:5px;
    color:#777;
    font-size:13px;
}

/* Rows */
.cps-note-row label{
    display:block;
    font-size:12px;
    color:#999;
    text-transform:uppercase;
    font-weight:600;
}

.cps-note-row p{
    margin:0;
    line-height:1.7;
    color:#333;
}

/* IMPORTANT OVERRIDE (kept latest design version) */
.cps-note-row label{
    font-size:16px;
    color:#b78429;
    text-transform:uppercase;
    font-weight:600;
}

/* Base styles for all badges */
.cps-status-badge {
	padding: 0px 12px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 700;
	text-transform: capitalize;
	white-space: nowrap;
}

/* Dynamic status variations */
.cps-status-badge.status-active {
	background-color: #d1fae5; /* Light green */
	color: #065f46;            /* Dark green text */
}

.cps-status-badge.status-inactive {
	background-color: #ffedd5; /* Light orange */
	color: #9a3412;            /* Dark orange/brown text */
}

.cps-status-badge.status-expired {
	background-color: #fee2e2; /* Light red */
	color: #991b1b;            /* Dark red text */
}

.cps-small-btn{
    padding:10px 16px;
    font-size:13px;
}

.cps-hidden-note{
    display:none;
}

/* Extra details */
.cps-extra-details-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.cps-extra-card{
    background:#f8f9fc;
    border:1px solid #b78429;
    border-radius:16px;
    padding:20px;
}

.cps-extra-card h4{
    margin:0 0 18px;
    color:#173f88;
}

.cps-extra-info{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
}

.cps-extra-info label{
    display:block;
    font-size:12px;
    color:#B78429;
    margin-bottom:0px;
    text-transform:uppercase;
    font-weight:600;
}

.cps-extra-info p{
    margin:0;
    line-height:1.6;
    color:#333;
}

.cps-full-width{
    grid-column:1/-1;
}
.cps-btn.cps-small-btn.cps-toggle-assignment,
.cps-btn.cps-small-btn.cps-open-note {
    font-size: 12px !important;
    padding: 5px 12px !important;
    margin: auto !important;
}
.cps-page-header {
    display: none;
}
button#cps-accept-terms, button#cps-reject-terms {
    background: #B78429;
    margin-top: 20px;
    padding: 6px 12px;
}
.cps-terms-content > h4 {
    margin-bottom: 6px;
    font-size: 18px;
}
.cps-field.cps-half > input,
.cps-field.cps-half > select,
.cps-field.cps-half > textarea,
.cps-field.cps-full > input,
.cps-field.cps-full > select,
.cps-field.cps-full > textarea  {
    width: 100%;
	margin-bottom:0px;
}
/* Styles automatically applied when the button is NOT active */
.cps-open-note:disabled {
    background-color: #e5e7eb; /* Light grey background */
    color: #B78429;            /* Muted grey text */
    cursor: not-allowed;       /* Changes mouse cursor to a "no" sign */
    opacity: 0.7;
}
.cps-note-row {
	background: #f7f7f780;
	padding: 5px 15px;
	margin-bottom: 5px;
	border: 1px solid #eee;
	border-radius: 5px;
}
/* Responsive */
@media(max-width:768px){

    .cps-extra-info{
        grid-template-columns:1fr;
    }

    .cps-assignment-header{
        flex-direction:column;
    }

    .cps-assignment-left,
    .cps-assignment-right{
        width:100%;
    }

    .cps-assignment-right .cps-btn{
        flex:1;
    }

    .cps-note-header{
        flex-direction:column;
    }

    .cps-shift-note-box{
        padding:20px;
    }
}