/* OPS Network Project Management System Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    padding-top: 0.5rem;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.nav-brand span {
    display: inline-flex;
    align-items: flex-start;
    line-height: 1.2;
    padding-top: 0.25rem;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #34495e;
}

.user-info {
    color: #ecf0f1;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.user-info-with-avatar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ecf0f1;
}

.avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
}

.logout-btn {
    background-color: #e74c3c;
}

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

.notification-link {
    position: relative;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    color: white !important;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    background-color: #e74c3c !important;
    color: white !important;
    border-radius: 12px;
    min-width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 0 6px;
    border: 2px solid #2c3e50;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 10;
    line-height: 22px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.login-logo-container {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

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

.login-box h2 {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
}

.note {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 1rem;
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.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);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

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

.btn-primary:hover {
    background-color: #2980b9;
}

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

.btn-secondary:hover {
    background-color: #7f8c8d;
}

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

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

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

.alert-error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.error {
    background-color: #fee;
    color: #c33;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

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

.page-header h1 {
    color: #2c3e50;
    font-size: 2rem;
}

/* Dashboard */
.dashboard {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #3498db;
}

.project-info h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-info h3 {
    color: #34495e;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid;
}

.stat-card.stat-open {
    border-top-color: #3498db;
}

.stat-card.stat-pending {
    border-top-color: #f39c12;
}

.stat-card.stat-progress {
    border-top-color: #9b59b6;
}

.stat-card.stat-closed {
    border-top-color: #27ae60;
}

.stat-card h3 {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.data-table thead {
    background-color: #34495e;
    color: white;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
}

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

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

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

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-open {
    background-color: #d6eaf8;
    color: #2874a6;
}

.status-pending {
    background-color: #fef5e7;
    color: #b9770e;
}

.status-in_progress {
    background-color: #ebdef0;
    color: #6c3483;
}

.status-closed {
    background-color: #d5f4e6;
    color: #1e8449;
}

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

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

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

.badge-member {
    background-color: #9b59b6;
    color: white;
}

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

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab {
    padding: 0.5rem 1rem;
    background-color: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.tab:hover {
    background-color: #f8f9fa;
}

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

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Form Container */
.form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Task Detail */
.task-detail {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.task-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.task-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.task-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.info-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.member-checkbox {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-checkbox input[type="checkbox"] {
    width: auto;
}

.member-permission {
    margin-left: auto;
    width: auto;
    min-width: 150px;
}

.updates-list {
    max-height: 400px;
    overflow-y: auto;
}

.update-item {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 3px solid #3498db;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.update-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.update-date {
    color: #7f8c8d;
}

.update-text {
    color: #2c3e50;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-item {
    background: white;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.document-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.document-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.doc-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    flex: 1;
}

.doc-link:hover {
    text-decoration: underline;
}

.rename-form {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.rename-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.deadline-input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.doc-info {
    display: block;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 0.25rem;
}

/* Calendar */
.calendar-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-month {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.calendar-table th {
    background-color: #34495e;
    color: white;
    padding: 1rem;
    text-align: center;
}

.calendar-day {
    border: 1px solid #ddd;
    padding: 0.5rem;
    vertical-align: top;
    min-height: 100px;
    height: 120px;
}

.calendar-day.empty {
    background-color: #f8f9fa;
}

.day-number {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.day-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.task-link {
    display: block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-link.status-open {
    background-color: #3498db;
}

.task-link.status-pending {
    background-color: #f39c12;
}

.task-link.status-in_progress {
    background-color: #9b59b6;
}

.task-link.status-closed {
    background-color: #27ae60;
}

/* Members */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

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

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

.member-header h3 {
    color: #2c3e50;
}

.member-info p {
    margin-bottom: 0.5rem;
    color: #34495e;
}

.member-info a {
    color: #3498db;
    text-decoration: none;
}

.member-info a:hover {
    text-decoration: underline;
}

/* Search */
.search-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-results h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.recent-tasks {
    margin-top: 2rem;
}

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

/* Announcements */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.announcement-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.announcement-item.unread {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.announcement-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.announcement-header h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.new-badge {
    background-color: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.announcement-content {
    color: #34495e;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
    padding: 0.5rem 0;
}

.announcement-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.announcement-content br {
    line-height: 1.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .nav-brand {
        font-size: 1.2rem;
        flex: 1;
        min-width: 0;
    }
    
    .nav-brand span {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-logo {
        height: 35px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #2c3e50;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        margin-top: 0;
        gap: 0.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .user-info {
        margin: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .notification-link {
        padding: 0.75rem 1rem;
    }
    
    /* Container */
    .container {
        padding: 10px;
    }
    
    /* Page Header */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Task Info Grid */
    .task-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Members Grid */
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .form-container {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Tables */
    .data-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table thead,
    .data-table tbody,
    .data-table tr {
        display: block;
    }
    
    .data-table thead {
        display: none;
    }
    
    .data-table tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 0.5rem;
        background: white;
    }
    
    .data-table td {
        display: block;
        text-align: left;
        padding: 0.5rem;
        border-bottom: 1px solid #eee;
    }
    
    .data-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: #2c3e50;
        margin-right: 0.5rem;
        min-width: 120px;
    }
    
    .data-table td:last-child {
        border-bottom: none;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Announcements */
    .announcement-item {
        padding: 1rem;
    }
    
    .announcement-header h3 {
        font-size: 1.1rem;
    }
    
    .announcement-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    /* Login */
    .login-box {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .login-logo {
        max-width: 120px;
    }
    
    .login-box h1 {
        font-size: 1.3rem;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
    }
    
    /* Filter Tabs */
    .filter-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-tabs a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Calendar Mobile Styles */
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .calendar-header h1 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .calendar-nav {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .calendar-nav .btn {
        flex: 1;
        min-width: 100px;
        margin-bottom: 0;
    }
    
    .current-month {
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
        order: -1;
    }
    
    .calendar-legend {
        gap: 0.75rem;
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .calendar-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .calendar-table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    .calendar-table th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .calendar-day {
        padding: 0.4rem;
        min-height: 80px;
        height: 90px;
        font-size: 0.85rem;
    }
    
    .day-number {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .day-tasks {
        gap: 0.2rem;
    }
    
    .task-link {
        padding: 0.3rem 0.4rem;
        font-size: 0.75rem;
        min-height: 24px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-brand span {
        font-size: 0.8rem;
    }
    
    .nav-logo {
        height: 30px;
    }
    
    .container {
        padding: 5px;
    }
    
    .page-header h1 {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .login-box {
        padding: 1rem;
    }
    
    .login-box h1 {
        font-size: 1.1rem;
    }
    
    .login-box h2 {
        font-size: 1rem;
    }
    
    /* Calendar Extra Small Mobile */
    .calendar-container {
        padding: 0.5rem;
    }
    
    .calendar-header h1 {
        font-size: 1.1rem;
    }
    
    .current-month {
        font-size: 1rem;
    }
    
    .calendar-nav .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 80px;
    }
    
    .calendar-legend {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .legend-item {
        font-size: 0.7rem;
    }
    
    .calendar-table {
        min-width: 550px;
        font-size: 0.75rem;
    }
    
    .calendar-table th {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
    }
    
    .calendar-day {
        padding: 0.3rem;
        min-height: 70px;
        height: 75px;
        font-size: 0.75rem;
    }
    
    .day-number {
        font-size: 0.8rem;
    }
    
    .task-link {
        padding: 0.25rem 0.3rem;
        font-size: 0.7rem;
        min-height: 20px;
    }
}

