/* --- VARIABLES DE COLOR (GD Style) --- */
:root {
    --bg-dark: #0a0a0a;
    --card-bg: #161616;
    --accent: #2ecc71; /* GD green */
    --accent-hover: #27ae60;
    --text-main: #ffffff;
    --text-dim: #b3b3b3;
    --error: #e74c3c;
    --border: #333333;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- CARD CONTAINERS --- */
.auth-card, .connect-container, .dashboard-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* --- HEADINGS & TEXT --- */
h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.app-name {
    color: var(--accent);
    font-weight: bold;
}

/* --- INPUTS --- */
input[type="text"], input[type="password"], input[type="email"], input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent);
}

/* --- BUTTONS --- */
button, .btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    text-decoration: none;
    display: inline-block;
}

button:hover, .btn-auth:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    transform: none;
}

/* --- LINKS & SECTIONS --- */
.login-msg, .auth-section, .verify-section {
    margin-top: 20px;
}

a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* --- LOADING ANIMATION --- */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}
