/* ==========================================
   SETTINGS • TRIVOX
========================================== */

.main-content{
    max-width:900px;
    margin:30px auto;
    padding:20px;
    background:#f5f7fb;
    min-height:100vh;
}

.page-header{
    margin-bottom:25px;
}

.page-header h1{
    font-size:32px;
    font-weight:700;
    color:#1f2937;
    margin-bottom:8px;
}

.page-header p{
    color:#6b7280;
    font-size:15px;
}

/* =========================
   Cards
========================= */

.card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    border:1px solid #edf0f5;
}

.card h2{
    font-size:20px;
    color:#111827;
    margin-bottom:20px;
}

/* =========================
   Inputs
========================= */

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#374151;
}

.form-control{
    width:100%;
    height:48px;
    border:1px solid #d1d5db;
    border-radius:12px;
    padding:0 15px;
    font-size:15px;
    outline:none;
    transition:.3s;
    box-sizing:border-box;
}

textarea.form-control{
    height:120px;
    resize:vertical;
    padding:15px;
}

.form-control:focus{
    border-color:#2f80ed;
    box-shadow:0 0 0 4px rgba(47,128,237,.15);
}

/* =========================
   Buttons
========================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 22px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
    font-size:15px;
    transition:.3s;
    text-decoration:none;
}

.btn-primary{
    background:#2f80ed;
    color:#fff;
}

.btn-primary:hover{
    background:#1565d8;
}

.btn-danger{
    background:#e53935;
    color:#fff;
}

.btn-danger:hover{
    background:#c62828;
}

.btn-outline{
    background:#fff;
    border:1px solid #d1d5db;
    color:#374151;
}

.btn-outline:hover{
    background:#f3f4f6;
}

/* =========================
   Account Preview
========================= */

.account-info{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
}

.info-box{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:18px;
}

.info-box span{
    display:block;
    font-size:13px;
    color:#6b7280;
    margin-bottom:6px;
}

.info-box strong{
    font-size:16px;
    color:#111827;
}

.copy-btn{
    margin-top:10px;
}

/* =========================
   Notification Switch
========================= */

.switch-group{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.switch-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    border:1px solid #eceff3;
    border-radius:12px;
}

/* =========================
   Links
========================= */

.settings-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none;
    color:#111827;
    padding:15px 0;
    border-bottom:1px solid #edf0f5;
}

.settings-link:last-child{
    border-bottom:none;
}

.settings-link:hover{
    color:#2f80ed;
}

/* =========================
   Danger
========================= */

.card.danger{
    border-left:5px solid #e53935;
}

/* =========================
   Responsive
========================= */

@media(max-width:992px){

.main-content{
    margin-left:0;
    padding:20px;
}

.page-header h1{
    font-size:26px;
}

.card{
    padding:20px;
}

.account-info{
    grid-template-columns:1fr;
}

.btn{
    width:100%;
}
}

.avatar-preview{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #2f80ed;
}

.avatar-placeholder{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#edf2f7;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    color:#6b7280;
}
.alert{
    padding:15px 18px;
    border-radius:10px;
    margin-bottom:20px;
    font-weight:600;
}

.alert-success{
    background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
}

.alert-danger{
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #fca5a5;
}