/* Style hybride pour Sellmate - Combinaison de l'original avec les couleurs du tableau de bord */
:root {
    /* Couleurs du tableau de bord */
    --primary-color: #0691bf;
    --secondary-color: #5d8cb3;
    --accent-color: #00b894;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --success-color: #2ecc71;
    --dark-color: #1a2530;
    --light-color: #f5f6fa;
    --text-color: #333;
    --text-muted: #7f8c8d;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.hero-logo {
    max-width: 220px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}



header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 10px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: 500;
    padding: 5px 10px;
    color: var(--text-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
    background-color: rgba(58, 108, 153, 0.1);
}

nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-admin {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius);
}

.btn-admin:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf5 100%);
    position: relative;
    overflow: hidden;
}

/* Animation du fond avec articles de mode */
.fashion-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

.fashion-item {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: float 16s infinite linear;
    opacity: 0;
    transform-origin: center center;
    filter: saturate(1.2);
    transition: all 0.3s ease;
    z-index: 1;
}

/* Positions aléatoires pour les articles */
/* Première rangée */
.fashion-item:nth-child(1) { top: 5%; left: 5%; }
.fashion-item:nth-child(2) { top: 12%; left: 15%; }
.fashion-item:nth-child(3) { top: 8%; left: 25%; }
.fashion-item:nth-child(4) { top: 15%; left: 35%; }
.fashion-item:nth-child(5) { top: 10%; left: 45%; }
.fashion-item:nth-child(6) { top: 7%; left: 55%; }
.fashion-item:nth-child(7) { top: 18%; left: 65%; }
.fashion-item:nth-child(8) { top: 5%; left: 75%; }
.fashion-item:nth-child(9) { top: 15%; left: 85%; }
.fashion-item:nth-child(10) { top: 20%; left: 95%; }

/* Deuxième rangée */
.fashion-item:nth-child(11) { top: 30%; left: 8%; }
.fashion-item:nth-child(12) { top: 25%; left: 18%; }
.fashion-item:nth-child(13) { top: 35%; left: 28%; }
.fashion-item:nth-child(14) { top: 30%; left: 38%; }
.fashion-item:nth-child(15) { top: 25%; left: 48%; }
.fashion-item:nth-child(16) { top: 35%; left: 58%; }
.fashion-item:nth-child(17) { top: 30%; left: 68%; }
.fashion-item:nth-child(18) { top: 25%; left: 78%; }
.fashion-item:nth-child(19) { top: 35%; left: 88%; }
.fashion-item:nth-child(20) { top: 30%; left: 98%; }

/* Troisième rangée */
.fashion-item:nth-child(21) { top: 50%; left: 5%; }
.fashion-item:nth-child(22) { top: 45%; left: 15%; }
.fashion-item:nth-child(23) { top: 55%; left: 25%; }
.fashion-item:nth-child(24) { top: 50%; left: 35%; }
.fashion-item:nth-child(25) { top: 45%; left: 45%; }
.fashion-item:nth-child(26) { top: 55%; left: 55%; }
.fashion-item:nth-child(27) { top: 50%; left: 65%; }
.fashion-item:nth-child(28) { top: 45%; left: 75%; }
.fashion-item:nth-child(29) { top: 55%; left: 85%; }
.fashion-item:nth-child(30) { top: 50%; left: 95%; }

/* Quatrième rangée */
.fashion-item:nth-child(31) { top: 70%; left: 8%; }
.fashion-item:nth-child(32) { top: 65%; left: 18%; }
.fashion-item:nth-child(33) { top: 75%; left: 28%; }
.fashion-item:nth-child(34) { top: 70%; left: 38%; }
.fashion-item:nth-child(35) { top: 65%; left: 48%; }
.fashion-item:nth-child(36) { top: 75%; left: 58%; }
.fashion-item:nth-child(37) { top: 70%; left: 68%; }
.fashion-item:nth-child(38) { top: 65%; left: 78%; }
.fashion-item:nth-child(39) { top: 75%; left: 88%; }
.fashion-item:nth-child(40) { top: 70%; left: 98%; }

/* Cinquième rangée */
.fashion-item:nth-child(41) { top: 90%; left: 5%; }
.fashion-item:nth-child(42) { top: 85%; left: 15%; }
.fashion-item:nth-child(43) { top: 95%; left: 25%; }
.fashion-item:nth-child(44) { top: 90%; left: 35%; }
.fashion-item:nth-child(45) { top: 85%; left: 45%; }
.fashion-item:nth-child(46) { top: 95%; left: 55%; }
.fashion-item:nth-child(47) { top: 90%; left: 65%; }
.fashion-item:nth-child(48) { top: 85%; left: 75%; }
.fashion-item:nth-child(49) { top: 95%; left: 85%; }
.fashion-item:nth-child(50) { top: 90%; left: 95%; }

/* Sixième rangée - pour les images supplémentaires */
.fashion-item:nth-child(51) { top: 3%; left: 10%; }
.fashion-item:nth-child(52) { top: 7%; left: 20%; }
.fashion-item:nth-child(53) { top: 2%; left: 30%; }
.fashion-item:nth-child(54) { top: 12%; left: 40%; }
.fashion-item:nth-child(55) { top: 5%; left: 50%; }
.fashion-item:nth-child(56) { top: 9%; left: 60%; }
.fashion-item:nth-child(57) { top: 14%; left: 70%; }
.fashion-item:nth-child(58) { top: 3%; left: 80%; }
.fashion-item:nth-child(59) { top: 12%; left: 90%; }

/* Septième rangée */
.fashion-item:nth-child(60) { top: 23%; left: 5%; }
.fashion-item:nth-child(61) { top: 28%; left: 15%; }
.fashion-item:nth-child(62) { top: 22%; left: 25%; }
.fashion-item:nth-child(63) { top: 27%; left: 35%; }
.fashion-item:nth-child(64) { top: 22%; left: 45%; }
.fashion-item:nth-child(65) { top: 28%; left: 55%; }
.fashion-item:nth-child(66) { top: 23%; left: 65%; }
.fashion-item:nth-child(67) { top: 27%; left: 75%; }
.fashion-item:nth-child(68) { top: 23%; left: 85%; }

/* Huitième rangée */
.fashion-item:nth-child(69) { top: 42%; left: 8%; }
.fashion-item:nth-child(70) { top: 48%; left: 18%; }
.fashion-item:nth-child(71) { top: 43%; left: 28%; }
.fashion-item:nth-child(72) { top: 47%; left: 38%; }
.fashion-item:nth-child(73) { top: 42%; left: 48%; }
.fashion-item:nth-child(74) { top: 48%; left: 58%; }
.fashion-item:nth-child(75) { top: 43%; left: 68%; }
.fashion-item:nth-child(76) { top: 47%; left: 78%; }


/* Animation de flottement et rotation des articles */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50px) rotate(180deg) scale(1);
        opacity: 1;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Nouvelle mise en page de la page d'accueil */
.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 5;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}



.welcome-text {
    text-align: center;
    margin-bottom: 10px;
}

.welcome-text h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.welcome-text p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons-centered {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-content h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(58, 108, 153, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-small {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: var(--radius);
    background-color: var(--primary-color);
    color: white;
    display: inline-block;
}

.btn-small:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-disabled {
    background-color: var(--text-muted);
    cursor: not-allowed;
}

.btn-disabled:hover {
    background-color: var(--text-muted);
}

/* Status Section */
.status {
    padding: 60px 0;
    background-color: white;
}

.status h2, .features h2, .platforms h2, .extensions h2, .prices h2, .about h2, .qas h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--dark-color);
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.status-card {
    background-color: #f9f9f9;
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.status-card i {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.status-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.status-online {
    color: var(--success-color);
    font-weight: 600;
}

.status-offline {
    color: var(--danger-color);
    font-weight: 600;
}

.status-count {
    font-weight: 600;
    color: var(--primary-color);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 5px;
}

.status-dot.online {
    background-color: var(--success-color);
}

.status-dot.offline {
    background-color: var(--danger-color);
}

/* Features Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.features {
    padding: 80px 0;
    background-color: #F2F9FA;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 18px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-muted);
}

/* Platforms Section */
.platforms {
    padding: 80px 0;
    background-color: white;
}

.qas {
    padding: 80px 0;
    background-color: #F2F9FA;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.platform-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.platform-logo img {
    max-width: 60%;
}

.platform-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.platform-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.platform-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Extensions Section */
.extensions {
    padding: 80px 0;
    background-color: white;
}

.prices {
    padding: 80px 0;
    background-color: white;
}

.extension-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.extension-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.extension-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.extension-card i {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.extension-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.extension-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.extension-browsers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.browser-icon {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: var(--transition);
}

.browser-icon:hover {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-logo {
        width: auto;
        max-width: 300px;
        height: auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 10px;
    }
    
    .feature-cards,
    .platform-cards,
    .extension-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Styling - Changed text to black */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 80px);
    background-color: white;
    color: var(--text-color);
}

.dashboard-sidebar {
    background-color: #f5f7fa;
    color: var(--text-color);
    padding: 20px 0;
    border-right: 1px solid var(--border-color);
}

.dashboard-sidebar h2 {
    padding: 0 20px;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 600;
}

.dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-menu li {
    margin-bottom: 5px;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dashboard-menu a i {
    margin-right: 15px;
    font-size: 18px;
}

.dashboard-menu a:hover {
    background-color: rgba(58, 108, 153, 0.1);
    color: var(--primary-color);
}

.dashboard-menu a.active {
    background-color: rgba(58, 108, 153, 0.15);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
}

/* Styles additionnels pour le dashboard - textes en noir */
.dashboard-content {
    background-color: #f9f9f9;
    color: var(--text-color);
}

.dashboard-tab-content {
    background-color: #f9f9f9;
    color: var(--text-color);
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-title h1 {
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.dashboard-title p {
    color: var(--text-muted);
}

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

.dashboard-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.dashboard-card-header {
    margin-bottom: 15px;
}

.dashboard-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.dashboard-card-value {
    font-size: 28px;
    font-weight: 700;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.dashboard-card-value.stat-update {
    animation: stat-highlight 1s ease;
}

@keyframes stat-highlight {
    0% { color: var(--primary-color); transform: scale(1); }
    50% { color: var(--primary-color); transform: scale(1.1); }
    100% { color: inherit; transform: scale(1); }
}

.dashboard-card-trend {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-card-trend.positive {
    color: var(--success-color);
}

.dashboard-card-trend.negative {
    color: var(--danger-color);
}

.dashboard-section {
    margin-bottom: 40px;
}

.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.dashboard-section-action {
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
}

.dashboard-section-action:hover {
    text-decoration: underline;
}

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

.dashboard-table th {
    text-align: left;
    padding: 12px 15px;
    background-color: #f5f7fa;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
}

.dashboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.dashboard-tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.dashboard-tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.dashboard-tab-button:hover {
    color: var(--primary-color);
}

.dashboard-tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

/* Style spécifique pour la page platform */
.platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background-color: var(--primary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.platform-title h1 {
    font-size: 32px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.platform-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.platform-stat-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.markdown-content {
    all: unset;
}
.markdown-content > p {
    display: flex;
}