/* Reset and Base Styles - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px; /* Prevent zoom on iOS */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex: 1;
    width: 100%;
}

/* Navigation - Mobile Optimized with Hamburger */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand h2 {
    margin: 0;
    color: white;
    font-size: 1.25rem;
}

/* Hamburger Button (Mobile Only) */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Mobile Menu */
.nav-menu {
    position: fixed;
    top: 56px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 56px);
    background-color: #2c3e50;
    list-style: none;
    padding: 1rem 0;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    width: 100%;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    font-size: 1rem;
    transition: background-color 0.2s;
    border-left: 4px solid transparent;
}

.nav-menu a:active,
.nav-menu a:hover {
    background-color: rgba(52, 152, 219, 0.2);
    border-left-color: #3498db;
}

/* Mobile User Info */
.mobile-user-info {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}

.user-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.user-role {
    font-size: 0.9rem;
    color: #3498db;
    text-transform: capitalize;
}

/* Logout Button in Menu */
.nav-logout {
    margin-top: 1rem;
    padding: 0 1.5rem;
}

.btn-logout {
    background-color: #e74c3c;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: block;
    text-align: center;
    width: 100%;
    min-height: 48px;
    font-weight: 600;
}

.btn-logout:active {
    background-color: #c0392b;
}

/* Desktop Navigation - Hide Hamburger, Show Horizontal Menu */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .nav-menu li {
        width: auto;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
        border-left: none;
        border-radius: 4px;
    }

    .mobile-user-info {
        display: none;
    }

    .nav-logout {
        margin-top: 0;
        padding: 0;
    }

    .btn-logout {
        width: auto;
        min-height: 44px;
        padding: 0.5rem 1rem;
    }

    .nav-brand h2 {
        font-size: 1.5rem;
    }
}

/* Flash Messages */
.flash-messages {
    margin: 20px 0;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.login-help {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #ecf0f1;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

/* Forms - Mobile Optimized */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px; /* Prevent iOS zoom */
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 100px;
}

.form-group select {
    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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: normal;
    padding: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-container {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Buttons - Mobile Optimized */
.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px; /* Prevent iOS zoom */
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    min-height: 48px; /* Better touch target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-touch-callout: none;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:active {
    background-color: #2980b9;
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:active {
    background-color: #7f8c8d;
    transform: scale(0.98);
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:active {
    background-color: #c0392b;
    transform: scale(0.98);
}

.btn-success {
    background-color: #27ae60;
    color: white;
}

.btn-success:active {
    background-color: #229954;
    transform: scale(0.98);
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 14px;
    min-height: 44px;
}

/* Desktop hover effects */
@media (hover: hover) {
    .btn-primary:hover {
        background-color: #2980b9;
    }
    .btn-secondary:hover {
        background-color: #7f8c8d;
    }
    .btn-danger:hover {
        background-color: #c0392b;
    }
    .btn-success:hover {
        background-color: #229954;
    }
}

/* Dashboard */
.dashboard {
    margin: 1.5rem 0;
}

.dashboard h1 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Today's Reflection Card - Full Width */
.card-today {
    grid-column: 1 / -1;
}

/* Reflection Display */
.reflection-display {
    margin-bottom: 1rem;
}

.reflection-field {
    margin-bottom: 1.25rem;
}

.reflection-field strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.reflection-field p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
}

/* Card Actions */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

/* Stats Info */
.stats-info {
    margin-bottom: 1rem;
}

.stats-info p {
    margin: 0.5rem 0;
    color: #555;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .dashboard h1 {
        font-size: 2rem;
    }

    .dashboard-cards {
        grid-template-columns: 2fr 1fr;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    .card-actions {
        flex-direction: row;
    }

    .card-stats .card-actions {
        flex-direction: column;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #3498db;
    margin: 0.5rem 0;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin: 1rem 0;
}

.status-badge.success {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.leave-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: #ffeaa7;
    color: #d63031;
    font-weight: 600;
    margin: 1rem 0;
}

/* Tables - Mobile Optimized */
.table {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 1rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}

.table thead {
    background-color: #2c3e50;
    color: white;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    white-space: nowrap;
}

.table tbody tr {
    border-bottom: 1px solid #ecf0f1;
}

/* Desktop hover effect */
@media (hover: hover) {
    .table tbody tr:hover {
        background-color: #f8f9fa;
    }
}

/* Larger padding on desktop */
@media (min-width: 768px) {
    .table th,
    .table td {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge.submitted {
    background-color: #d4edda;
    color: #155724;
}

.badge.leave {
    background-color: #ffeaa7;
    color: #d63031;
}

.badge.admin {
    background-color: #e74c3c;
    color: white;
}

.badge.user {
    background-color: #3498db;
    color: white;
}

.badge.active {
    background-color: #27ae60;
    color: white;
}

.badge.inactive {
    background-color: #95a5a6;
    color: white;
}

/* Reflections */
.recent-reflections,
.reflections-list {
    margin: 2rem 0;
}

.recent-reflections h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.reflection-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.reflection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
}

.reflection-header h3 {
    margin: 0;
    color: #2c3e50;
}

.reflection-header .date {
    color: #7f8c8d;
    margin: 0.25rem 0 0 0;
}

.reflection-section {
    margin-bottom: 1.5rem;
}

.reflection-section h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.reflection-section p {
    color: #555;
    line-height: 1.6;
}

.reflection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

.reflection-footer small {
    color: #7f8c8d;
}

/* Pending Users */
.pending-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* Info Section (for Sunday message) */
.info-section {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-section h2 {
    color: #0c5460;
    margin-bottom: 0.5rem;
}

.info-section p {
    color: #0c5460;
    margin: 0;
}

.pending-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pending-list li {
    background-color: #fff3cd;
    padding: 0.75rem;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
}

/* Filters */
.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group-inline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-inline label {
    font-weight: 600;
    color: #2c3e50;
}

.form-group-inline input,
.form-group-inline select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
    background: white;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}

/* Missing Days Section */
.missing-days-section {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.missing-days-section h2 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.helper-text {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.missing-days-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.missing-day-card {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.missing-date strong {
    display: block;
    color: #2c3e50;
    font-size: 1.1rem;
}

.missing-date span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Date Selector */
.date-selector {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.date-selector h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Date Legend */
.date-legend {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.legend-box {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid;
}

.legend-box.completed-box {
    background-color: #d4edda;
    border-color: #28a745;
    color: #28a745;
}

.legend-box.leave-box {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #333;
}

.legend-box.pending-box {
    background-color: white;
    border-color: #ddd;
}

.date-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.date-btn {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    min-width: 80px;
    cursor: pointer;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s;
    position: relative;
}

.date-btn:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.date-btn.active {
    border-color: #3498db;
    background-color: #3498db;
    color: white;
}

.date-btn.completed {
    background-color: #d4edda;
    border-color: #28a745;
}

.date-btn.completed.active {
    background-color: #28a745;
    color: white;
}

.date-btn.leave-marked {
    background-color: #fff3cd;
    border-color: #ffc107;
}

.date-btn.leave-marked.active {
    background-color: #ffc107;
    color: #333;
}

.date-day {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.date-num {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.25rem 0;
}

.date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.date-status {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #28a745;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.date-status.leave-status {
    background-color: #ffc107;
    color: #333;
    font-weight: bold;
}

/* Skills Chips and Autocomplete */
.skills-suggestions {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.skills-suggestions strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.skill-suggestion {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.25rem;
    background-color: #e7f3ff;
    border: 1px solid #3498db;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.skill-suggestion:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-1px);
}

.skills-chips-container {
    min-height: 40px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-color: white;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background-color: #28a745;
    color: white;
    border-radius: 16px;
    font-size: 0.875rem;
}

.chip-remove {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 0.25rem;
}

.chip-remove:hover {
    color: #ff4444;
}

.skills-autocomplete {
    position: relative;
    display: none;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.25rem;
    z-index: 1000;
}

.autocomplete-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #f8f9fa;
}

/* Skills Display (for viewing reflections) */
.skills-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.skill-chip-display {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: #28a745;
    color: white;
    border-radius: 16px;
    font-size: 0.875rem;
}

/* Emotion Badge */
.emotion-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #e7f3ff;
    border: 2px solid #3498db;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.emotion-badge-small {
    display: inline-block;
    font-size: 1.5rem;
}

.emotion-badge-table {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background-color: #e7f3ff;
    border: 1px solid #3498db;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2c3e50;
    white-space: nowrap;
}

/* Compact Skills Display for Tables */
.skills-display-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.skill-chip-small {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: #28a745;
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
}

.skill-more {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: #6c757d;
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
}

/* Admin Reflections Grid */
.admin-reflections {
    margin: 2rem 0;
}

.admin-reflections h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.reflections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.admin-reflection-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.reflection-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-info-header {
    flex: 1;
    min-width: 150px;
}

.user-info-header h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.25rem;
}

.user-info-header .date {
    display: block;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.submission-time {
    color: #7f8c8d;
    font-size: 0.875rem;
    display: block;
}

.emotion-badge-admin {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #e7f3ff;
    border: 2px solid #3498db;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.reflection-content-admin {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Desktop hover effect for cards */
@media (hover: hover) {
    .admin-reflection-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
}

/* Two column grid on tablet and desktop */
@media (min-width: 768px) {
    .reflections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-reflections h2 {
        font-size: 1.75rem;
    }
}

/* Three column grid on large desktop */
@media (min-width: 1200px) {
    .reflections-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group-inline {
        width: 100%;
    }

    .missing-days-list {
        grid-template-columns: 1fr;
    }

    .date-buttons {
        justify-content: center;
    }
}
