/* Fimper Login Styles - Robust Plain CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #131313;
    color: #e5e2e1;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Dynamic Background Glows */
.bg-glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    background: rgba(45, 91, 255, 0.2);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    background: rgba(54, 255, 196, 0.1);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

/* Main Card */
.glass-panel {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    background: rgba(32, 31, 31, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }
    .glass-panel {
        padding: 24px;
        gap: 24px;
        border-radius: 0.875rem;
    }
    .brand-title {
        font-size: 36px;
    }
    .input-field {
        padding: 10px 14px 10px 44px;
        font-size: 16px;
    }
}

/* Header */
.auth-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: rgba(53, 53, 52, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    box-shadow: 0 0 15px rgba(54, 255, 196, 0.1);
}

.brand-icon .material-symbols-outlined {
    color: #36ffc4;
    font-size: 32px;
    font-variation-settings: 'FILL' 1;
}

.brand-title {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #36ffc4;
    margin: 0;
}

.brand-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #c4c5d9;
    text-transform: uppercase;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #c4c5d9;
    text-transform: uppercase;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(196, 197, 217, 0.5);
    pointer-events: none;
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
}

.input-field {
    width: 100%;
    background: rgba(53, 53, 52, 0.5);
    color: #e5e2e1;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    border-radius: 1rem;
    padding: 12px 16px 12px 48px;
    border: none;
    border-bottom: 2px solid transparent;
    outline: none;
    transition: all 0.3s ease;
}

.input-field::placeholder {
    color: rgba(196, 197, 217, 0.3);
}

.input-field:focus {
    border-bottom-color: #36ffc4;
    background: rgba(53, 53, 52, 0.8);
}

/* Button */
.submit-btn {
    margin-top: 16px;
    width: 100%;
    border-radius: 9999px;
    background: linear-gradient(to right, #2d5bff, #36ffc4);
    color: #001355;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 0 25px rgba(54, 255, 196, 0.3);
}

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

.btn-icon {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Footer */
.auth-footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    margin-top: 16px;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #c4c5d9;
}

.footer-link {
    color: #36ffc4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00e1ab;
}

.recover-link {
    color: #b8c3ff;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
}

.recover-link:hover {
    color: #dde1ff;
}

.mobile-break {
    display: block;
}

@media (min-width: 480px) {
    .mobile-break {
        display: none;
    }
}

/* Error Messages */
.error-message {
    color: #ffb4ab;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    margin-top: 4px;
}
