@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --sov-obsidian: #0b0e14;
    --sov-card: rgba(18, 22, 28, 0.7);
    --sov-border: rgba(255, 255, 255, 0.08);
    --sov-accent: #0088ff; /* Sophisticated Blue */
    --sov-accent-soft: rgba(0, 136, 255, 0.15);
    --sov-text-muted: rgba(255, 255, 255, 0.5);
    --sov-font: 'Inter', sans-serif;
}

.account-section {
    background: var(--sov-obsidian);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: var(--sov-font) !important;
}

/* Subtle Sovereign Background */
.account-section::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle at center, rgba(0, 136, 255, 0.05), transparent 70%);
    top: -30vw;
    right: -10vw;
    pointer-events: none;
}

.account-section::after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.03), transparent 70%);
    bottom: -20vw;
    left: -10vw;
    pointer-events: none;
}

/* Classy Sovereign Card */
.account-wrapper, .glass-card {
    background: var(--sov-card) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--sov-border) !important;
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    max-width: 480px !important;
    margin: 40px auto;
}

.account-logo img {
    max-width: 160px;
    margin-bottom: 30px;
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(0, 136, 255, 0.2));
}

.account-logo h4 {
    font-weight: 500;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Sovereign Forms */
.cmn--label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    color: var(--sov-text-muted) !important;
    margin-bottom: 12px;
}

.input-group {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--sov-border) !important;
    border-radius: 12px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.input-group:focus-within {
    border-color: var(--sov-accent) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 0 0 4px var(--sov-accent-soft) !important;
}

.input-group-text {
    background: transparent !important;
    border: none !important;
    color: var(--sov-text-muted) !important;
    padding-left: 20px;
}

.cmn--form--control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 14px 18px !important;
    font-size: 0.95rem;
    font-weight: 400;
}

.cmn--form--control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Sovereign Captcha Integration */
.captcha-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--sov-border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#captcha-image {
    border-radius: 8px;
    margin-bottom: 15px;
    filter: contrast(1.1) brightness(0.9);
}

/* Social Buttons: Refined Minimal */
.social-login-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-login-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sov-border);
    border-radius: 10px;
    padding: 12px;
    color: #fff !important;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-login-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--sov-text-muted);
}

/* Sovereign OR Separator */
.or-separator {
    color: var(--sov-text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 30px;
}

/* The Primary Button: Powerful Minimalist */
.cmn--btn {
    background: var(--sov-accent) !important;
    color: #fff !important;
    height: 52px;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px 0 rgba(0, 136, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.cmn--btn:hover {
    background: #0077e6 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4) !important;
}

.account-wrapper a {
    color: var(--sov-accent);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.account-wrapper a:hover {
    text-decoration: underline;
}

.text-white {
    color: var(--sov-text-muted) !important;
    font-size: 0.9rem;
}

/* Custom Checkbox Sovereign Style */
.custom--checkbox .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sov-border);
    cursor: pointer;
}

.custom--checkbox .form-check-input:checked {
    background-color: var(--sov-accent);
    border-color: var(--sov-accent);
}

/* Responsive Polishing */
@media (max-width: 576px) {
    .account-wrapper, .glass-card {
        padding: 35px 25px;
        margin: 20px 15px;
    }
}
