﻿:root {
    /* Paleta de colores CannaSafe */
    --primary-green: #1e3d33; /* Verde Esmeralda Oscuro */
    --primary-hover: #2d5a4c;
    --input-bg: #f0fdf4; /* Verde Menta Suave */
    --text-main: #111827;
    --text-muted: #6b7280;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, #f0fdf4 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

/* Contenedor principal (Tarjeta) */
.auth-container {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 30px; /* Bordes redondeados premium */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 50px 40px;
}

.brand-logo {
    display: block;
    max-width: 160px;
    margin: 0 auto 25px;
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Estilo de los campos de entrada */
.form-group-compact {
    margin-bottom: 15px;
}

.form-label {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary-green);
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
}

.input-group-custom {
    position: relative;
}

    .input-group-custom i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: 1rem;
        z-index: 10;
    }

.form-control-custom {
    width: 100%;
    height: 50px;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    background-color: var(--input-bg) !important;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

    .form-control-custom:focus {
        background-color: #fff !important;
        border-color: var(--primary-green);
        box-shadow: 0 0 0 3px rgba(30, 61, 51, 0.1);
        outline: none;
    }

/* Botones */
.btn-auth-submit {
    background-color: var(--primary-green);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    width: 100%;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-auth-submit:hover {
        background-color: var(--primary-hover);
        transform: translateY(-1px);
    }

.btn-auth-light {
    background-color: #f1f5f9;
    color: var(--text-main);
    border: none;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

/* Divisor decorativo */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    margin: 20px 0;
    font-size: 0.8rem;
}

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e5e7eb;
    }

    .divider:not(:empty)::before {
        margin-right: .5rem;
    }

    .divider:not(:empty)::after {
        margin-left: .5rem;
    }

.footer-text {
    margin-top: 25px;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}
