:root {
    --deep-blue: #1B3C69;
    --turquoise: #00A7CB;
    --orange: #FF7F27;
    --green: #4CAF50;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #677284;
    --dark-gray: #2C3E50;
}

body {
    background-color: var(--light-gray);
    font-family: 'Arial', sans-serif;
}

.navbar {
    background-color: var(--white) !important;
}
     .nav-link.dropdown-toggle {
            background-color: #016dbc !important;
            color: white !important;
            font-size: 12px;
            padding: 3px 8px !important;
            border-radius: 3px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        
        .dropdown-menu {
            border: none;
            background-color: white;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            border-radius: 2px;
            min-width: 140px;
            display: none;
            margin-top: 1px;
            padding: 4px 0;
        }

        .dropdown-item {
            padding: 4px 12px;
            color: #016dbc;
            font-size: 12px;
        }

        .dropdown-item:hover {
            background-color: #f5f5f5;
            color: #016dbc;
        }

         .nav-item.dropdown:hover .dropdown-menu {
            display: block;
        }

         .auth-dropdown {
            position: absolute;
            left: 0;
            right: auto !important;
        }

         .dropdown-toggle::after {
            display: none;
        }

         .dropdown-divider {
            border-top: 1px solid #eee;
            margin: 2px 0;
        }

         .nav-link i {
            font-size: 11px;
        }

         .fa-chevron-down {
            margin-top: 1px;
        }

         .fa-user {
            font-size: 10px;
        }
.sidebar {
    background-color: var(--white);
    height: calc(100vh - 56px);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.nav-link {
    color: var(--deep-blue);
    padding: 0.8rem 1rem;
    transition: all 0.3s;
}

    .nav-link:hover {
        background-color: var(--light-gray);
        color: var(--turquoise);
    }

    .nav-link.active {
        background-color: var(--deep-blue);
        color: var(--white);
    }

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

.card-header {
    border-bottom: none;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 15px 15px 0 0 !important;
}

.stat-card {
    background: linear-gradient(45deg, var(--green), var(--turquoise));
    color: var(--white);
}
 

.btn-warning {
    background-color: var(--orange);
    border-color: var(--orange);
}

.table th {
    color: var(--deep-blue);
    font-weight: 600;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

.status-confirmed {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--green);
}
.status-danger {
    background-color: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.status-pending {
    background-color: rgba(255, 127, 39, 0.1);
    color: var(--orange);
}

.search-box {
    background-color: var(--light-gray);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem;
}


.survey-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.survey-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

 .stat-card {
    transition: transform 0.2s;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .stat-card:hover {
        transform: translateY(-5px);
    }

    .stat-card h2 {
        color: var(--deep-blue);
        font-weight: bold;
        margin: 10px 0;
    }
.survey-card {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

    .survey-card .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--deep-blue);
    }

    .survey-card .card-text {
        color: var(--medium-gray);
        font-size: 1rem;
    }

    .survey-card .btn-outline-success {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .survey-card .small {
        font-size: 0.85rem;
    }
 

#showMoreButton {
    border-radius: 8px;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
 
.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.status-confirmed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.search-box {
    max-width: 200px;
    border-radius: 20px;
    padding: 0.375rem 1rem;
    border: none;
    background-color: rgba(255,255,255,0.9);
}

.action-buttons .btn {
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
}

    .action-buttons .btn:hover {
        transform: scale(1.1);
    }

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: none;
}

 @media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        gap: 1rem;
    }
}

.bg-secondary {
    background-color: var(--turquoise) !important;  
    color: #ffffff !important;  
}


.hidden-survey {
    display: none;
}



.question-block {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-right: 5px solid var(--light-gray);
}

    .question-block:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    }

.question-header {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.question-number {
    position: absolute;
    right: -1rem;
    top: -1rem;
    font-size: 4rem;
    font-weight: bold;
    color: var(--light-gray);
    z-index: 0;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.answer-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .answer-option:hover {
        border-color: var(--orange);
        transform: translateY(-2px);
    }

    .answer-option.selected-very-satisfied {
        background-color: rgba(13, 110, 253, 0.05);
        border-color: var(--green);
    }

    .answer-option.selected-satisfied {
        background-color: rgba(25, 135, 84, 0.05);
        border-color: var(--green);
    }

    .answer-option.selected-neutral {
        background-color: rgba(255, 193, 7, 0.05);
        border-color: var(--orange);
    }

.answer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.answer-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}


.footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
    width: 100%;
}

    .footer a {
        color: var(--orange);
        font-weight: 500;
    }

        .footer a:hover {
            color: var(--green);
        }


 @media (max-width: 768px) {
    .answers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

 .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

    .fade-in.active {
        opacity: 1;
        transform: translateY(0);
    }

 

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

 .auth-logo {
    height: 60px;
    margin-bottom: 1rem;
}

 .auth-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;

}

.auth-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

    .auth-header h2 {
        color: #333;
        font-size: 1.5rem;
        font-weight: 600;
    }

.auth-body {
    padding: 1rem 2rem 2rem;
}

 .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

    .form-control:focus {
        border-color: #00A7CB;
        box-shadow: 0 0 0 0.2rem rgba(0, 167, 203, 0.15);
    }

.form-floating > label {
    right: 1rem;
    left: auto;
    padding-right: 1rem;
}

 .btn-primary {
    background: #00A7CB;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-primary:hover {
        background: #0095b7;
        transform: translateY(-1px);
    }

 .quick-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
}

    .quick-links a {
        color: #00A7CB;
        text-decoration: none;
    }

        .quick-links a:hover {
            text-decoration: underline;
        }

.form-check-input:checked {
    background-color: #00A7CB;
    border-color: #00A7CB;
}

 @media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
}

 .auth-bg {
    background-color: #f5f6fa;
    min-height: 100vh;
    padding: 2rem;
}

.auth-container-wide {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

 .auth-logo {
    height: 60px;
    margin-bottom: 2rem;
}

 .auth-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1rem 2rem 3rem;
}

 .auth-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

 .section-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

 .form-floating {
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    padding: 1rem;
    height: auto;
}

    .form-control:focus {
        border-color: #00A7CB;
        box-shadow: 0 0 0 2px rgba(0,167,203,0.1);
    }

.form-floating > label {
    padding: 1rem;
}

 .btn-primary {
    background-color: #00A7CB;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-primary:hover {
        background-color: #0095b7;
        transform: translateY(-1px);
    }

 .text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

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

 .row.gx-4 {
    --bs-gutter-x: 1.5rem;
}

.row.gy-3 {
    --bs-gutter-y: 1rem;
}

 @media (max-width: 768px) {
    .auth-container-wide {
        padding: 1rem;
    }

    .auth-card {
        padding: 1rem;
    }

    .auth-form-container {
        padding: 0;
    }
}

:root {
    --deep-blue: #1B3C69;
    --turquoise: #00A7CB;
    --orange: #FF7F27;
    --green: #4CAF50;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #677284;
    --dark-gray: #2C3E50;
}

body {
    background-color: var(--light-gray);
    font-family: 'Cairo', sans-serif;
}

.survey-card-create {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin: 2rem auto;
    border: none;
}

    .survey-card-create .card-header {
        background: var(--deep-blue);
        color: var(--white);
        border-radius: 15px 15px 0 0;
        padding: 2rem;
        text-align: center;
        border: none;
    }
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    overflow-x: auto;  
    white-space: nowrap;
    padding: 1rem; 
}

    .step-indicator::-webkit-scrollbar {
        height: 8px;
    }

    .step-indicator::-webkit-scrollbar-thumb {
        background-color: var(--turquoise);
        border-radius: 4px;
    }

    .step-indicator::-webkit-scrollbar-track {
        background-color: var(--light-gray);
    }


    .step-indicator::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--light-gray);
        transform: translateY(-50%);
        z-index: 1;
    }

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

    .step.active {
        background: var(--turquoise);
        border-color: var(--turquoise);
        color: var(--white);
        transform: scale(1.2);
    }

    .step.completed {
        background: var(--green);
        border-color: var(--green);
        color: var(--white);
    }

.criterion-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: none;
}

.criterion-header {
    background-color: var(--deep-blue);
    color: var(--white);
    border-radius: 12px 12px 0 0;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.criterion-number {
    background-color: var(--turquoise);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.question-card {
    background-color: var(--light-gray);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    position: relative;
}

.answer-container {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-right: 3px solid var(--turquoise);
}

.btn-circle {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .step-content.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-help {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--white);
    cursor: pointer;
}

.help-text {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: var(--light-gray);
    border-radius: 4px;
    font-size: 0.875rem;
}

.remove-btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;  
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    border: 1px solid #dc3545 !important;
    color: #dc3545 !important;
    transition: all 0.3s ease !important;
    z-index: 5 !important;
}

    .remove-btn:hover {
        background-color: #dc3545 !important;
        color: #fff !important;
        transform: scale(1.1) !important;
    }

.remove-answer {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    border: 1px solid #dc3545 !important;
    color: #dc3545 !important;
    transition: all 0.3s ease !important;
}

    .remove-answer:hover {
        background-color: #dc3545 !important;
        color: #fff !important;
        transform: scale(1.1) !important;
    }

 .question-card {
    background-color: var(--light-gray);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem; 
    position: relative;
    transition: all 0.3s ease;
}

    .question-card:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

 .answer-container {
    position: relative;
    padding: 1.5rem;
    padding-left: 3rem; 
}

 .questions-container > .question-card {
    border-right: 4px solid var(--turquoise);
}

.question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    line-height: 1.6;
    text-align: right;
}