:root {
    --primary-color: #cc0000;
    --secondary-color: #fff;
    --hover-color: #a00000;
}

.img-logo {
    width: 150px;
}

.custom-nav-header {
    padding: 15px 0 8px 0 !important;
}

.calendar-day.today {
    display: flex;
    gap: 7px;
    flex-direction: column;
}

.custom-cart {
    height: 60px !important;
    width: 55px !important;
    border: 1px solid #e9ecef !important;
}

small.today-label {
    padding: 1px 10px 1px 10px;
    border-radius: 8px;
    background: #cc000026;
    font-size: 11px;
}

.form-control {
    padding: 12px 16px !important;

}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.weekend {
    opacity: 0 !important;
}

.bg-unset {
    background: transparent !important;
}

.custom-middle-index {
    height: 5rem;
    width: 5rem;
    object-fit: cover;
    /* border-radius: 8px; */
}

.section-title-custom {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.about-hero-section {
    padding: 70px 0;
}

.input-group {
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;

}

.mt-custom {
    margin-top: 0.15rem !important;
}

.reservation-filters {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.reservation-filters .btn {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
}

.reservation-filters .btn:hover {
    background-color: #e9ecef;
    color: #495057;
    transform: scale(1.05);
}

.reservation-filters .btn.active {
    background: linear-gradient(135deg, #cc0000 0%, #cc000096 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.text-left {
    text-align: left;
}

.progress-circle-inner {
    width: 62px;
    height: 62px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    font-size: 19px !important;
    color: #343a40;
}

.progress-circle.score-good {
    background: conic-gradient(#198754 var(--percentage), #e9ecef var(--percentage));
}

.progress-circle.score-medium {
    background: conic-gradient(#ffc107 var(--percentage), #e9ecef var(--percentage));
}

.progress-circle.score-low {
    background: conic-gradient(#dc3545 var(--percentage), #e9ecef var(--percentage));
}

.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.hero-section h1 {
    color: var(--dark-text);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    color: #6c757d;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
    padding: 11px 35px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(204, 0, 0, 0.2);
}

.hero-section img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 5px solid var(--white);
    position: relative;
}

.hero-section img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 70px rgba(204, 0, 0, 0.15);
}

.hero-section .col-lg-6:last-child {
    position: relative;
}

.hero-section .col-lg-6:last-child::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    border-radius: 8px;
    opacity: 0.1;
    z-index: -1;
}

.d-flex.gap-3 {
    gap: 1rem !important;
    flex-wrap: wrap;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.pr-0 {
    padding-right: 0 !important;
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-section h1,
.hero-section .lead,
.hero-section .d-flex {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-section .lead {
    animation-delay: 0.2s;
}

.hero-section .d-flex {
    animation-delay: 0.4s;
}

.hero-section img {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* Badge décoratif */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-outline-secondary {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline-secondary {
        width: 100%;
        text-align: center;
    }
}

.features-section {
    background: linear-gradient(180deg, 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.bg-1 {
    background: #ffffff !important;
}

.bg-2 {
    background: #fbfbfb !important;
}

.features-section .row {
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 999;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(204, 0, 0, 0.03) 100%);
    transition: bottom 0.4s ease;
    z-index: 0;
}

.feature-card:hover::after {
    bottom: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 20px 40px rgba(204, 0, 0, 0.15); */
    border-color: rgba(204, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    /* box-shadow: 0 10px 25px var(--shadow-color); */
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    /* background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%); */
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.6;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    /* box-shadow: 0 15px 35px rgba(204, 0, 0, 0.25); */
}

.feature-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-card h4 {
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card:hover h4 {
    color: var(--primary-red);
}

.feature-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Animation d'entrée progressive */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.col-md-4:nth-child(1) .feature-card {
    animation-delay: 0.1s;
}

.col-md-4:nth-child(2) .feature-card {
    animation-delay: 0.2s;
}

.col-md-4:nth-child(3) .feature-card {
    animation-delay: 0.3s;
}

/* Badge numérique optionnel */
.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 5px 15px var(--shadow-color);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-badge {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .feature-card {
        padding: 35px 25px;
        margin-bottom: 20px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 1.8rem;
    }

    .feature-card h4 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }
}

/* Version alternative avec effet de brillance */
.feature-card-shine {
    position: relative;
    overflow: hidden;
}

.feature-card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover.feature-card-shine::after {
    transform: rotate(45deg) translateX(100%);
}


.cameras-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0 !important;
    position: relative;
}

.cameras-section .text-center {
    margin-bottom: 4rem !important;
}

.cameras-section h2 {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.cameras-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    border-radius: 2px;
}

.cameras-section>.container>.text-center>p {
    font-size: 1.15rem;
    color: #6c757d;
    margin-top: 1.5rem;
}

/* Camera Card Styles */
.camera-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.camera-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.camera-card:hover::before {
    transform: scaleX(1);
}

.camera-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(204, 0, 0, 0.15);
    border-color: rgba(204, 0, 0, 0.1);
}

.camera-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
}

.camera-card:hover .camera-card-img {
    transform: scale(1.08);
}

.camera-card>img {
    position: relative;
    overflow: hidden;
}

.camera-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hero-section-custom h1,
.hero-section-custom .lead,
.hero-section-custom .d-flex {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-section-custom h1 {
    color: var(--dark-text);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section-custom .lead {
    color: #6c757d;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.camera-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.camera-card:hover .camera-card-title {
    color: var(--primary-red);
}

.camera-card-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.camera-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 2px solid #f0f0f0;
    margin-bottom: 15px;
}

.camera-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-red);
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.camera-price small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
}

/* Badge de disponibilité */
.availability-badge {
    padding: 2px 6px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    letter-spacing: 0.5px;
}

.availability-badge.available {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.availability-badge.available i {
    color: #28a745;
    animation: pulse 2s infinite;
}

.availability-badge.unavailable {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.availability-badge.unavailable i {
    color: #dc3545;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Bouton de la carte */
.camera-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
    padding: 14px 25px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px var(--shadow-color);
}

.camera-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(204, 0, 0, 0.25);
}

.camera-card .btn-primary i {
    transition: transform 0.3s ease;
}

.camera-card .btn-primary:hover i {
    transform: translateX(3px);
}

/* Badge "Popular" optionnel */
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 5px 15px var(--shadow-color);
    animation: fadeInDown 0.6s ease;
}

/* Animations d'entrée */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.fade-in.visible {
    opacity: 1;
}

/* Délais d'animation progressifs */
.col-md-6:nth-child(1) .camera-card {
    animation-delay: 0.1s;
}

.col-md-6:nth-child(2) .camera-card {
    animation-delay: 0.2s;
}

.col-md-6:nth-child(3) .camera-card {
    animation-delay: 0.3s;
}

.col-md-6:nth-child(4) .camera-card {
    animation-delay: 0.4s;
}

.col-md-6:nth-child(5) .camera-card {
    animation-delay: 0.5s;
}

.col-md-6:nth-child(6) .camera-card {
    animation-delay: 0.6s;
}

/* Tag de spécifications */
.specs-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 6px;
    border: 1px solid #e9ecef;
}

/* Hover effect sur l'image */
.camera-card>div:first-child {
    position: relative;
    overflow: hidden;
}

.camera-card>div:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.camera-card:hover>div:first-child::after {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .cameras-section {
        padding: 60px 0 !important;
    }

    .cameras-section h2 {
        font-size: 2rem;
    }

    .camera-card-img {
        height: 240px;
    }

    .camera-card-title {
        font-size: 1.2rem;
    }

    .camera-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .cameras-section h2 {
        font-size: 1.75rem;
    }

    .camera-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .camera-price {
        font-size: 1.4rem;
    }

    .camera-card-img {
        height: 220px;
    }
}


@media (max-width: 768px) {
    #cameras-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title-custom::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--light-red));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

.step-card {
    position: relative;
    padding: 40px 30px;
    background: var(--primary-white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 2px solid transparent;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(204, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(204, 0, 0, 0.4);
}

.step-number::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    opacity: 0;
    transition: all 0.3s ease;
}

.step-card:hover .step-number::before {
    opacity: 1;
    transform: scale(1.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: var(--primary-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: rotateY(360deg);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 20px 0 15px;
}

.step-description {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.connector-line {
    position: absolute;
    top: 80px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    z-index: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(30px) translateX(20px);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--primary-white);
    color: var(--primary-red);
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--light-red);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    color: var(--primary-white);
}

.btn-cta:hover::before {
    width: 400px;
    height: 400px;
}

.btn-cta i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(-5px);
}

/* Decorative Elements */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: var(--primary-red);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

.shape-2 {
    bottom: 15%;
    right: 2%;
    width: 150px;
    height: 150px;
    background: var(--primary-red);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation: morph 10s ease-in-out infinite reverse;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(180deg) scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .btn-cta {
        padding: 15px 40px;
        font-size: 1.1rem;
    }

    .step-card {
        margin-bottom: 30px;
    }

    .connector-line {
        display: none;
    }

    .how-it-works-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (min-width: 769px) {
    .step-card-wrapper {
        position: relative;
    }

    .step-card-wrapper:not(:last-child)::after {
        content: '\f061';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: -40px;
        top: 46%;
        transform: translateY(-50%);
        color: var(--primary-red);
        font-size: 2rem;
        z-index: 2;
        opacity: 0.3;
        animation: arrow-pulse 2s ease-in-out infinite;
    }
}

@keyframes arrow-pulse {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-50%) translateX(10px);
        opacity: 0.6;
    }
}

.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Animated background elements */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon-wrapper {
    margin-bottom: 30px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cta-icon {
    font-size: 4rem;
    color: var(--pure-white);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn-cta {
    background: var(--pure-white);
    color: var(--primary-red);
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 3px solid var(--pure-white);
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-red);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn-cta:hover::before {
    width: 400px;
    height: 400px;
}

.btn-cta:hover {
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--pure-white);
}

.btn-cta i,
.btn-cta span {
    position: relative;
    z-index: 1;
}

.btn-cta i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: rotate(360deg);
}

/* Decorative camera icons */
.camera-decor {
    position: absolute;
    color: rgba(255, 255, 255, 0.05);
    font-size: 8rem;
    z-index: 1;
}

.camera-decor-1 {
    top: 10%;
    left: 5%;
    animation: rotate 20s linear infinite;
}

.camera-decor-2 {
    bottom: 15%;
    right: 8%;
    animation: rotate 25s linear infinite reverse;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Trust badges */
.trust-badges {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pure-white);
    font-size: 0.95rem;
    opacity: 0.9;
}

.trust-badge i {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .camera-decor {
        font-size: 5rem;
    }

    .trust-badges {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .cta-title {
        font-size: 1.6rem;
    }

    .cta-icon {
        font-size: 3rem;
    }

    .trust-badge {
        font-size: 0.85rem;
    }
}

.left-all-show {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    border: solid 1px #efefef;
    padding: 15px 20px;
    font-size: 14px;
    box-shadow: rgb(147 147 147 / 10%) 0 1px 15px 1px;
}

/* checkbox  */

.custom-checkbox label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.custom-checkbox label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.custom-checkbox input[type="checkbox"]:checked+label:before {
    background-color: #cc0000;
}

.custom-checkbox label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #cc0000;
    border-radius: 4px;
    background-color: #fff;
}

.custom-checkbox input[type="checkbox"]:checked+label:after {
    content: '\2713';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
}

.checkbox-content {
    display: inline-block;
    border-radius: 3px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    display: flex;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.select2-selection__rendered {
    padding: 10px 16px !important;
}

.select2-container--default .select2-selection--single {
    border: 2px solid #e5e5e5 !important;
    border-radius: 8px !important;
}

.select2-container .select2-selection--single {
    height: unset !important;
}

.select2-container--default .select2-selection--single {
    border: 2px solid #e5e5e5 !important;
    border-radius: 8px !important;
}

.select2-container .select2-selection--single:after {
    content: "\f078";
    display: inline-block;
    opacity: 0.5;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 16px;
    right: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}

.select2-selection__arrow {
    display: none;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #cc0000d5 !important;
}

/* 1. THANH ĐIỀU HƯỚNG CHUNG */
.custom-nav-header {
    /* Đổi shadow-sm thành shadow-lg trong HTML để bóng đổ sâu hơn */
    font-family: 'Arial', sans-serif;
    /* Chọn font chữ hiện đại, rõ ràng */
}

/* 2. LIÊN KẾT MENU CHÍNH */
.custom-menu-link {
    color: var(--white) !important;
    /* padding: 0.5rem 1rem !important; */
    position: relative;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}

/* Hiệu ứng gạch chân/viền dưới sang trọng khi hover */
.custom-menu-link:hover {
    color: var(--primary-red) !important;
}

.custom-menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    /* Độ dày của gạch dưới */
    bottom: 9px;
    left: 42%;
    /* background-color: var(--primary-red); */
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.custom-menu-link:hover::after {
    width: 100%;
    left: 0;
}

/* 3. DROPDOWN KHI HOVER (Rất quan trọng) */
@media (min-width: 992px) {
    .custom-hover-dropdown:hover .custom-dropdown-menu {
        display: block;
        margin-top: 0;
        /* Đảm bảo dính liền với menu trên */
        animation: fadeIn 0.3s ease-out;
        /* Thêm hiệu ứng mờ dần */
    }
}

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

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

/* 4. ĐỊNH DẠNG DROPDOWN MENU */
.custom-dropdown-menu {
    border-radius: 0.5rem;
    min-width: 12rem;
    /* Tăng chiều rộng để sang hơn */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    /* Bóng đổ nổi bật hơn */
    border-top: 3px solid var(--primary-red);
    /* Viền đỏ phía trên tạo điểm nhấn */
}

.custom-dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: background-color 0.2s, color 0.2s;
}

.custom-dropdown-item:hover,
.custom-dropdown-item:focus {
    background-color: var(--primary-red-light);
    /* Màu đỏ nhạt hơn khi hover */
    color: #fff;
}

.dropdown-header {
    font-weight: 700;
    color: var(--primary-red) !important;
}

/* 5. NÚT ĐĂNG NHẬP (Lưu ý: Chỉ áp dụng khi bạn đã thay đổi class trong HTML) */
.custom-btn-red {
    background-color: var(--primary-red) !important;
    color: #fff !important;
    border: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease-in-out;
}

.custom-btn-red:hover {
    background-color: #a00000 !important;
    /* Đỏ đậm hơn khi hover */
}

/* keets thuc */

.categories-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.category-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.category-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.category-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #cc0000 0%, #ff3333 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-box:hover::before {
    transform: scaleX(1);
}

.category-box::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(204, 0, 0, 0.03) 100%);
    transition: top 0.4s ease;
}

.category-box:hover::after {
    top: 0;
}

.status-badge.cancelled.inuse {
    background: rgb(0 105 169) !important;
    color: #ffffff;
}

.category-box:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 20px 40px rgba(204, 0, 0, 0.15); */
    border-color: rgba(204, 0, 0, 0.2);
}

.img-product {
    height: 15rem;
    width: 15rem;
    /* border-radius: 25px !important; */
}

.custom-cta-section-rental {
    background: url('https://cspl-corpweb-site-asia-production.s3.amazonaws.com/media/image/2025/03/11/fc909de02e89478285532e6ce6b87174_1920x750-MASTER1.jpg');
}

.category-icon-wrapper {
    width: 15rem;
    height: 15rem;
    margin: 0 auto 25px;
    /* background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%); */
    /* border-radius: 25px; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    /* box-shadow: 0 10px 30px rgba(204, 0, 0, 0.25); */
}

.category-box:hover .category-icon-wrapper {
    /* transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(204, 0, 0, 0.35); */
}

.category-icon {
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.4s ease;
}

.category-box:hover .category-icon {
    transform: scale(1.1);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category-box:hover .category-title {
    color: #cc0000;
}

.category-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    min-height: 50px;
}

.category-count {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.category-count .badge {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
}

.category-arrow {
    font-size: 1.5rem;
    color: #cc0000;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-box:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .categories-section {
        padding: 60px 0;
    }

    .category-box {
        padding: 30px 20px;
    }

    .category-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .category-icon {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .category-description {
        font-size: 0.9rem;
        min-height: auto;
    }
}

/* Animation on scroll (optional - requires JS) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.category-box {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.col-md-6:nth-child(1) .category-box {
    animation-delay: 0.1s;
}

.col-md-6:nth-child(2) .category-box {
    animation-delay: 0.2s;
}

.col-md-6:nth-child(3) .category-box {
    animation-delay: 0.3s;
}

.col-md-6:nth-child(4) .category-box {
    animation-delay: 0.4s;
}

.col-md-6:nth-child(5) .category-box {
    animation-delay: 0.5s;
}

.col-md-6:nth-child(6) .category-box {
    animation-delay: 0.6s;
}

/* Hover effects for icons */
.category-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: #fff !important;
    /* background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%); */
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(15px);
    z-index: -1;
}

.category-box:hover .category-icon-wrapper::before {
    opacity: 0.6;
}

.price-section.mb-4 {
    display: none;
}

.product-price {
    display: none;
}

.reservation-status.past.d-block.mb-2 {
    white-space: nowrap;
}

/* #reservations-list .col-md-2.text-center.mb-3.mb-md-0 {
    display: none;
} */
.product-status.status-limited {
    width: 6rem;
}

.issue-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.issue-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.issue-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.issue-stat-card .stat-info {
    flex: 1;
}

.issue-stat-card .stat-number {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #212529;
}

.issue-stat-card .stat-label {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* Issues List */
.issues-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Issue Card */
.issue-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.issue-card:hover {
    box-shadow: 0 5px 25px rgba(204, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Issue Header */
.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.03), rgba(255, 255, 255, 0.5));
    border-bottom: 1px solid #f0f0f0;
}

.issue-header-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.issue-device-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.issue-device-info h5 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
}

.issue-code {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 8px 0;
    font-family: 'Courier New', monospace;
}

.badge-reservation {
    background: rgba(204, 0, 0, 0.1);
    color: #cc0000;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

/* Status Badges */
.badge-status {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ff8c00;
}

.status-repairing {
    background: rgba(0, 123, 255, 0.15);
    color: #007bff;
}

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

/* Issue Body */
.issue-body {
    padding: 24px;
}

.issue-section {
    margin-bottom: 24px;
}

.issue-section:last-child {
    margin-bottom: 0;
}

.issue-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.issue-section-title i {
    color: #cc0000;
}

.issue-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Severity Badge */
.issue-severity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.severity-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.severity-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.severity-high {
    background: rgba(204, 0, 0, 0.1);
    color: #cc0000;
}

.severity-medium {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.severity-low {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

/* Timeline */
.issue-timeline {
    position: relative;
    padding-left: 0;
}

.timeline-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item.completed:not(:last-child)::before {
    background: #28a745;
}

.timeline-item.active:not(:last-child)::before {
    background: linear-gradient(to bottom, #cc0000 0%, #e9ecef 100%);
}

.timeline-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    z-index: 1;
    background: #fff;
    border: 2px solid #e9ecef;
    color: #6c757d;
}

.timeline-item.completed .timeline-marker {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.timeline-item.active .timeline-marker {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
    animation: pulse 2s infinite;
}

.timeline-item.pending .timeline-marker {
    background: #f8f9fa;
    border-color: #dee2e6;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(204, 0, 0, 0);
    }
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
}

.timeline-item.active .timeline-content {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), rgba(255, 255, 255, 0.5));
    border: 1px solid rgba(204, 0, 0, 0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-header strong {
    font-size: 14px;
    color: #212529;
}

.timeline-date {
    font-size: 12px;
    color: #6c757d;
}

.timeline-description {
    font-size: 13px;
    color: #495057;
    margin: 0;
    line-height: 1.5;
}

/* Cost Breakdown */
.cost-breakdown {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.cost-item.total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #cc0000;
}

.cost-label {
    font-size: 14px;
    color: #495057;
}

.cost-value {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

/* Support Info */
.support-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.support-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.support-item i {
    font-size: 20px;
    color: #cc0000;
    margin-top: 2px;
}

.support-item strong {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 4px;
}

.support-item p {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}

/* Issue Footer */
.issue-footer {
    padding: 16px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.issue-footer .btn {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.issue-footer .btn-outline-primary {
    border-color: #cc0000;
    color: #cc0000;
}

.issue-footer .btn-outline-primary:hover {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.1), rgba(204, 0, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 48px;
    color: #cc0000;
    opacity: 0.5;
}

.empty-state h5 {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .issue-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .issue-header-left {
        width: 100%;
    }

    .issue-device-image {
        width: 60px;
        height: 60px;
    }

    .support-info {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        padding: 10px 12px;
    }

    .issue-footer {
        flex-direction: column;
    }

    .issue-footer .btn {
        width: 100%;
    }
}

.reported-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.03), rgba(255, 255, 255, 0.5));
    border-radius: 12px;
    border: 1px solid rgba(204, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.1);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(204, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cc0000;
    font-size: 18px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

/* Expected Timeline (Pending) */
.expected-timeline {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), rgba(255, 255, 255, 0.5));
    border-radius: 12px;
}

.expected-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.expected-item i {
    font-size: 24px;
    color: #cc0000;
}

.expected-item strong {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 4px;
}

.expected-item span {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
}

.expected-divider {
    font-size: 24px;
    color: #dee2e6;
}

/* Completion Banner (Completed) */
.completion-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border-radius: 16px;
    border: 2px solid rgba(40, 167, 69, 0.2);
    margin-bottom: 24px;
}

.completion-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    flex-shrink: 0;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }
}

.completion-info h5 {
    font-size: 22px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 8px;
}

.completion-info p {
    font-size: 15px;
    color: #495057;
    margin: 0;
    line-height: 1.6;
}

/* Repair Summary (Completed) */
.repair-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.repair-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #28a745;
}

.repair-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.repair-icon.success {
    background: #28a745;
    color: #fff;
}

.repair-content strong {
    display: block;
    font-size: 15px;
    color: #212529;
    margin-bottom: 6px;
}

.repair-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Warranty Card (Completed) */
.warranty-card {
    border: 2px solid #28a745;
    border-radius: 12px;
    overflow: hidden;
}

.warranty-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
}

.warranty-header i {
    font-size: 24px;
}

.warranty-body {
    padding: 20px;
    background: #fff;
}

.warranty-body p {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
}

.warranty-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.warranty-body ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: #495057;
}

.warranty-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
}

.warranty-date {
    padding: 12px 16px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
}

.warranty-date strong {
    color: #28a745;
}

/* Pickup Instructions (Completed) */
.pickup-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pickup-step {
    display: flex;
    gap: 16px;
    align-items: start;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cc0000, #ff3333);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-content strong {
    display: block;
    font-size: 15px;
    color: #212529;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Technician Card (Completed) */
.technician-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.03), rgba(255, 255, 255, 0.5));
    border-radius: 12px;
    border: 1px solid rgba(204, 0, 0, 0.1);
}

.technician-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cc0000, #ff3333);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.2);
}

.technician-info {
    flex: 1;
}

.technician-info h6 {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.technician-info p {
    font-size: 14px;
    color: #495057;
    margin-bottom: 6px;
}

.technician-info p i {
    width: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reported-info-grid {
        grid-template-columns: 1fr;
    }

    .expected-timeline {
        flex-direction: column;
        align-items: stretch;
    }

    .expected-divider {
        transform: rotate(90deg);
        align-self: center;
    }

    .completion-banner {
        flex-direction: column;
        text-align: center;
    }

    .technician-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Cost Item Discount */
.cost-item.discount {
    background: rgba(40, 167, 69, 0.05);
    padding: 12px;
    border-radius: 6px;
    margin: 8px 0;
}


/* Account Type Modal Styles */
.btn-account-type {
    background: #fff;
    border: 2px solid #e5e5e5;
    padding: 15px;
    transition: all 0.3s ease;
    text-align: left;
}

.btn-account-type:hover {
    border-color: #cc0000;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.15);
}

.btn-account-type .icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    border-radius: 8px;
    overflow: hidden;
}

.modal-header.bg-danger {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%) !important;
}

.rental-hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
}

.filter-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.block font-16pt mb-2 color-text-modal-event fw-bold mb-3 {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cc0000;
}

.filter-body {
    font-size: 0.9rem;
}

.form-check {
    margin-bottom: 10px;
}

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

.sort-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(204, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 295px;
    object-fit: cover;
}

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #cc0000;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #cc0000;
    margin-bottom: 15px;
}

.product-price small {
    font-size: 0.8rem;
    color: #6c757d;
}

.product-status {
    display: inline-block;
    padding: 0px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: #f5f5f5 !important;
}

#nav-rental .dropdown-toggle::after {
    margin-left: 0 !important;
}

.status-available {
    background: rgba(40, 167, 69, 0.1);
    color: #51a21f;
}

#camera-specs-content ul {
    padding-left: 0 !important;
}

#camera-specs-content ul li::before {
    content: "\f05d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #28a745;
    margin-right: 10px;
}

#edit-profile-form .alert.alert-success {
    background: var(--success) !important;
    color: #fff !important;
}

#edit-profile-form .alert.alert-danger {
    background: var(--danger);
    color: #fff !important;
}

.flatpickr-calendar.open {
    display: inline-block;
    z-index: 999999999 !important;
}

.spinner-wrapper {
    display: flex;
    justify-content: center;
}

.w-sprin {
    width: 27%;
    height: 100%;
    background-color: white;
    opacity: 70%;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 768px) {
    .rental-hero-section {
        padding: 40px 0;
    }

    .filter-card {
        margin-bottom: 20px;
    }
}

.about-hero-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
}

.mission-section .value-item {
    display: flex;
    align-items: center;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-control.qty-input {
    padding: 5px 16px !important;
}

.qty-input {
    width: 70px;
    text-align: center;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    background: #f8f8f8;
    font-size: 20px;
    cursor: pointer;
    border-radius: 33px;
}

.qty-btn:hover {
    background: #e6e6e6;
}

.team-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(204, 0, 0, 0.15);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #cc0000;
}

.team-social a {
    color: #6c757d;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #cc0000;
}

@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

.contact-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
}

.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(204, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #cc0000, #ff3333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.input-group-text {
    background: #ffffff;
    border-right: none;
}

.input-group .form-control,
.input-group .input-group-text {
    border-color: #dee2e6;
}

.input-group .form-control:focus {
    /* border-color: #cc0000; */
    box-shadow: none;
}

.map-wrapper {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(204, 0, 0, 0.1);
    color: #cc0000;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(204, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

.calendar-day {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day.selected {
    background-color: #0d6efd !important;
    color: white !important;
    font-weight: bold;
}

.calendar-day.in-range {
    background-color: rgba(13, 110, 253, 0.2) !important;
    color: #0d6efd !important;
}

.calendar-day.range-start {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.calendar-day.range-end {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.calendar-day.available:hover {
    background-color: #28a745;
    border: 1px solid #4caf50;
    color: #ffff;
}

/* Icône calendrier */
.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.position-relative {
    position: relative;
}

/* Styles Flatpickr personnalisés */
.flatpickr-input {
    cursor: pointer;
}

.flatpickr-calendar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.calendar-day.selected-range {
    background-color: #28a745;
    border: 1px solid #4caf50;
    color: #ffff;
}

.calendar-day.selected-start {
    background-color: #4caf50;
    color: white;
}

.calendar-day.selected-range {
    background-color: #90ee90 !important;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
}

.calendar-day.disabled-day {
    background-color: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
}

.calendar-day.selected-range {
    background-color: #28a745 !important;
    border: 1px solid #4caf50;
    color: #ffff;
}

.flatpickr-day.weekend {
    color: #aaa;
    pointer-events: auto;
}

.btn.filter-btn i {
    margin-top: 1px !important;
}

.custom-status-bage-profile {
    top: 0px !important;
    right: 5px;
}

.flatpickr-day.nextMonthDay:hover {
    cursor: not-allowed !important;
    background-color: transparent !important;
    border: transparent !important;
}

.flatpickr-day.nextMonthDay {
    cursor: not-allowed !important;
    opacity: 0;
}

.flatpickr-day.weekend {
    cursor: not-allowed !important;
}

.flatpickr-day.weekend:hover {
    cursor: not-allowed !important;
    background-color: transparent !important;
    border: transparent !important;
}

.btn.btn-secondary {
    border-radius: 50px !important;
}

.modal-footer .btn.btn-secondary {
    padding: 9px 35px !important;
}

/* Galerie d'images principales */
.main-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.main-camera-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-camera-image:hover {
    transform: scale(1.05);
}

.product-card {
    position: relative;
}

.title-cb-space {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
    text-align: left;
}

/* Galerie de miniatures */
.thumbnail-gallery {
    margin-top: 15px;
}

.thumbnail-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    /* border-color: var(--primary-red); */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.2);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item.active {
    /* border-color: var(--primary-red); */
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
}

.thumbnail-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(204, 0, 0, 0.1);
}

.main-camera-image {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#nav-rental,
#nav-profile,
#link-rental-service {
    display: none !important;
}

body.logged-in #nav-rental,
body.logged-in #nav-profile,
body.logged-in #nav-car {
    display: block !important;
}

body.logged-out #link-rental-service {
    display: block !important;
}

.product-status {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
}

.input-group {
    flex-wrap: nowrap;
}

.registration-modal {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(204, 0, 0, 0.15);
    overflow: hidden;
}

.registration-modal .modal-body {
    padding: 3rem 2rem;
}

/* Animation du cercle de succès */
.success-animation-custom {
    position: relative;
    display: inline-block;
}

.success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3);
}

.success-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #cc0000;
    opacity: 0.3;
    animation: ripple 1.5s infinite;
}

.success-circle i {
    font-size: 2.5rem;
    color: #fff;
    animation: checkmark 0.8s ease-in-out 0.3s both;
}

/* Animations */
@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Titre personnalisé */
.modal-title-custom {
    font-size: 1.75rem;
    font-weight: 700;
    color: #cc0000;
    margin: 0;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Message */
.modal-message {
    font-size: 1rem;
    color: #525252;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.modal-message strong {
    color: #cc0000;
    font-weight: 600;
}

/* Boîte d'information */
.info-box {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05) 0%, rgba(255, 51, 51, 0.05) 100%);
    border-left: 4px solid #cc0000;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #525252;
    display: flex;
    align-items: center;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.info-box i {
    color: #cc0000;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Bouton Canon */
.btn-canon-primary {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn-canon-primary:hover {
    background: linear-gradient(135deg, #990000 0%, #cc0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
    color: #fff;
}

.btn-canon-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(204, 0, 0, 0.3);
}

/* Animation fade in up */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .registration-modal .modal-body {
        padding: 2rem 1.5rem;
    }

    .success-circle {
        width: 70px;
        height: 70px;
    }

    .success-circle i {
        font-size: 2rem;
    }

    .modal-title-custom {
        font-size: 1.5rem;
    }

    .btn-canon-primary {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
}

.filter-card.mb-3.p-0 {
    background: transparent !important;
    box-shadow: unset !important;
    border: unset !important;
}

.product-image.loaded {
    height: 230px !important;
}

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

.custom-toast {
    min-width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(204, 0, 0, 0.15);
    border-left: 5px solid #cc0000;
    overflow: hidden;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

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

.custom-toast .toast-header {
    background: linear-gradient(135deg, #cc0000, #ff3333);
    color: white;
    border: none;
    padding: 12px 16px;
    font-weight: 600;
}

.custom-toast .toast-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.custom-toast .toast-body {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
}

.toast-product-info {
    flex: 1;
}

.toast-product-name {
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
    font-size: 14px;
}

.toast-product-message {
    color: #28a745;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toast-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 8px;
}

.toast-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 8px 12px;
    font-weight: 600;
}

/* Cart Dropdown */
.cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nav-item:hover .cart-dropdown,
.cart-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.status-badge.contract {
    background: rgb(255 116 13) !important;
}

.cart-dropdown-header {
    padding: 16px 20px;
    /* background: linear-gradient(135deg, #cc0000, #ff3333); */
    background: #cc0000;
    color: white;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.cart-dropdown-header i {
    font-size: 18px;
}

.cart-dropdown-body {
    padding: 16px;
    overflow-y: auto;
    max-height: 320px;
    flex: 1;
}

.cart-dropdown-body::-webkit-scrollbar {
    width: 6px;
}

.cart-dropdown-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-dropdown-body::-webkit-scrollbar-thumb {
    background: #cc0000;
    border-radius: 10px;
}

.z-index-cart {
    z-index: 9 !important;
}

.cart-dropdown-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

.cart-dropdown-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.1);
    transform: translateX(-4px);
}

.cart-dropdown-item:last-child {
    margin-bottom: 0;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-name {
    font-weight: 600;
    color: #212529;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.status-badge {
    padding: 1px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

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

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

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

.cart-item-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.cart-item-remove:hover {
    background: #dc3545;
    color: white;
    transform: rotate(90deg);
}

.cart-dropdown-footer {
    padding: 16px 20px;
    border-top: 2px solid #f0f0f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    gap: 15px;
    /* padding: 12px; */
    /* background: rgba(204, 0, 0, 0.05); */
    border-radius: 8px;
}

.cart-summary-label {
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-summary-value {
    font-weight: 700;
    color: #cc0000;
    font-size: 18px;
}

.cart-dropdown-actions {
    display: flex;
    gap: 10px;
}

.cart-dropdown-actions .btn {
    flex: 1;
    font-weight: 600;
    border-radius: 50px;
    padding: 9px 25px;
    transition: all 0.3s ease;
    background: #cc0000 !important;
}

.btn-view-cart {
    background: linear-gradient(135deg, #cc0000, #ff3333);
    color: white;
    border: none;
}

.btn-view-cart:hover {
    background: linear-gradient(135deg, #990000, #cc0000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.btn-continue-shopping {
    background: white;
    color: #cc0000;
    border: 2px solid #cc0000;
}

.btn-continue-shopping:hover {
    background: #cc0000;
    color: white;
    transform: translateY(-2px);
}

/* Empty Cart State */
.cart-dropdown-empty {
    text-align: center;
    padding: 40px 20px;
}

.cart-dropdown-empty i {
    /* font-size: 48px; */
    color: #dee2e6;
    /* margin-bottom: 16px; */
}

.cart-dropdown-empty h5 {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-dropdown-empty p {
    color: #adb5bd;
    font-size: 14px;
    margin-bottom: 20px;
}

.cart-dropdown-empty .btn {
    background: linear-gradient(135deg, #cc0000, #ff3333);
    color: white;
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
}

/* Cart Icon Wrapper - Enhanced */
.cart-icon-wrapper {
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover .cart-icon-wrapper {
    background: rgba(204, 0, 0, 0.1);
}

.cart-icon-wrapper i {
    color: #cc0000;
    transition: all 0.3s ease;
}

.nav-item:hover .cart-icon-wrapper i {
    transform: scale(1.1);
}

#cart-count {
    background: linear-gradient(135deg, #cc0000, #ff3333);
    font-weight: 700;
    /* animation: pulse 2s infinite; */
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, 0) scale(1);
    }

    50% {
        transform: translate(-50%, 0) scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .cart-dropdown {
        width: 340px;
        right: -40px;
    }

    .custom-toast {
        min-width: 300px;
    }

    .toast-container {
        right: 10px;
        left: 10px;
    }
}

/* Loading State */
.cart-loading {
    text-align: center;
    padding: 30px;
    color: #6c757d;
}

.cart-loading i {
    font-size: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Date Badge in Cart Item */
.cart-item-dates {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item-dates i {
    font-size: 10px;
}

.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.nav-link {
    color: #212529;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: #cc0000;
    background: rgba(204, 0, 0, 0.05);
}

.nav-link i {
    color: #cc0000;
}

.custom-dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.custom-dropdown-item:hover {
    background: rgba(204, 0, 0, 0.05);
    color: #cc0000;
    /* padding-left: 25px; */
}

.custom-icon-red {
    color: #cc0000;
}

.product-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.product-card-actions .btn-primary {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.product-card-actions .btn-add-cart {
    width: 45px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 2px;
    transition: all 0.3s ease;
}

.product-card-actions .btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.2);
}

.product-card-actions .btn-add-cart.btn-success {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.fs-14 {
    font-size: 13px !important;
}

.cart-item-info .cart-item-name {
    margin-bottom: 0;
}

.cart-item-info {
    gap: 5px;
}

.btn-view-cart {
    color: #fff !important;
}

.category-icon-wrapper img {
    object-fit: contain;
}

.product-card img {
    object-fit: contain;
}

.custom-card-grid {
    gap: 30px !important;
    margin-top: 30px;
}

.custom-card-grid .user-card {
    background: #fff !important;
    height: 40vh !important;
}

.reservation-image img {
    object-fit: contain;
}

.profile-sidebar .nav-link:hover i,
.nav-item-custom .nav-link-custom.active i {
    color: #fff !important;
}

.w-50 {
    width: 50% !important;
}

.status-badge.custom-status-bage-profile.cancelled.approved {
    background-color: #28a745 !important;
}

#camera-specs-content p {
    margin-bottom: 0 !important;
}

.user-info-card {
    background: var(--secondary-color);
    /* border-radius: 20px; */
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.custom-feedback {
    position: absolute;
    bottom: -28px;
}

.user-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.profile-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 60px;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    border: 3px solid var(--secondary-color);
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(204, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.profile-avatar-wrapper:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.upload-overlay span {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.user-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.user-email {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.btn-change-avatar {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.btn-change-avatar:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

.btn-change-avatar i {
    margin-right: 8px;
}

#fileInput {
    display: none;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    /* background: var(--primary-color); */
    color: var(--secondary-color);
    border-radius: 15px 15px 0 0;
    border: none;
}

.modal-title {
    font-weight: 700;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.preview-container {
    width: 250px;
    height: 250px;
    margin: 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-upload {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    background: var(--hover-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    border-radius: 20px;
    padding: 10px 25px;
    font-weight: 600;
}

.upload-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

.upload-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Loading Spinner */
.spinner-wrapper {
    /* display: none; */
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#reservations-list {
    position: relative;
}

.spinner-wrapper.active {
    display: flex;
}

.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-color: var(--primary-color);
    border-right-color: transparent;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.toast-header {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 10px 10px 0 0;
}

.toast-header .btn-close {
    filter: brightness(0) invert(1);
}

/* :root {
    --canon-red: #cc0000;
    --canon-dark-red: #990000;
    --canon-light-red: #ff0000;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
} */

.region-modal-premium {
    border-radius: 24px;
    border: none;
    background: transparent;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

.modal-header-premium {
    position: relative;
    background: linear-gradient(135deg, #cc0000 0%, #990000 50%, #cc0000 100%);
    background-size: 200% 200%;
    padding: 3rem 2rem 2.5rem;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    text-align: center;
}

.header-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%,
            rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.header-content {
    position: relative;
    z-index: 2;
}

.icon-badge-premium {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.icon-badge-premium i {
    font-size: 2rem;
    color: #fff;
}

.modal-title-premium {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

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

.modal-body-premium {
    padding: 2.5rem;
    background: #ffffff;
}

.region-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    /* margin-bottom: 2rem; */
}

.region-card-premium {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    /* height: 320px; */
}

.region-card-premium::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--canon-red), var(--canon-dark-red));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.region-card-premium:hover::before {
    opacity: 1;
}

.region-card-premium:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(204, 0, 0, 0.3);
}

.region-card-premium.selected {
    border-color: transparent;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    box-shadow: 0 20px 60px rgba(204, 0, 0, 0.4);
    transform: translateY(-8px) scale(1.03);
}

.region-card-premium.selected::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.region-card-premium:hover .card-glow,
.region-card-premium.selected .card-glow {
    opacity: 1;
    animation: rotateGlow 8s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 100%);
    transition: left 0.7s ease;
}

.region-card-premium:hover .card-shine {
    left: 100%;
}

.region-illustration {
    height: 120px;
    background: linear-gradient(180deg, #ffeef0 0%, #fff 100%);
    padding: 2rem 1.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.region-card-premium.selected .region-illustration {
    background: linear-gradient(180deg, #ffd6d9 0%, #ffe6e6 100%);
}

.city-skyline {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 60px;
    gap: 8px;
    position: relative;
}

.building {
    background: var(--canon-red);
    opacity: 0.8;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.5s ease;
}

.region-card-premium:hover .building {
    opacity: 1;
}

.building::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.building-1 {
    width: 30px;
    height: 45px;
    animation-delay: 0s;
}

.building-2 {
    width: 25px;
    height: 60px;
    animation-delay: 0.1s;
}

.building-3 {
    width: 35px;
    height: 50px;
    animation-delay: 0.2s;
}

.building-4 {
    width: 28px;
    height: 55px;
    animation-delay: 0.3s;
}

.building-5 {
    width: 32px;
    height: 40px;
    animation-delay: 0.4s;
}

.region-card-premium:hover .building {
    animation: buildingPulse 2s ease-in-out infinite;
}

@keyframes buildingPulse {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.1);
    }
}

/* ========== REGION CONTENT ========== */
.region-content {
    padding: 1.5rem;
}

.region-header-premium {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.region-icon-premium {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--canon-red), var(--canon-dark-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.region-card-premium:hover .region-name-premium,
.region-card-premium:hover .region-location,
.region-card-premium:hover .region-location i,
.region-card-premium:hover .feature-item i,
.region-card-premium:hover .feature-item span {
    color: #fff !important;
}

.region-card-premium:hover .feature-item {
    background: rgb(215 212 212 / 36%) !important;
}

.region-card-premium.selected .region-name-premium,
.region-card-premium.selected .region-location,
.region-card-premium.selected .region-location i,
.region-card-premium.selected .feature-item i,
.region-card-premium.selected .feature-item span {
    color: #fff !important;
}

.region-icon-premium i {
    font-size: 1.5rem;
    color: #fff;
}

.region-text {
    flex: 1;
}

.region-name-premium {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.5px;
}

.region-location {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    display: flex;
    /* align-items: center; */
    gap: 0.5rem;
    line-height: 20px;
}

.region-location i {
    color: var(--canon-red);
    font-size: 0.85rem;
}

/* ========== FEATURES ========== */
.region-features {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #495057;
    background: rgba(204, 0, 0, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.region-card-premium:hover .feature-item {
    background: rgba(204, 0, 0, 0.1);
}

.feature-item i {
    color: var(--canon-red);
    font-size: 1rem;
}

/* ========== SELECTION INDICATOR ========== */
.selection-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.region-card-premium.selected .selection-indicator {
    opacity: 1;
    transform: scale(1);
}

.check-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.5);
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(40, 167, 69, 0.5);
    }

    50% {
        box-shadow: 0 5px 30px rgba(40, 167, 69, 0.8);
    }
}

.check-circle i {
    color: #fff;
    font-size: 1.25rem;
}

/* ========== INFO BANNER PREMIUM ========== */
.info-banner-premium {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--canon-red);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--canon-red), var(--canon-dark-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-wrapper i {
    font-size: 1.5rem;
    color: #fff;
}

.info-text strong {
    display: block;
    color: #212529;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* ========== FOOTER PREMIUM ========== */
.modal-footer-premium {
    padding: 2rem 2.5rem 2.5rem;
    background: #ffffff;
    border-top: none;
    border-radius: 0 0 24px 24px;
    display: flex;
    justify-content: center;
}

.btn-premium-confirm {
    position: relative;
    background: linear-gradient(135deg, var(--canon-red) 0%, var(--canon-dark-red) 100%);
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 280px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.4);
}

.btn-premium-confirm:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-premium-confirm:disabled {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #adb5bd;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-premium-confirm:hover:not(:disabled) .btn-glow {
    width: 300px;
    height: 300px;
}

/* ========== SUCCESS OVERLAY ========== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-animation {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.show .success-animation {
    transform: scale(1);
}

.success-checkmark {
    margin: 0 auto 1.5rem;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #28a745;
    margin: 0 auto;
}

.icon-line {
    height: 5px;
    background-color: #28a745;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: checkTip 0.75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: checkLong 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(40, 167, 69, 0.2);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #fff;
}

@keyframes checkTip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes checkLong {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.success-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.success-message {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .modal-lg {
        max-width: 95%;
    }

    .region-grid-premium {
        grid-template-columns: 1fr;
    }

    .modal-title-premium {
        font-size: 1.5rem;
    }

    .modal-body-premium {
        padding: 1.5rem;
    }

    .btn-premium-confirm {
        min-width: 100%;
    }
}

/* css hợp đồng */

.contract-doc {
    font-family: 'Times New Roman', Times, serif;
    font-size: 13pt;
    /* Kích thước chữ chuẩn văn bản */
    line-height: 1.5;
    /* Giãn dòng */
    max-width: 850px;
    /* Giới hạn chiều rộng cho dễ đọc */
    margin-top: -88px;
}

.title-main {
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
    margin-bottom: 0;
    color: #000;
}

.title-sub {
    text-align: left;
    font-size: 13pt;
    margin-top: 0;
    margin-bottom: 0;
}

.section-center {
    margin: 0;
}

.party-title {
    font-weight: bold;
    margin: 0;
}

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

.info-table td {
    padding: 2px 0;
}

.info-label {
    width: 30%;
    padding-right: 10px;
    text-align: left;
    font-size: 13pt;
    color: #000;
    font-weight: bold;
}

.machine-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 12pt;
}

.machine-table th,
.machine-table td {
    border: 1px solid #000;
    padding: 5px;
    text-align: center;
    vertical-align: top;
}

.machine-table th {
    background-color: #f7f7f7;
}

.article-title {
    font-weight: bold;
    margin: 0;
}

.indent {
    margin: 0;
}

.list-item {
    margin: 0;
}

.signature-table {
    width: 100%;
}

.signature-table td {
    width: 50%;
    text-align: center;
    vertical-align: top;
    font-weight: bold;
}

.dieu2 {
    margin-top: -20px !important;
}

.ml-3 {
    margin-left: 60px;
}

.signature-line {
    margin-top: 80px;
}

.lh-custom {
    line-height: 15px
}

.address-lh {
    line-height: 20px;
}

.margin-custom {
    margin-top: -50px;
}

.ml-abc {
    margin-left: 30px !important;
}

/* Kết thúc css hợp đồng  */

.active>.page-link,
.page-link.active {
    background-color: #cc0000 !important;
    border-color: #cc0000 !important;
}

#cart-items {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 10px;
}

#cart-items::-webkit-scrollbar-thumb {
    background: #cc0000 !important;
}

#cart-items::-webkit-scrollbar {
    width: 12px;
}

/* Track */
#cart-items::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}

/* Handle */
#cart-items::-webkit-scrollbar-thumb {
    background: #cc0000 !important;
    border-radius: 10px;
}