/* REMPLACER TOUT LE FICHIER STYLE.CSS PAR CE CONTENU */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    font-family: 'Inter', sans-serif;
    color: white;
    margin: 0;
    min-height: 100vh;
    padding: 20px;
}

.main-container {
    background: rgba(26, 26, 46, 0.95);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.logo {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00d4ff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h1 {
    color: #00d4ff;
    margin-bottom: 10px;
    font-size: 2rem;
}

.subtitle {
    color: #aaa;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

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

.service-card {
    background: rgba(22, 33, 62, 0.8);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a.service-card:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
    background: rgba(22, 33, 62, 1);
}

.service-card.placeholder {
    opacity: 0.7;
    cursor: default;
    border-style: dashed;
    border-color: #475569;
}

.service-card.placeholder:hover {
    transform: none;
    border-color: #475569;
    box-shadow: none;
    background: rgba(22, 33, 62, 0.8);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Couleurs spécifiques pour chaque service */
.service-card:nth-child(1) .card-icon {
    background-color: #00A4DC;
}

.service-card:nth-child(2) .card-icon {
    background-color: #7B68EE;
}

.service-card:nth-child(3) .card-icon {
    background-color: #FF6B6B;
}

.service-card.placeholder .card-icon {
    background-color: #4ECDC4;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f8fafc;
}

.service-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-link {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.2s ease;
}

a.service-card:hover .card-link {
    color: #00d4ff;
}

.service-card.placeholder .card-link {
    color: #64748b;
}

footer {
    text-align: center;
    color: #94a3b8;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

footer p {
    margin-bottom: 10px;
}

.status-active {
    color: #4ade80;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-active i {
    font-size: 0.7rem;
}

#top-right-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9998;
    display: flex;
    gap: 15px;
    align-items: center;
}

#admin-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    background: rgba(22, 33, 62, 0.8);
    border-radius: 50px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

#admin-link:hover {
    background: rgba(22, 33, 62, 1);
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

@media (max-width: 768px) {
    .main-container {
        padding: 25px;
        margin: 30px auto;
    }



    #top-right-menu {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }
}

a,
a:visited,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
    color: inherit !important;
}

/* Spécifiquement pour les cartes */
.service-card,
.service-card * {
    text-decoration: none !important;
}

/* Spécifiquement pour le lien Traefik en haut */
#admin-link,
#admin-link * {
    text-decoration: none !important;
}