/* ═══════════════════════════════════════════════════════════
   asire-auth.css — Register, Login, My Account pages
   ═══════════════════════════════════════════════════════════ */

/* ── Auth section wrapper ────────────────────────────────────────────────────*/
.auth-section {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    padding: 70px 0 80px;
    background: linear-gradient(135deg, #07091a 0%, #111432 55%, #0d1a3a 100%);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(98, 70, 234, 0.15) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.auth-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(98, 70, 234, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    pointer-events: none;
}

/* ── Auth card ───────────────────────────────────────────────────────────────*/
.auth-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    padding: 48px 44px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.auth-card-wide {
    max-width: 960px;
}

/* ── Auth header ─────────────────────────────────────────────────────────────*/
.auth-logo {
    display: block;
    margin: 0 auto 28px;
    height: 42px;
    width: auto;
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.25;
}

.auth-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}

/* ── Auth form ───────────────────────────────────────────────────────────────*/
.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 7px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.auth-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    color: #fff;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    font-family: inherit;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.auth-input:focus {
    border-color: #6246ea;
    background: rgba(98, 70, 234, 0.08);
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap .auth-input {
    padding-right: 44px;
}

.auth-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    font-size: 15px;
    transition: color 0.2s;
}

.auth-pw-toggle:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Submit button ───────────────────────────────────────────────────────────*/
.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: #6246ea;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.auth-submit-btn:hover {
    background: #5038d0;
}

.auth-submit-btn:active {
    transform: scale(0.98);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ── Extras ──────────────────────────────────────────────────────────────────*/
.auth-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    user-select: none;
}

.auth-checkbox-label input[type="checkbox"] {
    accent-color: #6246ea;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.auth-forgot-link {
    font-size: 13px;
    color: #8b75f0;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-forgot-link:hover {
    color: #6246ea;
    text-decoration: underline;
}

.auth-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 28px 0;
}

.auth-alt-text {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 24px;
}

.auth-alt-link {
    color: #8b75f0;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-alt-link:hover {
    color: #6246ea;
    text-decoration: underline;
}

/* ── My Account page ─────────────────────────────────────────────────────────*/
.account-section {
    padding: 60px 0 80px;
    background: #f7f9fc;
    min-height: calc(100vh - 180px);
}

.account-welcome {
    background: linear-gradient(135deg, #111432, #1a1a5e);
    padding: 40px 0;
    margin-bottom: 40px;
}

.account-welcome-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.account-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(98, 70, 234, 0.25);
    border: 2px solid rgba(98, 70, 234, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #a58cf5;
    flex-shrink: 0;
    text-transform: uppercase;
}

.account-welcome-info {
    flex: 1;
}

.account-welcome-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.account-welcome-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.account-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.account-logout-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.account-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 36px 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    margin-bottom: 28px;
}

.account-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2535;
    margin-bottom: 6px;
}

.account-card-subtitle {
    font-size: 14px;
    color: #8a94a6;
    margin-bottom: 28px;
}

.account-form-group {
    margin-bottom: 20px;
}

.account-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7a8d;
    margin-bottom: 7px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.account-input {
    width: 100%;
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 15px;
    color: #1a2535;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    font-family: inherit;
}

.account-input:focus {
    border-color: #6246ea;
    background: #fff;
}

.account-input[readonly], .account-input[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.account-input-wrap {
    position: relative;
}

.account-input-wrap .account-input {
    padding-right: 44px;
}

.account-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8a94a6;
    cursor: pointer;
    padding: 0;
    font-size: 15px;
    transition: color 0.2s;
}

.account-pw-toggle:hover {
    color: #6246ea;
}

.account-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #6246ea;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.account-save-btn:hover {
    background: #5038d0;
}

.account-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Responsive ──────────────────────────────────────────────────────────────*/
@media (max-width: 767px) {
    .auth-card {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .auth-title {
        font-size: 22px;
    }

    .account-card {
        padding: 28px 20px 32px;
    }

    .account-welcome-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
