/**
 * AutoDirectMy - Large Scale Account Recovery Styles
 */

:root {
    --black: #000000;
    --dark-gray: #121212;
    --medium-gray: #1e1e1e;
    --red: #d32f2f;
    --bright-red: #ff1744;
    --white: #ffffff;
    --text-muted: #9e9e9e;
    --success-bg: rgba(46, 204, 113, 0.15);
    --success-border: #2ecc71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow-y: auto;
    position: relative;
    padding: 40px 20px; /* Increased top/bottom padding */
}

/* Enhanced background decorative glow */
body::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--red);
    filter: blur(200px);
    opacity: 0.15;
    top: -100px;
    right: -100px;
    z-index: -1;
}

.login-card {
    background: var(--dark-gray);
    width: 100%;
    /* Increased width to 520px to feel more substantial */
    max-width: 520px; 
    /* Heavy padding to create a luxurious, spacious feel */
    padding: 60px 50px; 
    border-radius: 16px;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
    position: relative;
    text-align: center;
}

/* Top accent line - made slightly thicker */
.login-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--bright-red));
    border-radius: 16px 16px 0 0;
}

.header {
    margin-bottom: 50px; /* More space before the form */
}

.logo-container {
    margin-bottom: 25px;
}

.main-logo {
    max-width: 140px; /* Bigger logo to fill the larger card */
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

.header h1 {
    font-size: 32px; /* Large, bold heading */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.header p {
    font-size: 16px; /* Larger subtitle */
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.form-group {
    text-align: left;
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    /* Extra large padding inside input for premium feel */
    padding: 18px 20px; 
    background: var(--medium-gray);
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--white);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--red);
    background: #222;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.2);
}

/* API Feedback Boxes - Larger and more prominent */
.success-box {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-border);
    padding: 25px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.error-box {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid var(--red);
    color: var(--bright-red);
    padding: 20px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 30px;
}

/* Button - Heavyweight and impactful */
.login-btn {
    width: 100%;
    padding: 20px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login-btn:hover {
    background: var(--bright-red);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
    transform: translateY(-3px);
}

.login-btn:disabled {
    background: #333;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.footer-text {
    margin-top: 50px;
    font-size: 15px;
    color: var(--text-muted);
}

.footer-text a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    margin-left: 8px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.footer-text a:hover {
    color: var(--bright-red);
    border-bottom: 2px solid var(--bright-red);
}

.version {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.3;
    display: block;
}

/* Responsive adjustment for small phones */
@media (max-width: 480px) {
    .login-card {
        padding: 40px 25px;
    }
    .header h1 {
        font-size: 26px;
    }
}