* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bcg-primary: #025645;
    --bcg-dark: #00291C;
    --bcg-gold: #E6B437;
    --bcg-gold-light: #F5D67A;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #666666;
    --error: #DC3545;
    --success: #28A745;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #F5F5F5;
    min-height: 100vh;
    color: var(--bcg-dark);
    display: flex;
    flex-direction: column;
}

/* Home Page Styles */
.home-page-bg {
    background: var(--bcg-dark);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.home-header {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-header .home-card-content {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.home-header .home-card-content img {
    height: 100px;
    width: auto;
}

.bcg-badge {
    display: inline-block;
    background: var(--bcg-gold);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.home-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 12px;
    line-height: 1.2;
}

.home-subtitle {
    font-size: 18px;
    color: var(--white);
    margin: 0;
    opacity: 0.9;
}

.home-options-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.home-option-card {
    background: var(--white);
    border: none;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.home-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-option-card:active {
    transform: translateY(-2px);
}

.home-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-icon-primary {
    background: var(--bcg-primary);
    color: var(--white);
}

.home-icon-yellow {
    background: var(--bcg-gold);
    color: var(--white);
}

.home-card-content {
    flex: 1;
}

.home-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bcg-dark);
    margin: 0 0 6px;
}

.home-card-content p {
    font-size: 14px;
    color: var(--gray-dark);
    margin: 0;
    line-height: 1.5;
}

.page {
    display: none;
    min-height: 100vh;
    padding: 20px 16px;
    animation: fadeIn 0.3s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-img {
    max-width: 120px;
    height: auto;
    margin-bottom: 16px;
    display: block;
}

.logo {
    font-size: 48px;
    font-weight: bold;
    color: var(--bcg-primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.title {
    font-size: 28px;
    color: var(--bcg-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.subtitle {
    color: var(--gray-dark);
    font-size: 16px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-link-container {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #F0F0F0;
}

.admin-link-btn {
    background: transparent;
    color: var(--bcg-primary);
    border: 2px solid var(--bcg-primary);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-link-btn:hover {
    background: var(--bcg-primary);
    color: var(--white);
}

.option-card {
    background: linear-gradient(135deg, var(--bcg-primary) 0%, var(--bcg-dark) 100%);
    border: none;
    border-radius: 15px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(2, 86, 69, 0.3);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(2, 86, 69, 0.4);
}

.option-card:active {
    transform: translateY(-2px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.option-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 600;
}

.option-card p {
    font-size: 14px;
    opacity: 0.9;
}

.form-header-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
}

.form-header-with-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
}

.form-logo-img {
    max-width: 80px;
    height: auto;
    flex-shrink: 0;
}

.back-btn-icon {
    position: absolute;
    left: -40px;
    top: 0;
    background: var(--bcg-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(2, 86, 69, 0.2);
}

.back-btn-icon:hover {
    background: var(--bcg-dark);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .back-btn-icon {
        position: static;
        margin-bottom: 16px;
    }
    
    .form-header-with-icon {
        flex-direction: column;
    }
}

.header-icon-wrapper {
    flex-shrink: 0;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: var(--bcg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(2, 86, 69, 0.2);
}

.header-text {
    flex: 1;
}

.header-text h2 {
    color: var(--bcg-dark);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.header-subtitle {
    color: var(--gray-dark);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.back-btn {
    background: var(--bcg-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.back-btn:hover {
    background: var(--bcg-dark);
}

.form-header h2 {
    color: var(--bcg-dark);
    font-size: 24px;
    font-weight: 600;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    font-weight: 600;
    color: var(--bcg-dark);
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

input[type="text"],
input[type="email"],
select {
    padding: 14px 16px;
    border: 1.5px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--bcg-dark);
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: var(--bcg-primary);
    box-shadow: 0 0 0 3px rgba(2, 86, 69, 0.1);
}

input[type="text"]:hover,
input[type="email"]:hover,
select:hover {
    border-color: var(--bcg-primary);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23025645' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-hint {
    font-size: 12px;
    color: var(--gray-dark);
    font-style: italic;
    margin-top: 4px;
}

/* Toggle Switch Styles */
.toggle-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #F0F0F0;
}

.toggle-group:last-of-type {
    border-bottom: none;
}

.toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.toggle-text {
    font-size: 16px;
    color: var(--bcg-dark);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCCCCC;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
    background-color: var(--bcg-primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch:hover input:not(:checked) + .toggle-slider {
    background-color: #B0B0B0;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--bcg-primary);
}

.submit-btn {
    background: var(--bcg-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 41, 28, 0.2);
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: var(--bcg-primary);
    box-shadow: 0 4px 12px rgba(0, 41, 28, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    background: #FFEBEE;
    color: var(--error);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--error);
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: #E8F5E9;
    color: var(--success);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--success);
    font-size: 14px;
    display: none;
}

.success-message.show {
    display: block;
}

/* Mobile First - Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 40px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .options-container {
        flex-direction: row;
    }

    .option-card {
        flex: 1;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .page {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 36px;
    }

    .title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 20px 15px;
        border-radius: 15px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #F0F0F0;
}

.modal-header h3 {
    margin: 0;
    color: var(--bcg-dark);
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--gray-light);
    color: var(--bcg-dark);
}

.modal-body {
    padding: 24px;
}

.confirm-details {
    background: var(--gray-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--gray-dark);
}

.detail-value {
    color: var(--bcg-dark);
    font-weight: 500;
}

.modal-form-section {
    margin-top: 24px;
}

.modal-form-section h4 {
    margin-bottom: 16px;
    color: var(--bcg-dark);
    font-size: 16px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #F0F0F0;
}

.btn-primary {
    background: var(--bcg-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary:hover {
    background: var(--bcg-primary);
}

.btn-secondary {
    background: var(--white);
    color: var(--bcg-dark);
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-secondary:hover {
    border-color: var(--bcg-primary);
    color: var(--bcg-primary);
}

/* Admin Panel Styles */
.admin-container {
    max-width: 400px;
}

.admin-header {
    text-align: center;
    margin-bottom: 32px;
}

.admin-header .logo-img {
    margin: 0 auto 16px;
}

.admin-header h2 {
    color: var(--bcg-dark);
    margin: 16px 0 8px;
    font-size: 24px;
}

/* Modern Admin Dashboard */
.admin-page {
    padding: 0;
    background: #F5F5F5;
}

.admin-dashboard {
    min-height: 100vh;
    background: #F5F5F5;
    padding: 0;
}

.dashboard-header {
    background: var(--white);
    padding: 24px 32px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.dashboard-header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-logo-img {
    max-width: 80px;
    height: auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bcg-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.back-link:hover {
    color: var(--bcg-dark);
}

.dashboard-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--bcg-dark);
    margin: 0;
}

.dashboard-content {
    padding: 32px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Modern Stats Grid */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-modern {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
}

.stat-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-primary {
    background: var(--bcg-primary);
    color: var(--white);
}

.stat-icon-gold {
    background: var(--bcg-gold);
    color: var(--white);
}

.stat-icon-red {
    background: #E53935;
    color: var(--white);
}

.stat-icon-light-green {
    background: #81C784;
    color: var(--white);
}

.stat-icon-gray {
    background: #BDBDBD;
    color: var(--white);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--bcg-dark);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-percentage {
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-dark);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-dark);
    font-weight: 500;
}

/* Headcount Bar */
.headcount-bar {
    background: var(--bcg-dark);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 41, 28, 0.2);
}

.headcount-main {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.headcount-label {
    font-size: 18px;
    font-weight: 600;
}

.headcount-value {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.headcount-breakdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 14px;
    opacity: 0.9;
}

/* Action Bar */
.action-bar {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0F0F0;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-dark);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.search-input:focus {
    outline: none;
    border-color: var(--bcg-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(2, 86, 69, 0.1);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    background: var(--white);
    color: var(--bcg-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: var(--bcg-primary);
    color: var(--bcg-primary);
    background: #FAFAFA;
}

.import-btn {
    position: relative;
}

.import-btn input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.sample-btn {
    background: var(--white);
    color: var(--bcg-primary);
    border-color: var(--bcg-primary);
}

.sample-btn:hover {
    background: var(--bcg-primary);
    color: var(--white);
    border-color: var(--bcg-primary);
}

.export-btn {
    background: var(--bcg-dark);
    color: var(--white);
    border-color: var(--bcg-dark);
}

.export-btn:hover {
    background: var(--bcg-primary);
    border-color: var(--bcg-primary);
    color: var(--white);
}

.action-select {
    padding: 12px 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    background: var(--white);
    color: var(--bcg-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23025645' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.action-select:focus {
    outline: none;
    border-color: var(--bcg-primary);
    box-shadow: 0 0 0 3px rgba(2, 86, 69, 0.1);
}

/* Modern Table */
.attendees-section {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0F0F0;
}

.table-container {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table thead {
    background: #FAFAFA;
}

.modern-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--bcg-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #E0E0E0;
}

.modern-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #F5F5F5;
    color: var(--bcg-dark);
    font-size: 14px;
}

.modern-table tbody tr {
    transition: background 0.2s ease;
}

.modern-table tbody tr:hover {
    background: #FAFAFA;
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.checked-in {
    background: var(--bcg-primary);
    color: var(--white);
}

.status-badge.pending {
    background: #FFF3E0;
    color: #F57C00;
}

/* Extras Badges */
.extras-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.extra-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #F5F5F5;
    color: var(--gray-dark);
}

.extra-badge svg {
    width: 14px;
    height: 14px;
}

/* Source Badge */
.source-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bcg-gold);
    color: var(--white);
}

.table-footer {
    padding: 16px 20px;
    border-top: 1px solid #F0F0F0;
    background: #FAFAFA;
    font-size: 14px;
    color: var(--gray-dark);
}

/* CSV Import Modal Styles */
.import-warning {
    background: #FFF3E0;
    border-left: 4px solid #F57C00;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
}

.import-summary {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--gray-dark);
}

.summary-value {
    font-weight: 600;
    color: var(--bcg-dark);
}

.import-errors {
    background: #FFEBEE;
    border-left: 4px solid #E53935;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    max-height: 200px;
    overflow-y: auto;
}

.import-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.import-errors li {
    margin: 4px 0;
    font-size: 13px;
    color: #C62828;
}

/* Footer Styles */
.app-footer {
    background: var(--bcg-dark);
    padding: 24px 32px;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--white);
}

.footer-copyright {
    font-size: 14px;
    color: var(--white);
    opacity: 0.9;
}

.footer-links {
    font-size: 14px;
    color: var(--white);
    opacity: 0.8;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 20px 16px;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .headcount-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .headcount-breakdown {
        align-items: flex-start;
    }
    
    .action-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        min-width: 100%;
    }
    
    .action-btn,
    .action-select {
        width: 100%;
    }
    
    .dashboard-title {
        font-size: 24px;
    }
    
    .app-footer {
        padding: 20px 16px;
    }
    
    .footer-content {
        font-size: 12px;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-separator {
        margin: 0 2px;
    }
    
    .home-title {
        font-size: 36px;
    }
    
    .home-subtitle {
        font-size: 16px;
    }
    
    .home-container {
        padding: 32px 16px;
        gap: 32px;
    }
}

