/* =========================================
   SETTINGS PAGE
========================================= */

.settings-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 30px;

    align-items: start;
}

/* =========================================
   CARDS
========================================= */

.settings-card {

    background:
        rgba(8,20,43,0.84);

    border:
        1px solid rgba(255,255,255,0.05);

    border-radius: 32px;

    padding: 34px;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.24);

    margin-bottom: 28px;
}

.settings-card-header {

    margin-bottom: 28px;
}

.settings-card-eyebrow {

    color: #60a5fa;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.12em;

    margin-bottom: 12px;
}

.settings-card h2 {

    margin: 0;

    font-size: 36px;

    font-weight: 800;
}

/* =========================================
   FORM
========================================= */

.settings-form {

    display: flex;

    flex-direction: column;

    gap: 24px;
}

.settings-field {

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.settings-field label {

    font-size: 15px;

    font-weight: 700;

    color: #dbe4ff;
}

.settings-input {

    width: 100%;

    height: 64px;

    border-radius: 22px;

    border:
        1px solid rgba(255,255,255,0.06);

    background:
        rgba(255,255,255,0.03);

    color: white;

    padding: 0 22px;

    font-size: 17px;

    outline: none;

    transition: 0.25s;
}

.settings-input:focus {

    border-color:
        rgba(59,130,246,0.5);

    box-shadow:
        0 0 0 4px rgba(59,130,246,0.12);
}

.settings-save-btn {

    margin-top: 10px;

    width: fit-content;
}

/* =========================================
   PLAN STATUS
========================================= */

.plan-status-card {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.plan-badge {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    padding: 12px 20px;

    border-radius: 999px;

    background:
        rgba(59,130,246,0.14);

    color: #60a5fa;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.plan-status-card p {

    color: #9fb0d9;

    line-height: 1.8;
}

/* =========================================
   NOTIFICATIONS
========================================= */

.notification-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.05);
}

.notification-item:last-child {

    border-bottom: none;
}

.notification-title {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 6px;
}

.notification-description {

    color: #9fb0d9;

    line-height: 1.7;
}

/* =========================================
   TOGGLE
========================================= */

.notification-toggle {

    width: 58px;

    height: 32px;

    border-radius: 999px;

    position: relative;

    flex-shrink: 0;
}

.notification-toggle::after {

    content: '';

    position: absolute;

    top: 4px;
    left: 4px;

    width: 24px;
    height: 24px;

    border-radius: 999px;

    background: white;

    transition: 0.25s;
}

.active-toggle {

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #60a5fa
        );
}

.active-toggle::after {

    left: 30px;
}

/* =========================================
   ALERTS
========================================= */

.settings-alert {

    padding: 18px 22px;

    border-radius: 22px;

    margin-bottom: 24px;

    font-weight: 700;
}

.success-alert {

    background:
        rgba(34,197,94,0.14);

    color: #4ade80;
}

.error-alert {

    background:
        rgba(239,68,68,0.14);

    color: #f87171;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 1100px) {

    .settings-grid {

        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .settings-card {

        padding: 28px;
    }

    .settings-card h2 {

        font-size: 30px;
    }

    .notification-item {

        align-items: flex-start;
    }

    .settings-save-btn {

        width: 100%;
    }
}