/* Container */
.profile-shell{
    max-width:1100px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 30px rgba(5,12,32,0.45);
    border-radius: 16px;
    padding: 2rem;
    margin:2.5rem auto 2.5rem;
}
.profile-top{display:flex;flex-direction:column;gap:0.6rem;margin-bottom:1.2rem;}
.profile-title{margin:0;font-size:2rem;}
.profile-subtitle{color:#9ba7cc;margin:0;}
.profile-tag{display:inline-block;padding:0.35rem 0.7rem;border-radius:10px;border:1px solid rgba(255,255,255,0.1);background:rgba(255,255,255,0.05);color:#9ba7cc;font-weight:700;font-size:0.9rem;}
.info-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.6rem;margin-top:0.75rem;}
.pill.subtle{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);padding:0.35rem 0.6rem;border-radius:10px;color:#e7edff;font-weight:700;}
.referral-hero{margin:1rem 0 1.4rem;display:grid;grid-template-columns:1.1fr 0.9fr;gap:1rem;align-items:center;border:1px solid rgba(122,228,255,0.25);border-radius:14px;padding:1.2rem 1.4rem;background:linear-gradient(135deg, rgba(107,124,255,0.08), rgba(50,194,255,0.08));}
.referral-box{display:flex;flex-direction:column;gap:0.4rem;}
.ref-link{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:10px;padding:0.7rem 0.9rem;color:#7ae4ff;word-break:break-word;}
.ref-actions{display:flex;gap:0.6rem;}
.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;}
.profile-card{background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.08);border-radius:14px;padding:1rem 1.1rem;box-shadow:0 10px 26px rgba(5,12,32,0.35);}
.profile-card-full{margin-top:1rem;}
.profile-card h3{margin:0 0 0.6rem;}
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0.6rem;}
.info-grid .label{display:block;color:#9ba7cc;font-size:0.9rem;}
.info-grid strong{font-size:1rem;}
.muted{color:#9ba7cc;}

/* Buttons */
.btn-primary,.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:0.4rem;
    padding:0.65rem 0.9rem;
    border-radius:10px;
    font-weight:700;
    text-decoration:none;
    border:1px solid rgba(255,255,255,0.16);
    background:rgba(255,255,255,0.06);
    color:#e7edff;
    cursor:pointer;
}
.btn-primary{
    background:linear-gradient(135deg, #6b7cff, #32c2ff);
    border-color:rgba(107,124,255,0.45);
}
.btn-secondary:hover,.btn-primary:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 26px rgba(5,12,32,0.45);
}
.btn-secondary.full{
    width:100%;
}
.btn-secondary.btn-mini{
    padding:0.45rem 0.7rem;
    font-size:0.85rem;
}

.orders-table{
    margin-top:0.75rem;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:12px;
    overflow-x:auto;
    background:rgba(255,255,255,0.02);
}

.orders-table table{
    width:100%;
    border-collapse:collapse;
    font-size:0.95rem;
}

.orders-table th,
.orders-table td{
    padding:0.6rem 0.5rem;
    border-bottom:1px solid rgba(255,255,255,0.08);
    text-align:left;
}

.orders-table th{
    color:#9ba7cc;
    font-size:0.78rem;
    text-transform:uppercase;
    letter-spacing:0.06em;
}

.orders-table tr:last-child td{
    border-bottom:none;
}

.orders-table .order-id{
    font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size:0.85rem;
    color:#cfd5e3;
}

.faq-section{
    margin-top:1.6rem;
    padding:1rem 1.1rem;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.08);
    background:rgba(255,255,255,0.02);
    box-shadow:0 10px 26px rgba(5,12,32,0.35);
}
.faq-section h2{margin-top:0;margin-bottom:0.35rem;}
.faq-section p{margin:0;color:#cfd5e3;}

/* Form */
.form-input{
    width:100%;
    padding:0.65rem 0.75rem;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.04);
    color:#f5f7ff;
    font-size:0.95rem;
    transition:border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    margin-bottom:0.75rem;
}

.form-input:focus{
    outline:none;
    border-color:rgba(122,228,255,0.6);
    box-shadow:0 0 0 2px rgba(122,228,255,0.2);
    background:rgba(255,255,255,0.06);
}

.btn-2fa{
    margin-top:0.4rem;
    width:100%;
    padding:0.8rem 1rem;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.14);
    background:linear-gradient(135deg, rgba(107,124,255,0.15), rgba(50,194,255,0.18));
    color:#fff;
    font-weight:700;
    cursor:pointer;
    transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-2fa:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 26px rgba(5,12,32,0.45);
}

.link-btn{
    display:inline-flex;
    margin-top:0.8rem;
    width:100%;
    justify-content:center;
}
.discord-link{display:flex;flex-direction:column;gap:0.3rem;}

.info-text{
    margin-top:0.6rem;
    color:#7ae4ff;
}

.password-feedback{
    margin-top: 0.6rem;
}

.alert.info{
    border:1px solid rgba(107,124,255,0.4);
    background:rgba(107,124,255,0.12);
    color:#dce5ff;
    border-radius:12px;
    padding:0.9rem 1rem;
    margin:1rem 0;
}

.alert.info.inline{
    margin-top:1rem;
    margin-bottom:0;
}
