/* Portail GPotatu : ajouts au theme « 2012 » (assets/2012.css = copie du css/style.css en ligne, non modifiee).
   Regles de pages / formulaires / alertes reprises de la section « PHP PAGES » du 2012 local. */

/* === Barre du haut === */
.top-link.actif { color: #ff9900; font-weight: 700; }
.top-user { margin-left: 6px; }
.top-btn { line-height: 20px; }

/* === Titres === */
.section-header h1 {
    font-family: 'Exo 2', sans-serif; font-size: 22px; font-weight: 700; color: #fff;
    letter-spacing: 2px; text-transform: uppercase;
}

/* === Pages (2012 local) === */
#page-section { padding: 40px 0; background: linear-gradient(180deg, #1a1a1a 0%, #1f1f1f 100%); min-height: 500px; }
.page-content { background: #222; border: 1px solid #333; border-radius: 8px; padding: 30px; }
.page-content + .page-content { margin-top: 25px; }
.page-form-centered { max-width: 480px; margin: 0 auto; background: #222; border: 1px solid #333; border-radius: 8px; padding: 30px; }
.page-subtitle {
    font-family: 'Exo 2', sans-serif; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 1px;
    margin: 0 0 15px; padding-bottom: 8px; border-bottom: 2px solid #333;
}
.page-content > p, .page-form-centered > p { margin-bottom: 12px; line-height: 1.6; }

/* === Alertes (2012 local) === */
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 13px; line-height: 1.5; }
.alert-success { background: rgba(76,175,80,0.15); border: 1px solid rgba(76,175,80,0.4); color: #81C784; }
.alert-info { background: rgba(255,153,0,0.12); border: 1px solid rgba(255,153,0,0.4); color: #FFCC80; }
.alert-error { background: rgba(244,67,54,0.15); border: 1px solid rgba(244,67,54,0.4); color: #EF9A9A; }

/* === Formulaires (2012 local) === */
.gp-form .form-group { margin-bottom: 18px; }
.form-group small { display: block; margin-top: 4px; font-size: 10px; color: #666; }
.form-footer-text { text-align: center; margin-top: 15px; font-size: 12px; color: #888; }
.form-footer-text a { color: #ff9900; font-weight: 700; }
a.contact-submit { text-align: center; color: #fff; }
#cq { color: #ff9900; text-transform: none; letter-spacing: 0; }
.mini { margin-left: 6px; padding: 0 8px; border: 1px solid #555; border-radius: 3px; background: #1a1a1a; color: #ccc; cursor: pointer; }
.mini:hover { border-color: #ff9900; color: #ff9900; }

/* === Accueil : cartes de jeux === */
.games-grid { flex-wrap: wrap; }
.games-grid .game-card { flex: 0 1 256px; }
.game-card-image { background: #111; }
.game-card a.game-card-overlay { display: flex; }
.game-card .dl-btn { display: inline-block; color: #fff; }
.game-desc { font-size: 12px; color: #999; line-height: 1.5; margin-bottom: 8px; }
.game-actions { display: flex; gap: 8px; margin-top: 12px; }
button.dl-btn { border: 0; cursor: pointer; font-family: inherit; }

/* === Accueil : colonnes === */
.news-title { display: block; color: #ddd; font-size: 12px; }
.news-content { font-size: 12px; color: #999; }
.news-content p { font-size: 11px; color: #888; margin-top: 3px; line-height: 1.4; }
.dl-titre {
    font-family: 'Exo 2', sans-serif; font-size: 11px; font-weight: 700; color: #888;
    letter-spacing: 1px; text-transform: uppercase; margin: 15px 0 2px;
}
.info-col .stale, .info-col .alert { margin: 10px; }
.quick-account { padding: 5px 0; }
.qa-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #2a2a2a; font-size: 12px; }
.qa-row:last-of-type { border-bottom: none; }
.qa-label { color: #888; }
.qa-row strong { color: #fff; }
.qa-row .qa-cash { color: #ff9900; font-size: 16px; }

/* === Pastille de statut (jeux, serveur, personnages) === */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-weight: 700; font-size: 11px; white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.status.online { color: #4CAF50; background: rgba(76,175,80,0.15); border: 1px solid rgba(76,175,80,0.5); }
.status.offline { color: #f44336; background: rgba(244,67,54,0.15); border: 1px solid rgba(244,67,54,0.5); }
.status.maint { color: #ff9900; background: rgba(255,152,0,0.15); border: 1px solid rgba(255,152,0,0.5); }
.status.bientot { color: #42a5f5; background: rgba(66,165,245,0.15); border: 1px solid rgba(66,165,245,0.5); }
.game-card-image .status { position: absolute; top: 10px; right: 10px; z-index: 5; background: rgba(0,0,0,0.8); }
.status-line .status { margin-left: auto; }

/* === Tableaux, fiches === */
.aide { font-size: 12px; color: #888; }
.stale { color: #ff9900; font-size: 12px; font-style: italic; margin-bottom: 10px; }
.table { overflow-x: auto; }
#page-section table { width: 100%; border-collapse: collapse; }
#page-section th {
    font-family: 'Exo 2', sans-serif; font-size: 11px; font-weight: 700; color: #888; letter-spacing: 1px;
    text-transform: uppercase; text-align: left; padding: 8px; border-bottom: 2px solid #333;
}
#page-section td { padding: 8px; border-bottom: 1px solid #2a2a2a; font-size: 13px; color: #ccc; vertical-align: middle; }
#page-section tr:hover td { background: #262626; }
td form { margin: 0; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 13px; }
dt { color: #888; font-weight: 700; }
dd { margin: 0; color: #fff; }

/* === Petits ecrans (le theme 2012 est fixe a 1100 px) === */
@media (max-width: 1100px) {
    .container { width: 100%; }
}
@media (max-width: 900px) {
    #top-bar { height: auto; line-height: 1.8; padding: 4px 0; }
    #top-bar .container, .header-flex { flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
    .main-nav { margin-left: 0; flex-wrap: wrap; justify-content: center; }
    .main-nav-link { padding: 8px 10px; }
    .main-nav-link::after { bottom: 0; }
    .info-grid, .support-grid, .footer-grid, .form-row { flex-direction: column; }
    .form-row { gap: 0; }
    .games-grid .game-card { flex: 1 1 100%; }
    #hero-slider { height: 360px; }
    .slide-bg-image { width: 100%; opacity: 0.45; }
    .slide-content { padding-top: 40px; }
    .slide-title { font-size: 30px; }
    .page-content, .page-form-centered, .contact-form { padding: 18px; }
    dl { grid-template-columns: 1fr; gap: 2px; }
    dd { margin-bottom: 10px; }
}
