/* --- Dashboard Specific Styles --- */

body.dashboard-page { /* Optional: Use if you need specific body styles */
    background-color: var(--background-light);
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.dashboard-sidebar {
    width: 260px;
    background-color: var(--primary-green);
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    padding: 20px 15px; /* Adjusted padding */
    position: fixed; /* Keep fixed for desktop */
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1001; /* Ensure it's above other content */
    overflow-y: auto; /* Allow scrolling if content is long */
}

.sidebar-logo {
    display: block; /* Ensure it takes full width for centering */
    padding: 10px 0;
    text-align: center;
    margin-bottom: 30px;
}
.sidebar-logo img {
     height: 45px; /* Adjust as needed */
     width: auto;
}


.sidebar-nav ul {
    list-style: none;
    padding: 0; /* Remove default padding */
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 14px 15px; /* Adjusted padding */
    border-radius: 8px;
    margin-bottom: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sidebar-nav li a.active {
    color: var(--yellow); /* Highlight active link with yellow */
}

.sidebar-nav li a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* Prevent icon shrinking */
}

.sidebar-footer {
    margin-top: auto; /* Pushes footer links to the bottom */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator */
}

/* --- Main Content Area --- */
.dashboard-main {
    flex-grow: 1;
    padding: 30px;
    margin-left: 260px; /* Space for the fixed sidebar */
    width: calc(100% - 260px); /* Ensure it takes remaining width */
}

.dashboard-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color); /* Add a separator */
    padding-bottom: 20px;
}

.dashboard-header h1 {
    font-size: 1.8rem; /* Slightly smaller */
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 5px; /* Reduced margin */
}

.dashboard-header p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    /* Responsive grid: min 200px wide, max 1fr */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--white);
    padding: 20px; /* Slightly reduced padding */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Softer shadow */
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; /* Reduced margin */
}

.stat-card-header h3 {
    font-size: 0.9rem; /* Slightly smaller */
    color: var(--secondary-text);
    font-weight: 500;
}

.stat-card-value {
    font-size: 1.4rem; /* Adjusted size */
    font-weight: 600;
    color: var(--primary-green);
    /* Allow text wrapping if needed */
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* Ensure badge styling works within stat-card-value span */
.stat-card-value.status-badge {
     display: inline-block; /* Needed for padding */
     font-size: 0.9rem; /* Match other badges */
     color: var(--primary-green);   /* ADD THIS LINE - Force text color to white */
     /* Remove conflicting color from .stat-card-value inheritance */
     color: var(--primary-green) !important; /* Use !important if necessary */

}


.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green);
    display: inline-block; /* Needed for padding */
}
.status-badge.active { background-color: var(--green-light); }
.status-badge.pending { background-color: var(--orange-pending); }
/* Add more statuses: .suspended { background-color: #f44336; } etc. */


/* --- Action Panel --- */
.action-panel {
    background-color: var(--yellow);
    color: var(--primary-green);
    padding: 25px 30px; /* Adjusted padding */
    border-radius: 12px;
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: 15px; /* Space between text and button on mobile */
    align-items: flex-start; /* Align text left */
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.action-panel div { /* Text container */
     flex-grow: 1;
}

.action-panel h2 {
    font-size: 1.4rem; /* Adjusted size */
    margin: 0 0 5px 0; /* Add bottom margin */
    font-weight: 600;
}
.action-panel p {
     font-size: 0.95rem;
     margin: 0;
     opacity: 0.9;
}

.action-panel .btn-action {
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px; /* Adjusted padding */
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent button shrinking */
    align-self: flex-start; /* Align button left on mobile */
}

.action-panel .btn-action:hover {
    background-color: #14251C; /* Darker green */
    transform: translateY(-2px);
}

/* Media query for Action Panel on desktop */
@media (min-width: 768px) {
    .action-panel {
        flex-direction: row; /* Side-by-side on desktop */
        align-items: center; /* Center items vertically */
        gap: 25px;
    }
     .action-panel .btn-action {
        align-self: center; /* Reset alignment */
    }
}


/* --- Announcements Card --- */
.announcements-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.announcements-card h2 {
    font-size: 1.4rem; /* Adjusted size */
    color: var(--primary-green);
    margin-bottom: 15px; /* Reduced margin */
    padding-bottom: 10px; /* Add space below heading */
    border-bottom: 1px solid var(--border-color); /* Separator */
}

.announcement-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.announcement-item:first-of-type {
     padding-top: 0; /* Remove top padding for first item */
}
.announcement-item:last-child {
    border-bottom: none;
    padding-bottom: 0; /* Remove bottom padding for last item */
}

.announcement-item h4 {
    font-size: 1rem; /* Adjusted size */
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-text); /* Ensure dark text */
}

.announcement-item p {
    color: var(--secondary-text);
    font-size: 0.9rem;
    line-height: 1.6; /* Better readability */
    margin: 0; /* Remove default margin */
}


/* --- Dashboard Responsive Adjustments --- */
@media (max-width: 992px) { /* Tablet and Mobile */
    .dashboard-sidebar {
        position: static; /* No longer fixed */
        width: 100%;
        height: auto;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Add shadow when static */
    }
    .dashboard-wrapper {
        flex-direction: column; /* Stack sidebar and main content */
    }
    .dashboard-main {
        margin-left: 0; /* Remove margin */
        width: 100%; /* Take full width */
    }
     /* Optional: Hide sidebar logo/footer on mobile or make nav horizontal */
     /* .dashboard-sidebar .sidebar-logo, .dashboard-sidebar .sidebar-footer { display: none; } */
     /* .sidebar-nav ul { display: flex; flex-wrap: wrap; justify-content: center; } */
}

@media (max-width: 576px) { /* Small Mobile */
     .dashboard-main { padding: 20px; }
     .stats-grid { grid-template-columns: 1fr; } /* Force 1 column */
     .action-panel { padding: 20px; }
     .action-panel h2 { font-size: 1.2rem; }
     .action-panel .btn-action { width: 100%; text-align: center; } /* Full width button */
}

/* --- Sidebar Base Styles --- */
.dashboard-sidebar {
    width: 260px;
    background-color: var(--primary-green);
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    position: fixed; /* Fixed on desktop */
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1001;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out; /* Add transition for sliding */
}

/* --- Main Content Area Base Styles --- */
.dashboard-main {
    flex-grow: 1;
    padding: 30px;
    margin-left: 260px; /* Space for fixed sidebar on desktop */
    width: calc(100% - 260px);
    transition: margin-left 0.3s ease-in-out; /* Smooth transition for content shift (optional) */
}

/* --- Mobile Header --- */
.mobile-dashboard-header {
    display: none; /* Hidden on desktop */
    background-color: var(--primary-green);
    padding: 10px 20px;
    position: fixed; /* Stick to top on mobile */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002; /* Above sidebar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    align-items: center;
    justify-content: space-between;
}
.mobile-logo img {
    height: 35px; /* Smaller logo for mobile header */
    width: auto;
}

/* --- Sidebar Toggle Button (Hamburger) --- */
.sidebar-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.sidebar-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.4s;
}

/* --- Sidebar Overlay --- */
.sidebar-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1000; /* Below sidebar, above content */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* --- Body Class (Optional: Prevent scrolling when sidebar open) --- */
body.sidebar-active {
    overflow: hidden; /* Prevent body scrolling */
}


/* --- MOBILE STYLES (Breakpoint: 992px or adjust as needed) --- */
@media (max-width: 992px) {
    .dashboard-wrapper {
        /* Keep display: flex; but content stacks due to other changes */
         padding-top: 60px; /* Space for the fixed mobile header */
    }

    .mobile-dashboard-header {
        display: flex; /* Show mobile header */
    }

    .sidebar-toggle {
        display: block; /* Show toggle button */
    }

    .dashboard-sidebar {
        position: fixed; /* Make it fixed for sliding */
        top: 0;
        left: 0;
        height: 100%;
        transform: translateX(-100%); /* Hide sidebar off-screen by default */
        z-index: 1001; /* Ensure sidebar is on top */
         /* Add box-shadow for visual separation when open */
         box-shadow: 5px 0px 15px rgba(0,0,0,0.2);
    }

    .dashboard-sidebar.open {
        transform: translateX(0); /* Slide sidebar in when open */
    }

    .dashboard-main {
        margin-left: 0; /* Remove the margin */
        width: 100%;    /* Take full width */
        padding-top: 30px; /* Adjust top padding if needed below mobile header */
    }

     /* When sidebar is open on mobile, maybe dim the main content slightly (optional) */
    /* body.sidebar-active .dashboard-main { */
        /* filter: brightness(0.7); */
    /* } */
}

/* Smaller mobile adjustments if needed */
@media (max-width: 576px) {
     .dashboard-main { padding: 20px; }
     /* Adjust stat cards, etc., if needed */
}

/* --- Styles for other dashboard elements (stats, panels, etc.) --- */
/* (Keep your existing styles for .dashboard-header, .stats-grid, .stat-card, etc.) */
/* Ensure they work well within the new mobile layout */

/* --- Dashboard Content Footer (Copyright) --- */
.content-footer {
    padding: 20px 0 0 0; /* Add padding above the text */
    margin-top: 40px; /* Add margin above the text */
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary-text);
    border-top: 1px solid var(--border-color); /* Optional separator line */
}

/* Ensure footer is pushed down even if content is short */
.dashboard-main {
    display: flex; /* Use flexbox for main content */
    flex-direction: column; /* Stack content vertically */
    min-height: 100vh; /* Ensure main takes at least full viewport height */
    padding-bottom: 60px; /* Add padding at the bottom for footer space */
}
.content-footer {
     margin-top: auto; /* Push footer to the bottom */
     padding-top: 20px; /* Reset padding if needed */
     padding-bottom: 20px; /* Add space below */
}

/* Adjust padding on mobile where sidebar isn't fixed */
@media (max-width: 992px) {
    .dashboard-main {
        min-height: auto; /* Remove min-height on mobile */
        padding-bottom: 30px; /* Adjust bottom padding */
    }
     .content-footer {
        margin-top: 40px; /* Restore top margin */
     }
}

/* --- Styles for Profile Page --- */

.profile-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column mobile */
    gap: 30px;
}

.profile-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.profile-card h2 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin: 0 0 25px 0; /* Adjusted margin */
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* For cards with Edit button */
.card-header-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.card-header-action h2 {
     margin: 0; /* Remove default h2 margin */
     padding: 0;
     border: none;
}
.btn-edit, .btn-secondary-action {
    background-color: var(--background-light);
    color: var(--primary-green);
    border: 1px solid var(--border-color);
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-edit:hover, .btn-secondary-action:hover {
    background-color: var(--border-color);
}


/* Profile Info Display */
.profile-info-item {
    display: grid; /* Use grid for alignment */
    grid-template-columns: 140px 1fr; /* Label column, Value column */
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
}
.profile-info-item .label {
    font-weight: 500;
    color: var(--secondary-text);
}
.profile-info-item .value {
    font-weight: 500;
    color: var(--dark-text);
    word-break: break-word; /* Wrap long values */
}
/* Ensure badges align correctly */
.profile-info-item .value .status-badge {
     vertical-align: middle;
     margin-top: -3px; /* Fine-tune alignment */
}


/* Form Styling within Profile Cards */
.profile-card form .form-group {
    margin-bottom: 20px;
}
.profile-card form label {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 500;
}
.profile-card form input[type="text"],
.profile-card form input[type="email"],
.profile-card form input[type="tel"] {
    width: 100%;
    padding: 10px 12px; /* Slightly smaller padding */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-text);
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-light); /* Indicate readonly */
    transition: all 0.3s ease;
}

/* Style for editable state */
.profile-card form .form-group:not(.readonly) input {
     background-color: var(--white);
     border-color: var(--primary-green); /* Indicate editable */
}
.profile-card form input:focus { /* Focus style for editable fields */
     outline: none;
     border-color: var(--yellow);
     box-shadow: 0 0 0 3px rgba(255, 243, 0, 0.3);
}

.profile-card form input[readonly] {
    cursor: default;
    background-color: var(--background-light); /* Ensure readonly look */
    border-color: var(--border-color);
    box-shadow: none;
    opacity: 0.8;
}

.btn-save {
     width: auto; /* Don't take full width */
     padding: 10px 25px;
     background-color: var(--yellow);
     color: var(--primary-green);
     border: none;
     border-radius: 8px;
     font-size: 1rem;
     font-weight: 600;
     cursor: pointer;
     transition: background-color 0.3s ease, transform 0.2s ease;
     margin-top: 10px; /* Space above save button */
}
.btn-save:hover {
    background-color: #e6d900;
    transform: translateY(-2px);
}


/* --- Responsive Grid for Profile --- */
@media (min-width: 992px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
        align-items: start; /* Align cards to top */
    }
}
@media (max-width: 576px) { /* Mobile specific adjustments */
    .profile-card { padding: 20px; }
    .profile-info-item { grid-template-columns: 100px 1fr; } /* Adjust label width */
    .profile-info-item .label, .profile-info-item .value { font-size: 0.9rem; }
}

/* --- Styles Specific to Verification Page --- */
.status-display-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    text-align: center;
}
.status-display-card h2 {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 10px;
    font-weight: 500;
}
.status-display-card .status-badge {
    font-size: 1.2rem; /* Larger badge text */
    padding: 8px 20px;
}

.verification-info-card, .upload-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
 .verification-info-card h3, .upload-card h3 {
     font-size: 1.5rem;
     color: var(--primary-green);
     margin-bottom: 20px;
     padding-bottom: 15px;
     border-bottom: 1px solid var(--border-color);
 }
 .verification-info-card p, .upload-card p {
      color: var(--secondary-text);
      margin-bottom: 20px;
      line-height: 1.7;
 }
 .verification-info-card ul {
     list-style: none;
     padding-left: 0;
 }
 .verification-info-card li {
     position: relative;
     padding-left: 25px;
     margin-bottom: 10px;
     color: var(--secondary-text);
 }
.verification-info-card li::before {
    content: 'â€¢';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--yellow); /* Use yellow bullet */
    font-size: 1.4rem;
    line-height: 1; /* Align bullet better */
}
 .verification-info-card strong {
     color: var(--dark-text);
     font-weight: 600;
 }

 /* File Upload Styling */
 .upload-area {
     border: 2px dashed var(--border-color);
     border-radius: 8px;
     padding: 30px;
     text-align: center;
     background-color: var(--background-light);
     margin-bottom: 20px;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }
 .upload-area:hover {
     background-color: #e9ecef;
 }
 .upload-area svg {
     width: 40px;
     height: 40px;
     color: var(--secondary-text);
     margin-bottom: 15px;
 }
 .upload-area p {
     margin: 0;
     color: var(--secondary-text);
     font-weight: 500;
 }
 .upload-area p span { /* Smaller text below */
      display: block;
      font-size: 0.9rem;
      margin-top: 5px;
 }

 #file-input {
     display: none; /* Hide the actual file input */
 }

 #file-list p { /* Style for displaying chosen file */
      font-style: italic;
      color: var(--secondary-text);
      font-size: 0.9rem;
      margin-top: 10px;
      text-align: center;
      word-break: break-all; /* Wrap long filenames */
 }
 .btn-upload {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0 auto;
    padding: 12px 20px;
    background-color: var(--yellow);
    color: var(--primary-green);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
 }
 .btn-upload:hover {
    background-color: #e6d900;
    transform: translateY(-2px);
 }
 .btn-upload:disabled {
     background-color: #ccc;
     color: #666;
     cursor: not-allowed;
     transform: none;
     opacity: 0.7; /* Indicate disabled state */
 }

 /* Verified State Message */
 .verified-message {
     text-align: center;
     padding: 40px;
 }
 .verified-message svg {
     color: var(--green-light);
     width: 60px;
     height: 60px;
     margin-bottom: 20px;
 }
 .verified-message h3 {
      font-size: 1.6rem;
      color: var(--primary-green);
      margin-bottom: 10px;
 }
 .verified-message p {
      color: var(--secondary-text);
      font-size: 1.1rem;
      max-width: 500px;
      margin: 0 auto;
 }

 /* Ensure content footer styles are present */
 .content-footer {
    padding: 20px 0 0 0;
    margin-top: auto; /* Push to bottom */
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary-text);
    border-top: 1px solid var(--border-color);
}
.dashboard-main { /* Ensure main pushes footer down */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 60px; /* Space for footer */
}
@media (max-width: 992px) { /* Adjustments for mobile footer */
    .dashboard-main { min-height: auto; padding-bottom: 30px; }
    .content-footer { margin-top: 40px; }
}


/* --- Styles Specific to My Certificate Page --- */
.certificate-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.certificate-preview {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--background-light);
    text-align: center;
    margin-bottom: 30px;
}
.certificate-preview img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.certificate-preview .placeholder {
    height: 300px; /* Adjust height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--secondary-text);
    font-style: italic;
    border: 2px dashed var(--border-color); /* Add dashed border */
    border-radius: 8px;
}
.certificate-preview .placeholder svg {
    width: 50px; height: 50px; margin-bottom: 15px; color: var(--secondary-text);
}


.certificate-details h2 {
     font-size: 1.5rem;
     color: var(--primary-green);
     margin-bottom: 25px;
     padding-bottom: 15px;
     border-bottom: 1px solid var(--border-color);
}

/* Reusing profile info item style - Ensure it's globally available or copy here */
.profile-info-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
}
.profile-info-item .label {
    font-weight: 500;
    color: var(--secondary-text);
}
.profile-info-item .value {
    font-weight: 500;
    color: var(--dark-text);
    word-break: break-word;
}
.profile-info-item .value .status-badge { /* Ensure badge alignment */
     vertical-align: middle;
     margin-top: -3px;
}


.download-button-container {
    text-align: center;
    margin-top: 40px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: var(--yellow);
    color: var(--primary-green);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-download svg {
    width: 20px; height: 20px;
}

.btn-download:hover {
    background-color: #e6d900;
    transform: translateY(-2px);
}

/* Styling for 'Not Verified' Message */
.not-verified-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid var(--orange-pending); /* Changed border */
    background-color: #fff8f0; /* Light orange background */
}
.not-verified-card svg {
    color: var(--orange-pending);
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}
 .not-verified-card h3 {
     font-size: 1.6rem;
     color: var(--primary-green);
     margin-bottom: 15px;
 }
 .not-verified-card p {
      color: var(--secondary-text);
      font-size: 1.1rem;
      max-width: 550px;
      margin: 0 auto 25px auto;
      line-height: 1.7;
 }
 /* Ensure .btn-primary exists in style.css or define it */
 .not-verified-card .btn-primary {
     padding: 10px 25px;
     font-size: 1rem;
 }

/* --- Styles Specific to Payments Page --- */
.payment-status-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column; /* Stack on mobile */
    justify-content: space-between;
    align-items: flex-start; /* Align text left */
    gap: 20px;
    border-left: 5px solid transparent; /* Base border */
}
 /* Style variants based on status */
 .payment-status-card.status-active {
      border-left-color: var(--green-light);
 }
 .payment-status-card.status-renewal-due {
      border-left-color: var(--orange-pending);
      background-color: #fff8f0; /* Light orange hint */
 }

.status-info {
     flex-grow: 1; /* Take available space */
}
.status-info h2 {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 500;
    margin-bottom: 5px;
}
.status-info .status-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
}
.status-info .status-text.renewal-due {
    color: var(--orange-pending); /* Use orange for renewal */
}
.status-info .expiry-date {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-top: 5px;
}

.btn-renew {
    padding: 10px 25px;
    background-color: var(--yellow);
    color: var(--primary-green);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start; /* Align left on mobile */
    flex-shrink: 0; /* Prevent shrinking */
}
.btn-renew:hover {
    background-color: #e6d900;
    transform: translateY(-2px);
}


.payment-history-card {
    background-color: var(--white);
    padding: 0; /* Remove padding for table */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    overflow: hidden; /* Needed for table border radius */
}
.payment-history-card h2 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin: 0;
    padding: 25px 30px; /* Padding for heading */
    border-bottom: 1px solid var(--border-color);
}

.payment-table-wrapper {
    overflow-x: auto; /* Allow horizontal scrolling on mobile */
}

.payment-history-table {
    width: 100%;
    border-collapse: collapse; /* Clean table lines */
    min-width: 600px; /* Prevent excessive squashing */
}

.payment-history-table th,
.payment-history-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    white-space: nowrap; /* Prevent wrapping */
    vertical-align: middle; /* Align content vertically */
}
.payment-history-table th {
    background-color: var(--background-light);
    font-weight: 600;
    color: var(--secondary-text);
    font-size: 0.85rem; /* Smaller heading */
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Add spacing */
}
.payment-history-table tr:last-child td {
     border-bottom: none; /* Remove border on last row */
}

.payment-history-table td .status-badge {
    font-size: 0.8rem; /* Smaller badge in table */
    padding: 4px 10px;
    vertical-align: middle; /* Align badge */
}
.payment-history-table td a { /* Link style for invoice */
     color: var(--primary-green);
     text-decoration: none; /* Remove underline */
     font-weight: 500;
     border-bottom: 1px dashed var(--primary-green); /* Dashed underline */
     transition: color 0.3s ease, border-color 0.3s ease;
}
.payment-history-table td a:hover {
     color: var(--yellow);
     border-color: var(--yellow);
}

/* Responsive */
@media (min-width: 768px) {
    .payment-status-card {
        flex-direction: row; /* Side-by-side on desktop */
        align-items: center; /* Center vertically */
    }
     .btn-renew {
        align-self: center; /* Align center on desktop */
    }
}

/* --- Styles Specific to Resource Center Page --- */
.resource-card {
    background-color: var(--white);
    padding: 0; /* Remove padding for list structure */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    overflow: hidden; /* Ensure contained elements */
}
.resource-card h2 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin: 0;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600; /* Make heading bold */
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-item {
    display: flex;
    align-items: center; /* Vertically align items */
    gap: 20px;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}
.resource-item:last-child {
    border-bottom: none;
}
 .resource-item:hover {
    background-color: var(--background-light); /* Subtle hover */
 }

.resource-icon {
    flex-shrink: 0;
    width: 45px; /* Slightly larger icon bg */
    height: 45px;
    background-color: var(--yellow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resource-icon svg {
    width: 24px; /* Slightly larger icon */
    height: 24px;
    color: var(--primary-green);
}

.resource-details {
    flex-grow: 1; /* Take remaining space */
}
.resource-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 5px 0;
}
.resource-details p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin: 0;
    line-height: 1.5;
}

.btn-download-resource {
    flex-shrink: 0; /* Prevent button shrinking */
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 8px 18px; /* Smaller button */
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none; /* If using <a> */
    transition: all 0.3s ease;
    display: inline-flex; /* Align icon and text */
    align-items: center;
    gap: 8px;
}
 .btn-download-resource svg {
    width: 16px; height: 16px;
 }

.btn-download-resource:hover {
    background-color: #14251C; /* Darker green */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

 /* Responsive adjustments for resource items */
 @media (max-width: 576px) {
     .resource-card h2 { padding: 20px; font-size: 1.3rem;} /* Adjust header padding/size */
     .resource-item {
         flex-direction: column; /* Stack vertically */
         align-items: flex-start; /* Align left */
         gap: 15px;
         padding: 20px; /* Adjust padding */
     }
     .resource-details h4 {
         font-size: 1rem;
     }
     .btn-download-resource {
          align-self: flex-start; /* Align button left */
          margin-top: 10px;
     }
 }

/* --- Styles Specific to Help & Support Page --- */
.help-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout */
    gap: 30px;
}

.help-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.help-card h2 {
     font-size: 1.5rem;
     color: var(--primary-green);
     margin: 0 0 20px 0; /* Adjusted margin */
     padding-bottom: 15px;
     border-bottom: 1px solid var(--border-color);
     font-weight: 600; /* Bolder heading */
}
.help-card p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 20px;
}
.help-card .btn-link {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: none;
     border: none;
     color: var(--primary-green);
     font-weight: 600;
     font-size: 1rem;
     cursor: pointer;
     text-decoration: none;
     padding: 0;
     transition: color 0.3s ease;
}
 .help-card .btn-link svg {
    width: 18px; height: 18px; transition: transform 0.3s ease;
 }
 .help-card .btn-link:hover {
     color: var(--yellow);
 }
 .help-card .btn-link:hover svg {
     transform: translateX(3px); /* Slight arrow movement on hover */
 }

/* Contact Info Items */
.contact-info-item {
    display: flex;
    align-items: center; /* Center align items */
    gap: 20px;
    margin-bottom: 25px; /* Increased spacing */
}
.contact-info-icon {
    flex-shrink: 0;
    width: 45px; height: 45px;
    background-color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info-icon svg {
    width: 22px; height: 22px; color: var(--primary-green);
}
.contact-info-text h3 {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin: 0 0 3px 0;
    font-weight: 600;
}
.contact-info-text p, .contact-info-text a {
    font-size: 1rem;
    color: var(--secondary-text);
    text-decoration: none;
    line-height: 1.6;
    margin: 0;
}
 .contact-info-text a {
     font-weight: 500; /* Make links slightly bolder */
     transition: color 0.3s ease;
 }
 .contact-info-text a:hover { color: var(--primary-green); }


/* Support Form Styling */
.support-form .form-group { margin-bottom: 20px; }
.support-form label {
    display: block; font-size: 0.9rem; color: var(--dark-text);
    margin-bottom: 8px; font-weight: 500;
}
.support-form input, .support-form select, .support-form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border-color);
    border-radius: 8px; font-size: 1rem; color: var(--dark-text);
    font-family: 'Poppins', sans-serif; transition: all 0.3s ease;
}
.support-form textarea { min-height: 120px; resize: vertical; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus {
    outline: none; border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 243, 0, 0.3);
}
.btn-submit-ticket {
    display: inline-block; padding: 12px 30px; background-color: var(--yellow);
    color: var(--primary-green); border: none; border-radius: 8px;
    font-size: 1rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s ease; margin-top: 10px;
}
.btn-submit-ticket:hover { background-color: #e6d900; transform: translateY(-2px); }

/* Ensure content footer styles are applied */
/* (Copy .content-footer styles from previous responses if not already globally defined) */