:root {
    --negro-fondo: #0a0a0a;
    --negro-panel: #141414;
    --dorado: #c5a059;
    --dorado-hover: #e0c080;
    --texto: #e0e0e0;
}

body {
    background-color: var(--negro-fondo);
    color: var(--texto);
    font-family: 'Segoe UI', Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-card {
    background: var(--negro-panel);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--dorado);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 { color: var(--dorado); margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; }

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
    box-sizing: border-box;
}

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

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: linear-gradient(45deg, #c5a059, #8e6d28);
    border: none;
    border-radius: 5px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4); }

.switch-form { margin-top: 15px; font-size: 0.9em; }
.switch-form a { color: var(--dorado); text-decoration: none; 
}


.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    animation: slideIn 0.5s ease forwards;
}

.toast-error { 
    background: linear-gradient(45deg, #ff4444, #990000); 
    color: white;
    border: 1px solid #ff4444;
}

.toast-success { 
    background: linear-gradient(45deg, var(--dorado), #8e6d28); 
    border: 1px solid var(--dorado);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
