/* Remove default browser spacing */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
s
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Navigation Bar */

.navbar {
    background-color: #006B3C;
    color: white;
    padding: 15px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */

.logo h2 {
    font-size: 28px;
}

/* Navigation links */

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.nav-links li a:hover {
    color: gold;
}

/* Footer */

.footer {
    background-color: #006B3C;
    color: white;
    text-align: center;
    padding: 20px;
}

/* =========================================
   HOMEPAGE
   ========================================= */

/* Hero Section */

.hero {
    min-height: 500px;
    background: linear-gradient(
        rgba(0, 107, 60, 0.88),
        rgba(0, 107, 60, 0.88)
    );

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 60px 20px;

    color: white;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 21px;
    margin-bottom: 35px;
}


/* Hero Buttons */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background-color: white;
    color: #006B3C;
}

.btn-primary:hover {
    background-color: #f1f1f1;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #006B3C;
}


/* Welcome Section */

.welcome-section {
    background-color: white;
    padding: 70px 20px;
    text-align: center;
}

.section-content {
    max-width: 1100px;
    margin: auto;
}

.welcome-section h2,
.quick-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #006B3C;
}

.welcome-section p {
    max-width: 850px;
    margin: auto;
    line-height: 1.8;
    font-size: 17px;
    color: #555;
}


/* Quick Access */

.quick-section {
    padding: 70px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.quick-card {
    background-color: white;
    padding: 35px 25px;
    border-radius: 8px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-5px);
}

.quick-card h3 {
    color: #006B3C;
    margin-bottom: 15px;
    font-size: 22px;
}

.quick-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.quick-card a {
    color: #006B3C;
    text-decoration: none;
    font-weight: bold;
}

.quick-card a:hover {
    text-decoration: underline;
}

/* =========================================
   HOMEPAGE STYLES
   ========================================= */

/* Hero Section */

.hero {
    min-height: 500px;
    background: linear-gradient(
        rgba(0, 107, 60, 0.90),
        rgba(0, 107, 60, 0.90)
    );

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 60px 20px;

    color: white;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
}


/* Hero Buttons */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary {
    background-color: white;
    color: #006B3C;
}

.btn-primary:hover {
    background-color: #f1f1f1;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #006B3C;
}


/* Welcome Section */

.welcome-section {
    background-color: white;
    padding: 70px 20px;
    text-align: center;
}

.section-content {
    max-width: 1100px;
    margin: auto;
}

.welcome-section h2,
.quick-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #006B3C;
}

.welcome-section p {
    max-width: 850px;
    margin: auto;
    line-height: 1.8;
    font-size: 17px;
    color: #555;
}


/* Quick Access Section */

.quick-section {
    padding: 70px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.quick-card {
    background-color: white;
    padding: 35px 25px;
    border-radius: 8px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-5px);
}

.quick-card h3 {
    color: #006B3C;
    margin-bottom: 15px;
    font-size: 22px;
}

.quick-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.quick-card a {
    color: #006B3C;
    text-decoration: none;
    font-weight: bold;
}

.quick-card a:hover {
    text-decoration: underline;
}

/* =========================================
   ABOUT PAGE
   ========================================= */

/* Page Header */

.page-header {
    background-color: #006B3C;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-header-content {
    max-width: 900px;
    margin: auto;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
}


/* About Section */

.about-section {
    background-color: white;
    padding: 70px 20px;
}

.about-section .section-content {
    max-width: 900px;
}

.about-section h2 {
    color: #006B3C;
    font-size: 32px;
    margin-bottom: 20px;
}

.about-section p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* Vision and Mission */

.vision-mission-section {
    background-color: #f5f5f5;
    padding: 70px 20px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background-color: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.info-card h2 {
    color: #006B3C;
    margin-bottom: 15px;
}

.info-card p {
    color: #555;
    line-height: 1.8;
}


/* Objectives */

.objectives-section {
    background-color: white;
    padding: 70px 20px;
}

.objectives-section h2 {
    color: #006B3C;
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.objectives-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.objective-item {
    padding: 25px;
    border-left: 4px solid #006B3C;
    background-color: #f5f5f5;
}

.objective-item h3 {
    color: #006B3C;
    margin-bottom: 10px;
}

.objective-item p {
    color: #555;
    line-height: 1.7;
}


/* NACC Ondo State */

.state-section {
    background-color: #f5f5f5;
    padding: 70px 20px;
    text-align: center;
}

.state-section .section-content {
    max-width: 850px;
}

.state-section h2 {
    color: #006B3C;
    font-size: 32px;
    margin-bottom: 20px;
}

.state-section p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================
   REGISTRATION PAGE
   ========================================= */

/* Registration Section */

.registration-section {
    background-color: #f5f5f5;
    padding: 60px 20px;
}

.registration-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 45px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.registration-container > h2 {
    text-align: center;
    color: #006B3C;
    font-size: 32px;
    margin-bottom: 10px;
}

.form-introduction {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}


/* Form Sections */

.form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section > h3 {
    color: #006B3C;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #006B3C;
}


/* Form Rows */

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}


/* Form Groups */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}


/* Inputs */

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    background-color: white;
    box-sizing: border-box;
}


/* Textarea */

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}


/* Input Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006B3C;
    box-shadow: 0 0 0 2px rgba(0, 107, 60, 0.10);
}


/* Readonly State Chapter */

#state_chapter {
    background-color: #f0f0f0;
    color: #555;
    cursor: not-allowed;
}


/* File Upload */

.form-group input[type="file"] {
    padding: 10px;
}

.form-group small {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 13px;
}


/* Questions */

.questions-title {
    text-align: center;
    text-transform: uppercase;
}

.question-group {
    padding: 18px;
    margin-bottom: 15px;
    background-color: #f8faf9;
    border-left: 4px solid #006B3C;
    border-radius: 4px;
}

.question-group p {
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.question-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 30px;
    color: #555;
    cursor: pointer;
}

.question-group input[type="radio"] {
    margin-right: 7px;
    accent-color: #006B3C;
}


/* Conditional Fields */

.conditional-field {
    margin-top: 15px;
    padding: 20px;
    background-color: #f5f8f6;
    border-radius: 5px;
}


/* Redeployment Note */

.redeployment-note {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff8e1;
    border-left: 4px solid #c49a00;
    color: #555;
    line-height: 1.6;
}


/* Declaration */

.declaration {
    background-color: #f8faf9;
    padding: 20px;
    border-radius: 5px;
    border-bottom: none;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 5px;
    accent-color: #006B3C;
}


/* Submit Button */

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button {
    background-color: #006B3C;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.form-submit button:hover {
    background-color: #00512d;
}


/* =========================================
   REGISTRATION MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 768px) {

    .registration-section {
        padding: 35px 15px;
    }

    .registration-container {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .registration-container > h2 {
        font-size: 26px;
    }

    .form-section > h3 {
        font-size: 20px;
    }

    .question-group label {
        margin-right: 20px;
    }

}

/* =========================================
   REGISTRATION MESSAGES
   ========================================= */

.registration-message {
    max-width: 1000px;
    margin: 15px auto;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

/* Successful registration */

.registration-message.success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #81c784;
}

/* Registration error */

.registration-message.error {
    background-color: #ffebee;
    color: #b71c1c;
    border: 1px solid #e57373;
}

/* =========================================
   ADMIN LOGIN
   ========================================= */

.admin-login-section {
    padding: 60px 20px;
    background-color: #f5f5f5;
    min-height: 450px;
}

.admin-login-box {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-login-box h2 {
    text-align: center;
    color: #006B3C;
    margin-bottom: 30px;
}

.admin-login-box .form-group {
    margin-bottom: 20px;
}

.admin-login-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.admin-login-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.admin-login-box input:focus {
    border-color: #006B3C;
    outline: none;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #006B3C;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #00552f;
}

/* =========================================
   ADMIN DASHBOARD
   ========================================= */

.admin-dashboard {
    padding: 50px 20px;
    background-color: #f5f5f5;
    min-height: 500px;
}

.dashboard-welcome {
    max-width: 1100px;
    margin: 0 auto 30px;
    text-align: center;
}

.dashboard-welcome h2 {
    color: #006B3C;
    margin-bottom: 10px;
}

.dashboard-welcome p {
    color: #555;
}

/* Total members card */

.dashboard-card {
    max-width: 350px;
    margin: 0 auto 30px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    color: #006B3C;
    margin-bottom: 15px;
}

.member-count {
    font-size: 42px;
    font-weight: bold;
    color: #006B3C;
}

/* Dashboard buttons */

.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.dashboard-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #006B3C;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.dashboard-button:hover {
    background-color: #00552f;
}

.logout-button {
    background-color: #b71c1c;
}

.logout-button:hover {
    background-color: #8e0000;
}

/* Recent registrations */

.recent-members {
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recent-members h2 {
    color: #006B3C;
    margin-bottom: 20px;
    text-align: center;
}

/* Table */

.table-container {
    overflow-x: auto;
}

.recent-members table {
    width: 100%;
    border-collapse: collapse;
}

.recent-members th,
.recent-members td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.recent-members th {
    background-color: #006B3C;
    color: white;
}

.recent-members tr:nth-child(even) {
    background-color: #f5f5f5;
}

/* =========================================
   ADMIN MEMBERS PAGE
========================================= */

.page-hero {
    background-color: #006B3C;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
}

.content-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading h2 {
    color: #006B3C;
    font-size: 30px;
    margin-bottom: 10px;
}

.section-heading p {
    color: #555;
}

.table-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.members-table th {
    background-color: #006B3C;
    color: white;
    padding: 14px;
    text-align: left;
}

.members-table td {
    padding: 14px;
    border-bottom: 1px solid #ddd;
}

.members-table tr:hover {
    background-color: #f1f8f4;
}

.members-table tr:last-child td {
    border-bottom: none;
}

/* =========================================
   MEMBER DETAILS PAGE
========================================= */

.member-details-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.member-details-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.details-heading {
    text-align: center;
    margin-bottom: 40px;
}

.details-heading h2 {
    color: #006B3C;
    font-size: 32px;
    margin-bottom: 8px;
}

.details-heading p {
    color: #666;
}

.details-section {
    margin-bottom: 35px;
}

.details-section h3 {
    color: #006B3C;
    font-size: 22px;
    border-bottom: 2px solid #006B3C;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.detail-item {
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 15px;
}

.detail-item strong {
    display: block;
    color: #006B3C;
    margin-bottom: 6px;
}

.detail-item span {
    color: #444;
}

.full-detail {
    background-color: #f7f7f7;
    padding: 18px;
    border-radius: 6px;
    line-height: 1.7;
}

.passport-section {
    text-align: center;
}

.member-passport {
    width: 160px;
    height: 190px;
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid #006B3C;
}

.details-actions {
    text-align: center;
    margin-top: 40px;
}

.back-btn {
    display: inline-block;
    background-color: #006B3C;
    color: white;
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 5px;
    font-weight: bold;
}

.back-btn:hover {
    background-color: #00512d;
}

.view-btn {
    display: inline-block;
    background-color: #006B3C;
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.view-btn:hover {
    background-color: #00512d;
}

@media (max-width: 700px) {

    .details-grid {
        grid-template-columns: 1fr;
    }

    .member-details-card {
        padding: 20px;
    }

    .details-heading h2 {
        font-size: 26px;
    }

}

/* =========================================
   APPROVAL BUTTON
========================================= */

.approve-form {
    display: inline-block;
    margin-right: 10px;
}

.approve-btn {
    background-color: #006B3C;
    color: white;
    border: none;
    padding: 13px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
}

.approve-btn:hover {
    background-color: #00512d;
}

.approved-message {
    display: inline-block;
    background-color: #e8f5e9;
    color: #006B3C;
    border: 1px solid #006B3C;
    padding: 13px 25px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 10px;
}

/* =========================================
   MEMBER SEARCH
========================================= */

.member-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 25px;
}

.member-search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}

.member-search-form input:focus {
    outline: none;
    border-color: #006B3C;
    box-shadow: 0 0 0 2px rgba(0, 107, 60, 0.1);
}

.member-search-form button {
    padding: 12px 22px;
    background-color: #006B3C;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.member-search-form button:hover {
    background-color: #00552f;
}

.clear-search {
    padding: 12px 18px;
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
}

.clear-search:hover {
    background-color: #b02a37;
}

/* =========================================
   REGISTRATION ACTION BUTTONS
========================================= */

.details-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
}

.approve-form,
.reject-form {
    margin: 0;
}

.approve-btn,
.reject-btn {
    min-width: 205px;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.approve-btn {
    background-color: #006B3C;
}

.approve-btn:hover {
    background-color: #00552f;
}

.reject-btn {
    background-color: #dc3545;
}

.reject-btn:hover {
    background-color: #b02a37;
}

.approved-message,
.rejected-message {
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
}

.approved-message {
    color: #006B3C;
    background-color: #e8f5e9;
    border: 1px solid #006B3C;
}

.rejected-message {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #dc3545;
}

.back-btn {
    min-width: 205px;
    padding: 12px 22px;
    background-color: #006B3C;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.back-btn:hover {
    background-color: #00552f;
}

.status-rejected {
    display: inline-block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #dc3545;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* =========================================
   DASHBOARD STATISTICS
========================================= */

.dashboard-stats {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dashboard-stats .dashboard-card {
    background-color: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.dashboard-stats .dashboard-card h3 {
    margin-bottom: 15px;
    color: #006B3C;
    font-size: 18px;
}

.dashboard-stats .member-count {
    font-size: 38px;
    font-weight: bold;
    color: #006B3C;
}

.dashboard-stats .pending-card {
    border-top: 5px solid #ffc107;
}

.dashboard-stats .pending-card h3,
.dashboard-stats .pending-card .member-count {
    color: #856404;
}

.dashboard-stats .approved-card {
    border-top: 5px solid #198754;
}

.dashboard-stats .approved-card h3,
.dashboard-stats .approved-card .member-count {
    color: #198754;
}

.dashboard-stats .rejected-card {
    border-top: 5px solid #dc3545;
}

.dashboard-stats .rejected-card h3,
.dashboard-stats .rejected-card .member-count {
    color: #dc3545;
}

@media (max-width: 900px) {

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

}

/* ==============================
   Rejection Form
   ============================== */

.reject-form {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #f0b5b5;
    border-radius: 8px;
    background: #fff7f7;
}

.reject-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #8b0000;
}

.reject-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.reject-form textarea:focus {
    outline: none;
    border-color: #c62828;
}

.reject-btn {
    background: #c62828;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.reject-btn:hover {
    background: #a51f1f;
}

.rejected-message {
    background: #fdeaea;
    color: #b71c1c;
    border: 1px solid #e57373;
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: bold;
}

.rejection-reason {
    background: #fff7f7;
    border-left: 4px solid #c62828;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.rejection-reason strong {
    color: #8b0000;
}

.rejection-reason p {
    margin-top: 8px;
    line-height: 1.6;
}

/* ==========================================
   NACC MEMBERSHIP ID CARD
   ========================================== */

.id-card-page {
    min-height: 100vh;
    padding: 50px 20px;
    background: #f5f5f5;
    text-align: center;
}

.nacc-id-card {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid #006b3c;
}

.id-card-header {
    background: #006b3c;
    color: #ffffff;
    padding: 20px 25px;
}

.id-card-header h1 {
    margin: 0;
    font-size: 32px;
    letter-spacing: 2px;
}

.id-card-header h2 {
    margin: 8px 0 5px;
    font-size: 18px;
}

.id-card-header p {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
}

.id-card-body {
    display: flex;
    gap: 25px;
    padding: 30px;
    text-align: left;
}

.id-card-photo {
    width: 150px;
    min-width: 150px;
    height: 180px;
    border: 3px solid #006b3c;
    border-radius: 8px;
    overflow: hidden;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.id-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    color: #777777;
    font-weight: bold;
    text-align: center;
}

.id-card-information {
    flex: 1;
}

.id-field {
    margin-bottom: 14px;
}

.id-field strong {
    display: block;
    color: #006b3c;
    font-size: 13px;
    margin-bottom: 3px;
}

.id-field span {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #222222;
    word-break: break-word;
}

.id-card-footer {
    background: #f1f8f4;
    border-top: 1px solid #d5e8dc;
    padding: 15px 20px;
}

.id-card-footer p {
    margin: 0 0 6px;
    color: #006b3c;
    font-weight: bold;
}

.id-card-footer small {
    color: #555555;
}

.id-card-actions {
    margin-top: 25px;
}

.print-id-btn {
    background: #006b3c;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
}

.print-id-btn:hover {
    background: #00552f;
}

.id-card-actions .back-btn {
    display: inline-block;
    text-decoration: none;
}


/* ==========================================
   ID CARD PRINT SETTINGS
   ========================================== */

@media print {

    body {
        background: #ffffff;
    }

    .id-card-page {
        padding: 0;
        background: #ffffff;
    }

    .nacc-id-card {
        box-shadow: none;
        margin: 0 auto;
    }

    .id-card-actions {
        display: none;
    }

}

/* =========================================================
   NACC CERTIFICATE
   ========================================================= */

.certificate-page {
    min-height: 100vh;
    padding: 40px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.nacc-certificate {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.certificate-border {
    border: 8px double #006B3C;
    padding: 30px 45px;
    position: relative;
}

.certificate-header {
    text-align: center;
    border-bottom: 2px solid #006B3C;
    padding-bottom: 18px;
}

.certificate-header h1 {
    color: #006B3C;
    font-size: 42px;
    letter-spacing: 5px;
    margin-bottom: 5px;
}

.certificate-header h2 {
    color: #222;
    font-size: 24px;
    margin-bottom: 5px;
}

.certificate-header p {
    color: #006B3C;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 2px;
}

.certificate-content {
    padding: 35px 20px 20px;
    text-align: center;
}

.certificate-title {
    color: #006B3C;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.certificate-introduction {
    font-size: 18px;
    margin-bottom: 8px;
}

.certificate-name {
    display: inline-block;
    color: #006B3C;
    font-size: 32px;
    border-bottom: 2px solid #006B3C;
    padding: 0 30px 8px;
    margin-bottom: 25px;
}

.certificate-statement {
    max-width: 750px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.8;
}

.certificate-details {
    max-width: 750px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    text-align: left;
}

.certificate-details > div {
    padding: 12px 15px;
    border: 1px solid #d5e8dc;
    background-color: #f5faf7;
    border-radius: 5px;
}

.certificate-details strong {
    display: block;
    color: #006B3C;
    font-size: 13px;
    margin-bottom: 4px;
}

.certificate-details span {
    font-size: 15px;
    font-weight: bold;
}

.certificate-motto {
    margin-top: 30px;
    color: #006B3C;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
}

.certificate-footer {
    display: flex;
    justify-content: space-around;
    gap: 80px;
    margin-top: 25px;
    padding-top: 20px;
}

.signature,
.issue-date {
    min-width: 220px;
    text-align: center;
}

.signature-line {
    width: 220px;
    border-top: 1px solid #333;
    margin: 0 auto 8px;
}

.signature strong,
.issue-date strong {
    display: block;
    font-size: 14px;
}

.signature span,
.issue-date span {
    display: block;
    font-size: 13px;
    color: #555;
}

.certificate-actions {
    margin-top: 25px;
    text-align: center;
}

.print-certificate-btn {
    background-color: #006B3C;
    color: white;
    border: none;
    padding: 13px 25px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
}

.print-certificate-btn:hover {
    background-color: #00552f;
}


/* =========================================================
   CERTIFICATE RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 900px) {

    .certificate-border {
        padding: 25px;
    }

    .certificate-header h2 {
        font-size: 20px;
    }

    .certificate-details {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .certificate-page {
        padding: 15px;
    }

    .certificate-border {
        padding: 20px 15px;
        border-width: 5px;
    }

    .certificate-header h1 {
        font-size: 32px;
    }

    .certificate-header h2 {
        font-size: 17px;
    }

    .certificate-title {
        font-size: 23px;
    }

    .certificate-name {
        font-size: 24px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .certificate-footer {
        flex-direction: column;
        gap: 30px;
    }
}


/* =========================================================
   NACC CERTIFICATE — OFFICIAL DESIGN
   ========================================================= */

.certificate-page {
    min-height: 100vh;
    padding: 35px 20px;
    background:
        linear-gradient(
            135deg,
            #f4f7f4 0%,
            #ffffff 50%,
            #f4f7f4 100%
        );
    text-align: center;
}


/* Main certificate */

.nacc-certificate {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
}


/* Decorative outer border */

.certificate-border {
    position: relative;
    border: 3px solid #006B3C;
    padding: 12px;
    background: #ffffff;
}


/* Inner decorative border */

.certificate-border::before {
    content: "";
    display: block;
    position: absolute;
    inset: 8px;
    border: 1px solid #c9a227;
    pointer-events: none;
}


/* Header */

.certificate-header {
    position: relative;
    text-align: center;
    padding: 25px 30px 20px;
    border-bottom: 2px solid #c9a227;
}

.certificate-header h1 {
    color: #006B3C;
    font-size: 46px;
    letter-spacing: 7px;
    margin-bottom: 5px;
    font-weight: 800;
}

.certificate-header h2 {
    color: #222222;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

.certificate-header p {
    color: #c9a227;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
}


/* Certificate content */

.certificate-content {
    position: relative;
    padding: 30px 50px 20px;
    text-align: center;
}


/* Main title */

.certificate-title {
    color: #006B3C;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.certificate-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: #c9a227;
    margin: 12px auto 0;
}


/* Introduction */

.certificate-introduction {
    font-size: 18px;
    color: #555555;
    margin-bottom: 8px;
}


/* Member name */

.certificate-name {
    display: inline-block;
    color: #222222;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: bold;
    padding: 0 45px 8px;
    margin-bottom: 18px;
    border-bottom: 2px solid #c9a227;
}


/* Statement */

.certificate-statement {
    max-width: 800px;
    margin: 0 auto 25px;
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
}

.certificate-statement strong {
    color: #006B3C;
}


/* Certificate details */

.certificate-details {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
}

.certificate-details > div {
    padding: 11px 16px;
    border-left: 4px solid #006B3C;
    background: #f7faf8;
}

.certificate-details strong {
    display: block;
    color: #006B3C;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.certificate-details span {
    font-size: 14px;
    font-weight: bold;
    color: #222222;
}


/* Motto */

.certificate-motto {
    margin-top: 22px;
    color: #006B3C;
    font-size: 17px;
    font-weight: bold;
    font-style: italic;
}


/* Signature area */

.certificate-footer {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    align-items: end;
    gap: 30px;
    margin-top: 25px;
    padding: 25px 45px 20px;
    border-top: 1px solid #d8d8d8;
}

.certificate-signature {
    text-align: center;
}

.signature-line {
    width: 190px;
    border-top: 1px solid #222222;
    margin: 0 auto 8px;
}

.certificate-signature strong {
    display: block;
    color: #006B3C;
    font-size: 14px;
    text-transform: uppercase;
}

.certificate-signature span {
    display: block;
    color: #555555;
    font-size: 12px;
    margin-top: 3px;
}


/* Date */

.certificate-date {
    text-align: center;
    padding-bottom: 4px;
}

.certificate-date strong {
    display: block;
    color: #006B3C;
    font-size: 12px;
    text-transform: uppercase;
}

.certificate-date span {
    display: block;
    color: #333333;
    font-size: 13px;
    margin-top: 4px;
}


/* Action buttons */

.certificate-actions {
    margin-top: 25px;
    text-align: center;
}

.print-certificate-btn {
    background: #006B3C;
    color: white;
    border: none;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
}

.print-certificate-btn:hover {
    background: #00552f;
}


/* =========================================================
   CERTIFICATE RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .certificate-content {
        padding: 25px 25px 15px;
    }

    .certificate-name {
        font-size: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .certificate-details {
        grid-template-columns: 1fr;
    }

    .certificate-footer {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


/* =========================================================
   CERTIFICATE PRINT
   ========================================================= */

@media print {

    @page {
        size: A4 landscape;
        margin: 0;
    }

    body {
        background: #ffffff;
    }

    .certificate-page {
        min-height: auto;
        padding: 0;
        background: #ffffff;
    }

    .nacc-certificate {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 8mm;
        box-shadow: none;
    }

    .certificate-border {
        min-height: calc(100vh - 16mm);
    }

    .certificate-actions {
        display: none;
    }

}

/* =========================================================
   NACC MEMBERSHIP VERIFICATION
   ========================================================= */

.verification-section {
    padding: 60px 20px;
    background: #f7f9f8;
    min-height: 500px;
}

.verification-card {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    border-top: 5px solid #006B3C;
}

.verification-heading {
    text-align: center;
    margin-bottom: 35px;
}

.verification-heading h2 {
    color: #006B3C;
    font-size: 30px;
    margin-bottom: 10px;
}

.verification-heading p {
    color: #555;
    font-size: 16px;
}


/* Verification form */

.verification-form {
    max-width: 650px;
    margin: 0 auto;
}

.verification-form label {
    display: block;
    color: #006B3C;
    font-weight: bold;
    margin-bottom: 8px;
}

.verification-form input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.verification-form input:focus {
    outline: none;
    border-color: #006B3C;
    box-shadow: 0 0 0 2px rgba(0, 107, 60, 0.10);
}

.verification-form button {
    width: 100%;
    padding: 14px;
    background: #006B3C;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.verification-form button:hover {
    background: #00552f;
}


/* Error message */

.verification-message {
    max-width: 650px;
    margin: 25px auto 0;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

.verification-message.error {
    background: #fff0f0;
    color: #b00020;
    border: 1px solid #e0a0a0;
}


/* Successful verification */

.verification-result {
    margin: 35px auto 25px;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
}

.verification-result.approved {
    background: #eef9f2;
    border: 1px solid #9bd1ad;
}

.verification-result.not-approved {
    background: #fff7e6;
    border: 1px solid #e2c078;
}

.verification-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
}

.approved .verification-icon {
    background: #006B3C;
    color: #ffffff;
}

.not-approved .verification-icon {
    background: #c28a00;
    color: #ffffff;
}

.verification-result h2 {
    margin-bottom: 8px;
    color: #006B3C;
}

.not-approved h2 {
    color: #9a6b00;
}

.verification-result p {
    color: #555;
}


/* Member information */

.verified-member-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.verified-detail {
    padding: 16px;
    background: #f7faf8;
    border-left: 4px solid #006B3C;
    border-radius: 4px;
}

.verified-detail strong {
    display: block;
    color: #006B3C;
    font-size: 13px;
    margin-bottom: 6px;
}

.verified-detail span {
    display: block;
    color: #222;
    font-weight: 600;
    font-size: 15px;
}

.verified-detail .verified-status {
    color: #006B3C;
    font-weight: bold;
}


/* Verification footer */

.verification-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.verification-footer p {
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
}

.verification-footer strong {
    color: #006B3C;
    font-style: italic;
}


/* Mobile */

@media (max-width: 700px) {

    .verification-section {
        padding: 35px 15px;
    }

    .verification-card {
        padding: 30px 20px;
    }

    .verification-heading h2 {
        font-size: 25px;
    }

    .verified-member-details {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   DASHBOARD CLICKABLE STAT CARDS
   ========================================================= */

.dashboard-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.dashboard-card-link h3 {
    margin-bottom: 10px;
}

.card-link-text {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: bold;
    color: #006B3C;
}

.pending-card .card-link-text {
    color: #b88600;
}

.approved-card .card-link-text {
    color: #006B3C;
}

.rejected-card .card-link-text {
    color: #c62828;
}

/* Export Members Button */

.export-button {
    background: #006B3C;
    color: #ffffff;
}

.export-button:hover {
    background: #00552f;
}

/* =========================================================
   EDIT MEMBER BUTTON
   ========================================================= */

.edit-btn {
    display: inline-block;
    min-width: 205px;
    padding: 12px 22px;
    background-color: #006B3C;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    transition: 0.2s ease;
}

.edit-btn:hover {
    background-color: #00552f;
    transform: translateY(-2px);
}

/* =========================================================
   EDIT MEMBER - PASSPORT PHOTOGRAPH
   ========================================================= */

.current-passport {
    margin-top: 15px;
    margin-bottom: 20px;
}

.edit-member-passport {
    width: 140px;
    height: 170px;
    object-fit: cover;
    display: block;
    border: 3px solid #007a45;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.current-passport p {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.passport-upload {
    margin-top: 15px;
}

.passport-upload label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #006b3c;
}

.passport-upload input[type="file"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}

.passport-upload small {
    display: block;
    margin-top: 6px;
    color: #666;
}

/* =========================================================
   ADMIN DASHBOARD - TABLE ACTION BUTTON
   ========================================================= */

.table-action-btn {
    display: inline-block;
    padding: 7px 14px;
    background: #007a45;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.table-action-btn:hover {
    background: #005c34;
    color: #ffffff;
}

/* =========================================================
   ADMIN DASHBOARD - STATUS BADGES
   ========================================================= */

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-approved {
    background: #e7f7ee;
    color: #087a45;
}

.status-pending {
    background: #fff6df;
    color: #9a6b00;
}

.status-rejected {
    background: #fdeaea;
    color: #c62828;
}

/* =========================================================
   REGISTERED MEMBERS - ACTION BUTTONS
   ========================================================= */

.member-table-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
}

.member-edit-btn {
    display: inline-block;
    padding: 7px 13px;
    background: #006b3c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s ease;
}

.member-edit-btn:hover {
    background: #004f2d;
    color: #ffffff;
}

/* =========================================================
   ADMIN NAVIGATION
   ========================================================= */

.admin-navigation {
    width: 100%;
    background: #006b3c;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-navigation-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex-wrap: wrap;
}

.admin-nav-title {
    color: #ffffff;
    font-weight: 700;
    margin-right: 12px;
}

.admin-navigation-inner a {
    color: #ffffff;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.admin-navigation-inner a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* =========================================================
   ADMIN DASHBOARD - PENDING REGISTRATION ALERT
   ========================================================= */

.pending-alert {
    width: 100%;
    box-sizing: border-box;
    margin: 25px 0;
    padding: 20px 24px;
    background: #fff8e6;
    border: 1px solid #f0d98a;
    border-left: 5px solid #d39e00;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pending-alert-content h3 {
    margin: 0 0 6px;
    color: #856404;
}

.pending-alert-content p {
    margin: 0;
    color: #66520a;
}

.pending-alert-button {
    display: inline-block;
    padding: 10px 16px;
    background: #007a45;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
}

.pending-alert-button:hover {
    background: #005c34;
    color: #ffffff;
}

.pending-alert-clear {
    background: #eef9f3;
    border-color: #b9dfca;
    border-left-color: #007a45;
}

.pending-alert-clear .pending-alert-content h3 {
    color: #007a45;
}

.pending-alert-clear .pending-alert-content p {
    color: #3f6651;
}

/* =========================================================
   ADMIN DASHBOARD - RECENT ACTIVITY
   ========================================================= */

.recent-activity {
    margin-top: 35px;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.recent-activity .section-heading {
    margin-bottom: 20px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fafafa;
}

.activity-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #007a45;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 700;
    color: #006b3c;
    margin-bottom: 3px;
}

.activity-description {
    color: #555555;
    font-size: 14px;
}

.activity-date {
    margin-top: 5px;
    color: #888888;
    font-size: 12px;
}

.activity-view-btn {
    display: inline-block;
    padding: 7px 12px;
    background: #006b3c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.activity-view-btn:hover {
    background: #00532f;
    color: #ffffff;
}

.no-activity {
    color: #777777;
    padding: 10px 0;
}

/* =========================================================
   MEMBER DETAILS - ID CARD BUTTON
   ========================================================= */

.id-card-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #8b6f00;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin: 4px;
    transition: 0.2s ease;
}

.id-card-btn:hover {
    background: #6f5900;
    color: #ffffff;
}

/* =========================================================
   MEMBERS PAGE - STATISTICS
   ========================================================= */

.member-page-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.member-stat-card {
    display: block;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

.member-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
}

.member-stat-card .stat-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.member-stat-card strong {
    display: block;
    font-size: 30px;
    color: #006b3c;
}

.pending-stat strong {
    color: #b88600;
}

.approved-stat strong {
    color: #007a45;
}

.rejected-stat strong {
    color: #b02a37;
}


@media (max-width: 800px) {

    .member-page-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 500px) {

    .member-page-stats {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   MEMBERS PAGE - PAGINATION
   ========================================================= */

.members-results-info {
    margin: 18px 0;
    font-size: 14px;
    color: #666666;
}

.members-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn,
.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #006b3c;
    box-sizing: border-box;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: #006b3c;
    color: #ffffff;
    border-color: #006b3c;
}

.pagination-number.active {
    background: #006b3c;
    color: #ffffff;
    border-color: #006b3c;
}

.pagination-dots {
    padding: 0 4px;
    color: #777777;
}

.no-members-found {
    text-align: center;
    padding: 35px 20px !important;
    color: #777777;
}


/* =========================================================
   MEMBERS TABLE ACTIONS
   ========================================================= */

.member-table-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}


/* =========================================================
   RESPONSIVE PAGINATION
   ========================================================= */

@media (max-width: 600px) {

    .members-pagination {
        gap: 6px;
    }

    .pagination-btn,
    .pagination-number {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }

}