/*
  Login / Account pages
*/

.authCard{
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow-lg);
}

.authTitle{font-weight: 900; font-size: 24px; margin:0 0 8px;}
.authSub{margin:0 0 14px;}

/* ===== Profile page hero title ===== */
.profileHeroRow { align-items: flex-end; }

.profileHeroTitle {
    font-family: "Black Ops One", system-ui, sans-serif;
    font-size: 45px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .8px;
    color: var(--pumpkin, #FF5F19);
    margin: 0;
}

.profileHeroNiveau {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-top: 5px;
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    letter-spacing: .3px;
}

.profileHeroGrade {
    font-size: .72rem;
    color: var(--pumpkin, #FF5F19);
    background: rgba(255,95,25,.15);
    border: 1px solid rgba(255,95,25,.25);
    border-radius: 5px;
    padding: .1rem .4rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 700;
}

.field{display:flex; flex-direction:column; gap:6px; margin-bottom: 12px;}
.field label{font-size:12px; color: var(--muted);}
.input{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: var(--text);
  padding: 12px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.input:focus { border-color: rgba(255,95,25,.55); background: rgba(0,0,0,.30); }

/* Select stylé comme un input + chevron custom (la flèche native est moche selon les OS) */
select.input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
select.input:hover { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.20); }
/* Options du menu déroulant lui-même (limité par les OS, mais on essaie) */
select.input option {
  background: #15191F;
  color: rgba(255,255,255,.92);
  padding: 8px;
}

.row{display:flex; gap:10px;}
.row > *{flex:1 1 auto;}

.btnGhost{
  border-radius: 16px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
  width:100%;
}

.helper{margin-top: 10px; font-size:12px; color: var(--muted);}

/* Simple status box (used by Login/Profile) */
.authMsg{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: var(--text);
  font-size: 13px;
}
:root {
    --gp-bg: #0b0f14;
    --gp-card: rgba(255,255,255,0.08);
    --gp-card2: rgba(255,255,255,0.06);
    --gp-border: rgba(255,255,255,0.12);
    --gp-text: #f2f4f7;
    --gp-muted: rgba(242,244,247,0.75);
    --gp-orange: #ff6a00;
}

.gp-auth-root {
    min-height: 100vh;
    color: var(--gp-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 28px;
}

.gp-auth-header {
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gp-logo {
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.5px;
}

.gp-logo-line1 {
    font-size: 22px;
}

.gp-logo-line2 {
    font-size: 22px;
}

.gp-auth-kicker {
    text-align: right;
    font-weight: 900;
    color: var(--gp-orange);
    font-size: 30px;
    line-height: 1.05;
    text-shadow: 0 2px 22px rgba(255,106,0,0.22);
}

.gp-auth-card {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--gp-border);
    background: linear-gradient(180deg, var(--gp-card), var(--gp-card2));
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 18px 16px 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

    .gp-auth-card h1 {
        margin: 4px 0 14px;
        font-size: 22px;
        font-weight: 800;
    }

.gp-auth-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 14px;
}

.gp-icon-btn {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--gp-border);
    background: rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .08s ease, background .2s ease;
}

    .gp-icon-btn:hover {
        transform: translateY(-1px);
        background: rgba(0,0,0,0.35);
    }

    .gp-icon-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

.gp-icon {
    width: 26px;
    height: 26px;
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* icônes en SVG inline via data-uri (simple, pas de dépendances) */
.gp-icon-google {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.611 20.083H42V20H24v8h11.303C33.633 32.657 29.227 36 24 36c-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.048 6.053 29.227 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.651-.389-3.917z'/%3E%3Cpath fill='%23FF3D00' d='M6.306 14.691l6.571 4.819C14.655 16.108 18.961 13 24 13c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.048 6.053 29.227 4 24 4 16.318 4 9.656 8.337 6.306 14.691z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.127 0 9.86-1.967 13.409-5.173l-6.191-5.238C29.176 35.091 26.715 36 24 36c-5.205 0-9.597-3.317-11.253-7.946l-6.52 5.02C9.543 39.556 16.227 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.611 20.083H42V20H24v8h11.303c-.792 2.244-2.237 4.146-4.085 5.589l.003-.002 6.191 5.238C36.979 40.205 44 36 44 24c0-1.341-.138-2.651-.389-3.917z'/%3E%3C/svg%3E");
}

.gp-icon-apple {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23ffffff' d='M318.7 268.6c.3 35.4 15.8 62.9 48.2 82.9-7.1 20.8-16.5 40.5-28.3 59.2-16.1 25.6-29.3 45.8-52.4 46.3-22.7.4-30-13.5-55.8-13.5-25.7 0-33.8 13.1-55.1 13.9-22.4.8-39.4-22.5-55.6-48-32.2-50.5-56.8-142.7-23.7-205.1 16.4-31 45.7-50.7 77.6-51.2 21.6-.4 42 14.6 55.2 14.6 13.1 0 37.7-18 63.6-15.4 10.8.5 41.1 4.4 60.6 33.4-1.6 1-36.2 21.1-35.8 62.9zM257.8 78.1c13.5-16.4 22.7-39.2 20.2-62.1-19.5.8-43.2 13-57.3 29.4-12.6 14.6-23.6 37.9-20.6 60.2 21.7 1.7 44.2-11 57.7-27.5z'/%3E%3C/svg%3E");
}

.gp-auth-sep {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 12px;
    color: var(--gp-muted);
}

    .gp-auth-sep span {
        height: 1px;
        flex: 1;
        background: rgba(255,255,255,0.14);
    }

    .gp-auth-sep p {
        margin: 0;
        font-weight: 700;
    }

.gp-label {
    display: block;
    margin: 10px 0 6px;
    font-size: 13px;
    color: var(--gp-muted);
    font-weight: 700;
}

.gp-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.28);
    color: var(--gp-text);
    padding: 12px 12px;
    outline: none;
}

    .gp-input:focus {
        border-color: rgba(255,106,0,0.55);
        box-shadow: 0 0 0 4px rgba(255,106,0,0.12);
    }

.gp-password {
    position: relative;
}

.gp-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(242, 244, 247, 0.75);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease;
}
.gp-eye:hover { background: rgba(255, 255, 255, 0.10); color: rgba(255, 255, 255, 0.95); }
.gp-eye:disabled { opacity: 0.45; cursor: not-allowed; }

/* Erreurs sous chaque champ (email / pseudo) */
.gp-field-error {
    margin-top: 4px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 69, 69, 0.10);
    color: rgba(255, 180, 180, 0.95);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

/* État erreur sur l'input lui-même */
.gp-input.is-error {
    border-color: rgba(255, 69, 69, 0.55) !important;
    background: rgba(255, 69, 69, 0.04);
}

.gp-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 12px;
    color: var(--gp-muted);
    font-size: 13px;
}

    .gp-checkbox input {
        margin-top: 3px;
    }

.gp-primary {
    width: 100%;
    border: none;
    border-radius: 14px;
    background: var(--gp-orange);
    color: #111;
    font-weight: 900;
    padding: 12px 14px;
    cursor: pointer;
    letter-spacing: 0.3px;
}

    .gp-primary:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.gp-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 69, 69, 0.35);
    background: rgba(255, 69, 69, 0.08);
    color: rgba(255,255,255,0.92);
    font-weight: 700;
}

.gp-auth-footer {
    width: 100%;
    max-width: 420px;
    margin-top: 14px;
}

.gp-secondary {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.35);
    color: var(--gp-orange);
    font-weight: 900;
    padding: 12px 14px;
    cursor: pointer;
    letter-spacing: 0.8px;
}
.gp-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}

.gp-secondary-inline {
    flex: 1;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.35);
    color: rgba(242,244,247,0.92);
    font-weight: 800;
    padding: 12px 14px;
    cursor: pointer;
}

.gp-hint {
    margin-top: 10px;
    color: rgba(242,244,247,0.65);
    font-size: 12.5px;
    line-height: 1.25;
}
/* ===== Animation switch card ===== */
/* Zone animée: visible par défaut */
.gp-card-stage {
  opacity: 1 !important;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gp-anim-out {
  opacity: 0 !important;
  transform: translateY(18px);
}

.gp-anim-in {
  opacity: 1 !important;
  transform: translateY(0);
}

.gp-anim-idle {
  opacity: 1 !important;
  transform: translateY(0);
}
