﻿/* =========================================
   EXISTING DASHBOARD STYLES
   ========================================= */
.welcome-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    text-align: center;
}

    .welcome-header h1 {
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

.dashboard-card {
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

    .dashboard-card:hover {
        transform: translateY(-8px) scale(1.00);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        filter: brightness(110%);
        z-index: 2;
    }

.dashboard-card-body {
    padding: 1.5rem;
}

.dashboard-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.dashboard-stats {
    text-align: right;
}

    .dashboard-stats h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0;
    }

    .dashboard-stats p {
        margin-bottom: 0;
        font-weight: 500;
        opacity: 0.9;
    }

.dashboard-card-footer {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.1);
}

    .dashboard-card-footer a {
        text-decoration: none;
        font-size: 0.875rem;
    }

/* =========================================
   CALENDAR & RESERVATION STYLES (NEW)
   ========================================= */

/* STILURI PENTRU MOBIL COMPACT */
.mobile-stats-card .icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .mobile-stats-card {
        min-height: 80px;
        border-radius: 12px !important;
    }

        .mobile-stats-card .icon-box {
            width: 28px !important;
            height: 28px !important;
            font-size: 0.9rem !important;
            margin-bottom: 6px !important;
        }

        .mobile-stats-card .stats-label {
            font-size: 0.65rem !important;
            letter-spacing: 0 !important;
            white-space: nowrap;
        }

        .mobile-stats-card .stats-value {
            font-size: 1.1rem !important;
        }

    .fc-toolbar-title {
        font-size: 1.1rem !important;
    }

    .fc-toolbar {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* FullCalendar Custom Styles Modern */
#calendar {
    font-family: inherit;
    min-height: 800px;
}

.fc {
    --fc-border-color: #f1f5f9;
    --fc-button-text-color: #64748b; /* Text gri închis */
    --fc-button-bg-color: #fff; /* Fundal alb */
    --fc-button-border-color: #e2e8f0; /* Bordură subtilă */
    --fc-button-hover-bg-color: #f8f9fa;
    --fc-button-hover-border-color: #cbd5e1;
    --fc-button-active-bg-color: #0d6efd; /* Albastru doar la activ */
    --fc-button-active-border-color: #0d6efd;
    --fc-button-active-text-color: #fff;
    --fc-today-bg-color: rgba(13, 110, 253, 0.05);
    --fc-now-indicator-color: #ea4335;
}

.fc .fc-toolbar-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #1e293b;
    letter-spacing: -0.5px;
}

/* === FIX: BUTOANE SEPARATE ȘI ROTUNDE === */
.fc .fc-button-group {
    display: inline-flex !important;
    gap: 0 !important; /* Lipite între ele */
    background: #fff;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #e2e8f0; /* Bordură în jurul grupului */
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

    .fc .fc-button-group > .fc-button {
        border-radius: 50px !important; /* Rotunde individual */
        margin: 0 !important;
        border: none !important; /* Fără bordură individuală */
        background: transparent;
        color: #64748b; /* Text gri */
        box-shadow: none !important;
        font-weight: 600;
        padding: 6px 16px;
        transition: all 0.2s ease;
    }
        /* Butonul Activ (Albastru) */
        .fc .fc-button-group > .fc-button.fc-button-active {
            background-color: #0d6efd !important;
            color: #fff !important;
            box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3) !important;
        }

        /* Butonul Hover (Gri deschis) */
        .fc .fc-button-group > .fc-button:hover:not(.fc-button-active) {
            background-color: #f1f5f9;
            color: #1e293b;
        }

.fc .fc-prev-button, .fc .fc-next-button {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    margin-right: 8px !important;
}

.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child),
.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {
    border-radius: 50px !important;
    margin-left: 0 !important;
}

.fc .fc-today-button {
    border-radius: 50px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
}

    /* Hover pe navigare */
    .fc .fc-prev-button:hover,
    .fc .fc-next-button:hover,
    .fc .fc-today-button:hover {
        background-color: #f8f9fa !important;
        border-color: #cbd5e1 !important;
        color: #1e293b !important;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

/* Iconițele săgeților */
.fc .fc-icon {
    font-size: 1em;
    font-weight: bold;
}

.fc-button {
    border-radius: 50px !important;
    text-transform: capitalize !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}



    .fc-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    }


.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
    background-color: var(--fc-button-active-bg-color) !important;
    border-color: var(--fc-button-active-border-color) !important;
    color: var(--fc-button-active-text-color) !important;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3) !important;
}

/* Events Styling */
.fc-event {
    border: none;
    border-radius: 6px;
    padding: 3px 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 2px;
}

    .fc-event:hover {
        transform: translateY(-1px) scale(1.01);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 10;
    }

.fc-daygrid-day-number {
    font-weight: 600;
    color: #64748b;
    padding: 8px;
    text-decoration: none;
}

.fc-day-today .fc-daygrid-day-number {
    color: #0d6efd;
}

.fc-col-header-cell-cushion {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #94a3b8;
    text-decoration: none;
    padding: 12px 0;
}

/* === STILURI NOI PENTRU MODALUL "BILET DE AVION" === */
.reservation-header-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
    padding: 3rem 2rem 2rem 2rem;
    color: white;
    text-align: center;
    position: relative;
}

.guest-avatar-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 15px auto;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.reservation-meta-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #edf2f7;
}

.timeline-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #cbd5e1;
    z-index: 0;
}

.timeline-point {
    z-index: 1;
    background: white;
    padding: 5px 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    min-width: 70px;
}

.date-display {
    font-weight: 800;
    color: #1e293b;
    font-size: 1.4rem;
    line-height: 1.1;
}

.month-display {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 1px;
}

.stay-duration-badge {
    background: #e0f2f1;
    color: #00695c;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-value {
    font-weight: 700;
    color: #1e293b;
}

.price-total {
    font-size: 1.5rem;
    font-weight: 800;
    color: #00695c;
    line-height: 1;
}

/* Utilitare */
.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-primary-subtle {
    background-color: #cfe2ff !important;
    color: #084298 !important;
}

.bg-success-subtle {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
}

.bg-info-subtle {
    background-color: #cff4fc !important;
    color: #055160 !important;
}

.ls-1 {
    letter-spacing: 1px;
}

.modal-header-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
}

.colors-circular-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding: 20px 0;
    margin-bottom: 10px;
}

.color-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.color-circle-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.color-circle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.color-circle-label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.color-circle-display {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15), 0 0 0 4px #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

    .color-circle-display::before {
        content: '🎨';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 28px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.color-circle-label:hover .color-circle-display {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4), 0 0 0 4px #667eea;
}

.color-circle-label:active .color-circle-display {
    transform: scale(0.95);
}

.color-number {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
}

.preview-title {
    margin-bottom: 20px;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-calendar-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 15px;
}

.preview-calendar-bar {
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .preview-calendar-bar::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: rgba(255,255,255,0.5);
    }

    .preview-calendar-bar:hover {
        transform: translateX(10px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

.preview-bar-label {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    overflow: hidden;
}

.modal-header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
}

.btn-close-custom {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background-size: 10px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

    .btn-close-custom:hover {
        background-color: rgba(0, 0, 0, 0.1);
        opacity: 1;
        transform: rotate(90deg);
    }

.btn-close-white-custom {
    background-color: rgba(255, 255, 255, 0.2);
    filter: invert(1);
}

.form-control-modern {
    background-color: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 15px;
    font-weight: 500;
    transition: all 0.3s;
}

    .form-control-modern:focus {
        background-color: #fff;
        border-color: #b1c2d9;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

.label-modern {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
}

.modal-info-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px dashed #dee2e6;
}

/* =========================================
   MODERN EXPORT MODALS STYLES
   ========================================= */

/* Gradient Verde pentru Export Date (Excel/CSV style) */
.modal-header-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

/* Gradient Indigo pentru Raport Financiar (Business style) */
.modal-header-indigo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

/* Stil pentru iconița din header-ul modalului */
.modal-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Input groups moderne (pentru a lipi iconița de input) */
.input-group-modern {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 2px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

    .input-group-modern:focus-within {
        background-color: #fff;
        border-color: #b1c2d9;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .input-group-modern .input-group-text {
        background: transparent;
        border: none;
        color: #64748b;
        padding-left: 15px;
        padding-right: 5px;
    }

    .input-group-modern .form-control {
        border: none;
        background: transparent;
        box-shadow: none;
        font-weight: 500;
        color: #1e293b;
        padding: 10px;
    }

/* Card informativ în modal */
.info-card-subtle {
    background-color: #f8f9fa;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 12px;
    align-items: center;
}

    .info-card-subtle i {
        font-size: 1.2rem;
        opacity: 0.7;
    }