﻿body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
    margin: 0;
    padding: 0;
}

.page-login, .page-registro {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.auth-card {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    max-width: 420px;
    width: 100%;
}

    .auth-card h1 {
        margin-top: 0;
        margin-bottom: 0.25rem;
        font-size: 1.6rem;
        color: #111827;
    }

.auth-subtitle {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #6b7280;
}

.form-row {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
}

.form-row-inline {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    outline: none;
}

    input:focus,
    select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
    }

.btn-primary {
    width: 100%;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: none;
    background: #1d4ed8;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

    .btn-primary:disabled {
        opacity: 0.6;
        cursor: wait;
    }

.auth-footer {
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
    color: #6b7280;
}

    .auth-footer a {
        color: #1d4ed8;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.alert {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-ok {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}


.h2-section {
    font-size: 1.1rem;
    margin-bottom: .6rem;
    color: #111827;
    font-weight: 600;
}

.table-wrapper {
    overflow-x: auto;
}

.tabla-simple {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

    .tabla-simple th,
    .tabla-simple td {
        padding: .55rem .75rem;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
    }

    .tabla-simple th {
        background: #f3f4f6;
        font-weight: 600;
        color: #4b5563;
    }

.account-box {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: .92rem;
}
