:root {
    --primary-blue: #24356d;
    --primary-dark: #1a2550;
    --accent-blue: #35b1c9;
    --turquoise: #9cc5c4;
    --orange: #f39200;
    --grey-blue: #6c8a99;
    --purple: #815374;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b7280;
    --bg-light: #f5f7fa;
    --bg-card: #ffffff;
    --border-color: #d1d5db;
    --border-light: #e5e7eb;
    --success: #059669;
    --warning: #f39200;
    --danger: #dc2626;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

/* Navigation */
.navbar {
    background: var(--primary-blue);
    box-shadow: var(--shadow-md);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
    padding: 1rem 0;
    letter-spacing: -0.3px;
}

.brand-icon {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.brand-icon i {
    font-size: 1.25rem;
    line-height: 1;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 1.25rem 1rem !important;
    margin: 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-link i {
    font-size: 1rem;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.12);
    border-bottom-color: var(--accent-blue);
}

/* Hero Section */
.hero-section {
    background: url('banner-bg.png') center center;
    background-size: cover;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(36, 53, 109, 0.85) 0%, rgba(108, 138, 153, 0.75) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.hero-title i {
    font-size: 1.8rem;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    animation: slideUp 0.8s ease-out 0.6s both;
}

.filter-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    max-width: 300px;
}

.filter-select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(197, 73, 58, 0.1);
}

.btn {
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-accent);
    border: none;
}

.btn-primary:hover {
    background: #a63d30;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
}

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

/* Project Cards */
.project-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

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

.project-card:nth-child(2) { animation-delay: 0.1s; }
.project-card:nth-child(3) { animation-delay: 0.2s; }
.project-card:nth-child(4) { animation-delay: 0.3s; }

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-accent), var(--secondary-accent));
    transition: height 0.4s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-card:hover::before {
    height: 100%;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.project-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.project-number {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
}

.project-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-completed {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

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

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.meta-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Charts */
.chart-section {
    margin: 2rem 0;
}

.chart-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-accent);
    border-radius: 2px;
}

.chart-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    min-height: 300px;
}

/* Tasks */
.tasks-section {
    margin-top: 2rem;
}

.task-card {
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-accent);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.task-card:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.task-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.task-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.task-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

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

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

.badge-overdue {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.badge-upcoming {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.badge-future {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Agent Cards */
.agent-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out both;
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.agent-name {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.agent-direction {
    color: var(--text-light);
    font-weight: 600;
}

.hours-badge {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.hours-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.hours-label {
    font-size: 0.85rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Upload Page */
.upload-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}

.upload-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.upload-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.upload-section:hover {
    background: #f0f2f5;
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.label-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.upload-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    margin-left: 3rem;
}

.file-input {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-input:hover {
    border-color: var(--primary-accent);
    background: white;
}

.file-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.file-status.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    display: block;
}

.file-status.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    display: block;
}

.upload-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.upload-feedback {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.upload-feedback.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    display: block;
}

.upload-feedback.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    display: block;
}

.info-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--secondary-accent);
}

.info-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.info-content p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

/* No Data Message */
.no-data-message {
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeIn 0.8s ease-out;
}

.no-data-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-data-message h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.no-data-message p {
    color: var(--text-light);
}

.no-data-message a {
    color: var(--primary-accent);
    font-weight: 600;
    text-decoration: none;
}

.no-data-message a:hover {
    text-decoration: underline;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-select {
        max-width: 100%;
    }
    
    .project-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .agent-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .upload-card {
        padding: 2rem 1.5rem;
    }
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.search-input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(53, 177, 201, 0.15);
    outline: none;
}

.filter-select {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    max-width: 200px;
    transition: all 0.2s ease;
}

.filter-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(53, 177, 201, 0.15);
}

.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Projects Table */
.projects-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.projects-table {
    margin: 0;
    font-size: 0.95rem;
}

.projects-table thead {
    background: var(--bg-light);
    border-bottom: 2px solid var(--border-color);
}

.projects-table th {
    font-weight: 600;
    color: var(--text-medium);
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.projects-table tbody tr {
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-light);
}

.projects-table tbody tr:hover {
    background: var(--bg-light);
}

.projects-table tbody tr.selected {
    background: rgba(53, 177, 201, 0.08);
    border-left: 3px solid var(--accent-blue);
}

.projects-table td {
    padding: 1rem;
    vertical-align: middle;
    color: var(--text-dark);
}

.project-name {
    font-weight: 600;
    color: var(--primary-blue);
}

.project-number-badge {
    font-size: 0.85rem;
    color: var(--grey-blue);
    font-family: 'Courier New', monospace;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
}

.status-completed {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-light);
}

/* Project Detail Panel */
.project-detail-panel {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 100px;
    min-height: 600px;
}

.panel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.project-detail-content {
    padding: 2rem;
}

.project-detail-header {
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.project-detail-number {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

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

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.detail-value-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
}

/* Chart Container */
.chart-container-small {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    min-height: 250px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.46rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--accent-blue);
}

.timeline-item-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.timeline-item-description {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Task List in Panel */
.task-list-panel {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item-panel {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}

.task-item-panel:hover {
    background: var(--bg-light);
}

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

.task-item-title-panel {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.task-item-meta-panel {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.task-badge-small {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-overdue {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

.badge-upcoming {
    background: rgba(243, 146, 0, 0.15);
    color: var(--orange);
}

.badge-future {
    background: rgba(53, 177, 201, 0.15);
    color: var(--accent-blue);
}

/* No Data Message */
.no-data-message {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-data-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-data-message h3 {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.no-data-message a {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
}

.no-data-message a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .project-detail-panel {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        max-width: none;
    }
}

/* Avatar Agent */
.agent-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Action Buttons */
.btn-action {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-action-edit {
    background: var(--turquoise);
    color: white;
}

.btn-action-edit:hover {
    background: #6aa4a4;
}

.btn-action-delete {
    background: var(--danger);
    color: white;
}

.btn-action-delete:hover {
    background: #b91c1c;
}

.btn-action-tasks {
    background: var(--purple);
    color: white;
}

.btn-action-tasks:hover {
    background: #8a5a8d;
}

.btn-success {
    background: var(--success);
}

.btn-success:hover {
    background: #047857;
}

/* Input Group Styling */
.input-group-text {
    border: 1px solid var(--border-color);
}

/* Modal Improvements */
.modal-header {
    background: var(--bg-light);
    border-bottom: 2px solid var(--border-light);
}

.modal-title {
    color: var(--primary-dark);
    font-weight: 600;
}

.modal-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

/* Chart Enhancements */
.chart-container-small canvas {
    max-height: 300px;
}

/* Improved Status Badges with Icons */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.status-active::before {
    content: '\f111';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
}

.status-completed::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
}

/* Improved Brand Icon */
.brand-icon {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast-warning {
    border-left: 4px solid var(--warning);
}

/* Harmonisation des tailles d'icônes */
.projects-table th i,
.projects-table td i.fas {
    font-size: 0.875rem;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.detail-section-title i,
.detail-label i {
    font-size: 0.875rem;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.task-item-meta-panel i,
.task-item-title-panel i {
    font-size: 0.75rem;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i,
.btn-action i {
    font-size: 0.875rem;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-title i {
    font-size: 1rem;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon i {
    font-size: 3rem;
    width: auto;
    height: auto;
}

/* Amélioration des couleurs des boutons */
.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-success {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-success:hover {
    background: #2a9bb5;
    border-color: #2a9bb5;
}

.btn-secondary {
    background: var(--grey-blue);
    border-color: var(--grey-blue);
}

.btn-secondary:hover {
    background: #5a7684;
    border-color: #5a7684;
}

.btn-action-edit {
    background: var(--turquoise);
}

.btn-action-edit:hover {
    background: #8ab3b2;
}

.btn-action-tasks {
    background: var(--purple);
}

.btn-action-tasks:hover {
    background: #6f4863;
}

.btn-action-delete {
    background: var(--danger);
    color: white;
}

.btn-action-delete:hover {
    background: #b91c1c;
}

.status-badge.status-active {
    background: rgba(53, 177, 201, 0.15);
    color: var(--accent-blue);
}

.status-badge.status-completed {
    background: rgba(108, 138, 153, 0.15);
    color: var(--grey-blue);
}

/* Amélioration du gradient de l'avatar */
.agent-avatar-large {
    background: linear-gradient(135deg, var(--turquoise), var(--purple));
}

/* Amélioration de l'alignement des éléments de filtre */
.filter-bar .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.75rem;
}

.filter-bar .input-group-text i {
    font-size: 0.875rem;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PAGE DE CONNEXION ===== */
.login-page {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--grey-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('banner-bg.png') center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

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

.login-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.login-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.login-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.login-form {
    padding: 2rem;
}

.login-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.login-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(53, 177, 201, 0.15);
}

.login-form .btn-outline-secondary {
    border: 2px solid var(--border-color);
    border-left: none;
}

.login-form .btn-outline-secondary:hover {
    background: var(--bg-light);
    border-color: var(--border-color);
}

.login-form .input-group .form-control:focus + .btn-outline-secondary {
    border-color: var(--accent-blue);
}

.login-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.login-footer .btn-link {
    color: var(--grey-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.login-footer .btn-link:hover {
    color: var(--primary-blue);
}

.login-info {
    text-align: center;
    margin-top: 1.5rem;
    color: white;
    font-size: 0.9rem;
}

.login-info i {
    margin-right: 0.5rem;
}

/* Animation shake pour les erreurs */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

/* Bouton de déconnexion dans la navbar */
.navbar-nav .logout-btn {
    color: rgba(255,255,255,0.85) !important;
    cursor: pointer;
}

.navbar-nav .logout-btn:hover {
    color: white !important;
    background: rgba(255,255,255,0.12);
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.85);
    border-left: 1px solid rgba(255,255,255,0.2);
}

.navbar-user i {
    font-size: 1rem;
}

/* Responsive login */
@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-header {
        padding: 2rem 1.5rem;
    }
    
    .login-form {
        padding: 1.5rem;
    }
}

/* ===== LOGO ET ICÔNE ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
    padding: 0.75rem 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-icon-animated {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon-animated svg {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Animation au survol du logo */
.navbar-brand:hover .brand-icon-animated svg .wheel {
    animation-duration: 0.5s !important;
}

.navbar-brand:hover .brand-icon-animated svg .vehicle {
    animation-duration: 1s !important;
}

/* ===== CALENDRIER ===== */
.calendar-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.calendar-month-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    min-width: 200px;
    text-align: center;
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.calendar-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calendar-day-name {
    text-align: center;
    font-weight: 700;
    color: var(--primary-blue);
    padding: 0.75rem;
    font-size: 0.9rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    min-height: 80px;
    max-height: 120px;
    height: auto;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.calendar-day:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.calendar-day.today {
    background: linear-gradient(135deg, rgba(53, 177, 201, 0.1), rgba(156, 197, 196, 0.1));
    border-color: var(--accent-blue);
    font-weight: 700;
}

.calendar-day.selected {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.calendar-day.other-month {
    opacity: 0.3;
    pointer-events: none;
}

.calendar-day-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.calendar-day.selected .calendar-day-number {
    color: white;
}

.calendar-day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.calendar-event-dot {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    margin-top: 2px;
}

.event-task-overdue {
    background: #f39200;
}

.event-task-upcoming {
    background: #35b1c9;
}

.event-project-end {
    background: #815374;
}

.calendar-day-event-count {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: auto;
    text-align: center;
}

.calendar-day.selected .calendar-day-event-count {
    color: rgba(255,255,255,0.9);
}

/* Panneau des événements */
.events-panel {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.events-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.selected-date-display {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

.event-item {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
    background: var(--bg-light);
    transition: all 0.2s ease;
}

.event-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.event-item.event-task-overdue {
    border-color: #f39200;
}

.event-item.event-task-upcoming {
    border-color: #35b1c9;
}

.event-item.event-project-end {
    border-color: #815374;
}

.event-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.event-item-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
}

.event-item-icon.task-icon {
    background: #35b1c9;
}

.event-item-icon.project-icon {
    background: #815374;
}

.event-item-title {
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.event-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.event-item-meta i {
    width: 14px;
    text-align: center;
}

.no-events-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.no-events-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 991px) {
    .events-panel {
        position: relative;
        top: 0;
        max-height: none;
        margin-top: 2rem;
    }
    
    .calendar-legend {
        display: none;
    }
    
    .calendar-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .calendar-day {
        padding: 0.25rem;
    }
    
    .calendar-day-number {
        font-size: 0.8rem;
    }
    
    .calendar-day-event-count {
        font-size: 0.6rem;
    }
    
    .calendar-month-title {
        font-size: 1.25rem;
    }
}

/* ===== TOOLTIPS POUR TÂCHES ===== */
.task-tooltip-trigger {
    cursor: help;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.task-info-icon {
    margin-left: 0.5rem;
    color: var(--accent-blue);
    font-size: 0.875rem;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.task-tooltip-trigger:hover .task-info-icon {
    opacity: 1;
    transform: scale(1.1);
}

.task-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    min-width: 280px;
    max-width: 400px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.task-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--primary-blue);
}

.task-tooltip-trigger:hover .task-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

.task-tooltip-header {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.task-tooltip-body {
    font-size: 0.85rem;
    line-height: 1.5;
}

.task-tooltip-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.task-tooltip-row:last-child {
    margin-bottom: 0;
}

.task-tooltip-label {
    font-weight: 600;
    min-width: 80px;
    opacity: 0.8;
}

.task-tooltip-value {
    flex: 1;
}

.task-tooltip-description {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-style: italic;
    opacity: 0.9;
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .task-tooltip {
        position: fixed;
        left: 1rem !important;
        right: 1rem;
        bottom: 1rem !important;
        top: auto !important;
        transform: none !important;
        min-width: auto;
        max-width: none;
    }
    
    .task-tooltip::after {
        display: none;
    }
    
    .task-tooltip-trigger:hover .task-tooltip {
        transform: none !important;
    }
}

/* Style pour les tâches cliquables */
.task-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.task-clickable:hover {
    background: rgba(53, 177, 201, 0.1);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    border-radius: 4px;
}

/* ===== CATÉGORIES DE TÂCHES ===== */
.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
}

.category-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1.5px solid;
    transition: all 0.2s ease;
}

.category-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.category-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.25rem;
}

/* Légende des catégories */
.category-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

.category-legend-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filtres de catégories */
.category-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.category-filter:hover {
    background: rgba(0,0,0,0.05);
}

.category-filter.active {
    border-color: currentColor;
    background: rgba(0,0,0,0.05);
}

.category-filter input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Icônes dans les listes de tâches */
.task-item-title-panel .category-icon,
.task-item-title-panel .category-icon-small {
    margin-right: 0.5rem;
}

/* Adaptation des couleurs de catégories dans le calendrier */
.calendar-event-dot.category-deliberation {
    background: #9b6b9e;
}

.calendar-event-dot.category-livrable {
    background: #35b1c9;
}

.calendar-event-dot.category-autoroutier {
    background: #f39200;
}

.calendar-event-dot.category-aero {
    background: #6c8a99;
}

/* Items d'événements avec catégories */
.event-item.category-deliberation {
    border-left-color: #9b6b9e;
}

.event-item.category-livrable {
    border-left-color: #35b1c9;
}

.event-item.category-autoroutier {
    border-left-color: #f39200;
}

.event-item.category-aero {
    border-left-color: #6c8a99;
}

/* ===== SVG DANS LES ICÔNES D'ÉVÉNEMENTS ===== */
.event-item-icon svg {
    display: block;
    filter: brightness(0) invert(1);
}

.event-item-icon.task-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PRÉVENTION DES FLASHS NAVBAR ===== */
.navbar-nav {
    min-height: 40px;
}

#authNavItem, #logoutNavItem {
    transition: none;
}

/* ===== FIX ICÔNES SVG INLINE ===== */
.task-item-title-panel svg,
.category-icon svg,
.category-icon-small svg {
    display: inline-block !important;
    vertical-align: middle;
}

.task-item-title-panel .category-icon,
.task-item-title-panel .category-icon-small {
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
}

/* ===== ICÔNES CALENDRIER ===== */
.calendar-event-icon {
    display: inline-block;
    margin: 2px;
}

.calendar-mini-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.calendar-mini-icon:hover {
    transform: scale(1.15);
}

.calendar-mini-icon svg {
    display: block !important;
}

.category-icon-calendar {
    display: block;
}

/* Mise en page des icônes dans les jours */
.calendar-day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    margin-top: 4px;
}

/* Ajustement pour les petits écrans */
@media (max-width: 768px) {
    .calendar-mini-icon {
        width: 16px;
        height: 16px;
    }
    
    .calendar-mini-icon svg {
        width: 10px !important;
        height: 10px !important;
    }
}

/* ===== ICÔNES BLANCHES DANS LES CERCLES ===== */
.event-item-icon i,
.calendar-mini-icon i {
    color: white !important;
}

.event-item-icon .category-icon,
.event-item-icon .category-icon-small {
    color: white !important;
}

/* ===== AJUSTEMENTS CALENDRIER - DÉBORDEMENT ===== */
.calendar-grid {
    max-width: 100%;
    overflow: hidden;
}

.calendar-day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 0.25rem;
    max-height: 60px;
    overflow: hidden;
}

.calendar-mini-icon {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
}

.calendar-day-number {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

/* Responsive calendrier */
@media (max-width: 992px) {
    .calendar-day {
        min-height: 70px;
        max-height: 100px;
        padding: 0.35rem;
    }
    
    .calendar-mini-icon {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        min-height: 18px;
    }
    
    .calendar-mini-icon i {
        font-size: 9px !important;
    }
}

@media (max-width: 768px) {
    .calendar-day {
        min-height: 60px;
        max-height: 80px;
        padding: 0.25rem;
    }
    
    .calendar-mini-icon {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px;
        min-height: 16px;
    }
    
    .calendar-mini-icon i {
        font-size: 8px !important;
    }
    
    .calendar-day-number {
        font-size: 0.85rem;
    }
}

/* ===== LOGO DRST2 PLEINE HAUTEUR ===== */
.brand-logo-full {
    height: 55px;
    width: auto;
    max-width: none;
    display: block;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Supprimer les anciens styles */
.brand-icon-animated {
    display: none;
}

.brand-logo {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-logo-full {
        height: 45px;
    }
}

@media (max-width: 576px) {
    .brand-logo-full {
        height: 40px;
    }
}

/* ===== FIX CLIGNOTEMENT NAVBAR ===== */
.navbar-nav {
    opacity: 1;
    transition: none;
}

/* Éviter le flash au chargement */
.navbar.loading {
    opacity: 0;
}

.navbar {
    opacity: 1;
    transition: opacity 0.15s ease-in;
}
