/* ========================================================= */
/* >>> GLOBAL STYLES — STREAMING WORLD THEME                */
/* ========================================================= */

/* BACKGROUND & FONTS */
body {
    background: linear-gradient(120deg, #0a2046, #06172e);
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* LOGO */
.site-logo-small {
    height: 70px !important;
    width: auto;
}

@media (max-width: 992px) { .site-logo-small { height: 55px; } }
@media (max-width: 576px) { .site-logo-small { height: 42px; } }

/* ========================================================= */
/*                        HERO WRAPPER                        */
/* ========================================================= */

.hero-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    padding: 20px;
}

/* BANNIÈRE HOME */
.hero-banner {
    width: 100%;
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #0e2240;
    margin: 40px 0 20px -10px;
    width: calc(100% + 20px);
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-banner .slider-track { display: flex; height: 100%; }
.hero-banner .slide { flex: 0 0 100%; height: 100%; }

/* NAVIGATION SLIDER */
.hero-banner .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgba(0,0,0,0.25);
    border-radius: 8px;
    padding: 4px 10px;
    cursor: pointer;
    color: #fff;
}

.hero-banner .prev { left: 10px; }
.hero-banner .next { right: 10px; }

/* TITRE SOUS SLIDER */
.banner-title {
    font-size: 18px;
    font-weight: 600;
    margin: 6px 0 0 5px;
}

/* ========================================================= */
/*                      SERVICE CARDS                         */
/* ========================================================= */

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    transition: .25s;
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.06);
    background: rgba(255,255,255,0.20);
    opacity: 0.92;
}

.service-card img {
    height: 55px;
    margin-bottom: 8px;
    object-fit: contain;
}

.service-card span {
    font-size: 15px;
    font-weight: 500;
}

/* ========================================================= */
/*                         FOOTER                             */
/* ========================================================= */

footer,
footer .text-muted,
footer span,
footer p,
footer a {
    color: #ffffff !important;
    opacity: 0.95 !important;
}

footer a:hover {
    opacity: 1 !important;
    text-decoration: underline;
}

/* ========================================================= */
/*                    HEADER / NAVIGATION                     */
/* ========================================================= */

.navbar-dark .navbar-nav .nav-link {
    color: #eaf2ff !important;
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255,255,255,0.9);
}

/* ========================================================= */
/*                     PRODUCT / FORMS                        */
/* ========================================================= */

.product-info h2,
.product-info label,
.product-info .price,
.product-info .product-description {
    color: #fff !important;
}

.product-info select,
.product-info input {
    color: #000 !important;
}

/* ========================================================= */
/*                  SIGNUP / LOGIN PAGES                      */
/* ========================================================= */

.signup-page .login-form label,
.signup-page .login-form input,
.signup-page .login-form select,
.signup-page .login-form p,
.signup-page .login-form a {
    color: #fff !important;
}

/* ========================================================= */
/*                🔥 DROPDOWN FIX GLOBAL (BOOTSTRAP)         */
/* ========================================================= */

/* Bootstrap dropdown fix — version propre */
.dropdown-menu {
    z-index: 5000 !important;
}

/* Bootstrap met .show sur le parent .dropdown */
.dropdown.show .dropdown-menu {
    display: block !important;
}

/* Ne touche pas la navbar entière ! */
.navbar {
    overflow: visible !important;
}


.mac-inputs {
    display: flex;
    gap: 6px;
}

.mac-field {
    width: 28px !important;
    padding: 2px 4px !important;
    text-align: center;
    font-size: 13px;
}

/* Fix avatar dans la page Mon compte */
.account-page .sw-avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* === ACCOUNT GRID (3 COLONNES) === */
.account-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Responsive tablette */
@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Responsive mobile */
@media (max-width: 650px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* === CARD STYLE === */
.account-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 25px;
    color: #fff;
}

.account-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Avatar */
.account-avatar-preview {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid rgba(255,255,255,0.25);
}

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

/* Boutons */
.btn-account-edit, .btn-account-save, .btn-account-cancel {
    width: 100%;
    margin-top: 15px;
}
/* === MES COMMANDES ======================================= */

.sw-orders-wrapper {
    background: rgba(255,255,255,0.03);
    border-radius: 18px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}

.sw-orders-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.sw-orders-table thead tr th {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-weight: 600;
}

.sw-orders-table tbody tr td {
    border-top: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}
