@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #00030c;
    --card-color: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-color: #f9f9f9;
    --secondary-text: hsl(240, 5%, 64.9%);
    --primary-button-bg: #f9f9f9;
    --primary-button-text: black;
}

body {
background-color: var(--bg-color);
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 2rem;
}

.login-card {
    max-width: 400px;
    width: 100%;
    background-color: var(--card-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

p {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    /* Tailwind blue-500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}


.btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.062);
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Tailwind gray-200 */
}

.divider-text {
    position: relative;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    color: var(--secondary-text);
    margin: 1.5rem 0;
}

.divider-text::before,
.divider-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: var(--border-color);
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
}

.message.error {
    background-color: rgba(220, 38, 38, 0.2);
    /* Red-500 with transparency */
    color: #ef4444;
    /* Red-500 */
    border: 1px solid #ef4444;
}

.message.success {
    background-color: rgba(34, 197, 94, 0.2);
    /* Green-500 with transparency */
    color: #22c55e;
    /* Green-500 */
    border: 1px solid #22c55e;
}

.footer-links {
    font-size: 0.75rem;
    margin-top: 2rem;
    color: var(--secondary-text);
}

.footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.footer-links a:hover {
    text-decoration: underline;
    color: var(--text-color);
}

.volver {
    position: absolute;
    top: 20px;
    left: 50px;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-in-out;
}

.volver:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
.volver a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 8px;
    vertical-align: middle;
}

.volver i{
    color: var(--text-color);
    font-size: 1.0rem;
    vertical-align: middle;
}

.marca {
    position: absolute;
    margin-top: 600px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.3;
    transition: opacity 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.267);
    border-radius: 15px;
    padding: 6px 12px;
}

.marca img {
    height: 40px;
    width: auto;
}
.marca span {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 400;
}
