/* Grille de sélection de méthode - Passage en horizontal */
.method-selection-grid {
    display: grid;
    /* On force 3 colonnes égales */
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px;
}

.method-card {
    cursor: pointer;
    position: relative;
}

.method-card input {
    position: absolute;
    opacity: 0;
}

.method-inner {
    display: flex;
    /* Aligne l'icône au dessus du texte pour l'affichage horizontal */
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 15px;
    transition: 0.3s all ease;
    height: 100%; /* Pour que toutes les cartes aient la même hauteur */
}

.method-inner i {
    font-size: 24px;
    color: #38bdf8;
    width: auto; /* Libère la largeur fixe */
    text-align: center;
}

.method-info strong {
    display: block;
    color: #fff;
    font-size: 14px; /* Légèrement réduit pour tenir sur une ligne */
    margin-bottom: 4px;
}

.method-info span {
    font-size: 11px; /* Légèrement réduit */
    color: #94a3b8;
    line-height: 1.2;
}

/* État coché (Active) */
.method-card input:checked + .method-inner {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

/* Responsive : On repasse en colonne sur mobile pour la lisibilité */
@media (max-width: 768px) {
    .method-selection-grid {
        grid-template-columns: 1fr;
    }
    .method-inner {
        flex-direction: row;
        text-align: left;
    }
}




/* Box de succès finale */
.success-recovery-box {
    padding: 30px;
    background: rgba(0, 255, 157, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 20px;
    text-align: center;
}

.success-recovery-box i {
    font-size: 40px;
    color: #00ff9d;
    margin-bottom: 15px;
}

.id-display {
    background: #0f172a;
    padding: 15px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 18px;
    color: #38bdf8;
    margin: 15px 0;
    letter-spacing: 1px;
}


.method-card.alert-mode input:checked + .method-inner {
    border-color: #ef4444; /* Rouge pour l'urgence */
    background: rgba(239, 68, 68, 0.08);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

.alert-box-pro {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.alert-box-pro i {
    color: #38bdf8;
    font-size: 20px;
}

.alert-box-pro p {
    font-size: 12px;
    color: #cbd5e0;
    line-height: 1.4;
    margin: 0;
}

.upload-zone {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(56, 189, 248, 0.3);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
}

.upload-label {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-instruction {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 2px solid #38bdf8;
}

.file-input-wrapper {
    position: relative;
    text-align: center;
}

.file-input-wrapper input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0f172a;
    border: 1px solid #334155;
    padding: 12px;
    border-radius: 10px;
    color: #38bdf8;
    cursor: pointer;
    transition: 0.3s;
}

.file-label:hover {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.05);
}

.alert-box-pro.danger {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.success-badge-lite {
    color: #10b981;
    background: #ecfdf5;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.pro-result{
    position:relative;
    padding:5px;
    border-radius:16px;
    overflow:hidden;
    background: rgba(15, 23, 42, 0.85);
    border:2px solid rgba(148,163,184,0.15);
    backdrop-filter: blur(10px);
    color:#fff;
}

/* BACKGROUND ICONS */
.bg-icons{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:0;
}

.bg-icons i{
    position:absolute;
    font-size:50px;
    color:rgba(56,189,248,0.08);
    animation: floatIcons 8s infinite ease-in-out;
}

.bg-icons i:nth-child(1){ top:10%; left:10%; }
.bg-icons i:nth-child(2){ top:60%; left:20%; animation-delay:1s; }
.bg-icons i:nth-child(3){ top:30%; right:15%; animation-delay:2s; }
.bg-icons i:nth-child(4){ bottom:10%; right:25%; animation-delay:3s; }

@keyframes floatIcons{
    0%,100%{ transform:translateY(0px); }
    50%{ transform:translateY(-15px); }
}

/* HEADER */
.status-header{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:16px;
    font-weight:600;
    color:#38bdf8;
    margin-bottom:30px;
}

/* DATA */
.data-lines{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.line{
    display:flex;
    justify-content:space-between;
    padding:10px 12px;
    border-radius:10px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.05);
}

.label{
    color:#94a3b8;
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13px;
}

.value{
    color:#fff;
    font-weight:500;
    font-size:13px;
}

/* ACTION */
.action{
    position:relative;
    margin-top:22px;
    text-align:center;
    margin-bottom:20px;
    padding: 10px 15px;
    
}


.manual-guide {
    background: rgba(2, 6, 23, 0.7);
    border-radius: 10px;
    padding: 6px;
    margin: 15px 0;
    border: 1px solid rgba(148,163,184,0.1);
}

.manual-guide ul {
    padding-left: 8px;
    margin: 8px 0;
}

.manual-guide li {
    font-size: 0.8rem;
    color: #cbd5f5;
    margin-bottom: 4px;
}

.example-box {
    background: rgba(15, 23, 42, 0.8);
    padding: 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #38bdf8;
    margin-top: 8px;
    line-height: 1.4;
    border: 1px dashed rgba(56,189,248,0.3);
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}



/* BOX */
.instruction-box{
    margin-top:15px;
    padding:10px 10px;
    border-radius:14px;
    background: rgba(56,189,248,0.05);
    border:1px solid rgba(56,189,248,0.2);
    backdrop-filter: blur(6px);
}

/* TITLE */
.instruction-title{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:600;
    color:#38bdf8;
    margin-bottom:10px;
}

/* LIST */
.instruction-list{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.instruction-list li{
    display:flex;
    gap:10px;
    font-size:10px;
    color:#cbd5e1;
}

.instruction-list i{
    color:#38bdf8;
    margin-top:2px;
}

/* SEPARATOR */
.instruction-separator{
    margin:15px 0;
    height:1px;
    background: rgba(148,163,184,0.2);
}

/* MANUSCRIPT */
.manuscript-preview{
    padding:12px;
    border-radius:10px;
    background: rgba(15,23,42,0.6);
    border:1px dashed rgba(148,163,184,0.3);
    font-size:13px;
    color:#e2e8f0;
    line-height:1.6;
}

.manuscript-line{
    margin-bottom:8px;
}

.placeholder{
    color:#94a3b8;
    font-style:italic;
}

/* HINT */
.instruction-hint{
    margin-top:10px;
    font-size:12px;
    color:#fbbf24;
    display:flex;
    align-items:center;
    gap:6px;
}







.alert-box-pro.danger {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    background: linear-gradient(135deg, rgba(220, 38, 38, 0.10), rgba(239, 68, 68, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.35);

    padding: 5px 5px;
    border-radius: 14px;

    color: #fecaca;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(10px);

    transition: all 0.3s ease;
}

/* Icône */
.alert-box-pro.danger i {
    font-size: 22px;
    color: #ef4444;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Texte */
.alert-box-pro.danger p {
    margin: 0;
    font-size: 10px;
    line-height: 1.6;
    color: #fee2e2;
}

/* Titre */
.alert-box-pro.danger strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

/* Hover effet pro */
.alert-box-pro.danger:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}



.tracking-footer {
    text-align: center;
    margin-top: 25px;
}

/* Bouton tracking */
.tracking-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;
    border-radius: 10px;

    font-size: 13px;
    color: #94a3b8;
    background: none;
    border: none;

    text-decoration: none;

    transition: all 0.3s ease;
}

/* Hover pro */
.tracking-btn:hover {
    color: #e2e8f0;
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(96, 165, 250, 0.08);
    transform: translateY(-2px);
}

/* Trust block */
.login-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 12px;

    font-size: 10px;
    color: #64748b;
}

.login-trust i {
    color: #22c55e;
}



@keyframes pulse-green {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}



@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}



@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.icon-pulse { animation: pulse-blue 2s infinite; }




