/* ============================
   REGISTER WRAPPER
============================ */

.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

/* ============================
   REGISTER BOX
============================ */

.register-box {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    animation: fadeIn 0.6s ease;
}

/* HEADER */
.register-header {
    text-align: center;
    margin-bottom: 25px;
}

.register-logo {
    font-size: 3.2rem;
    color: #667eea;
}

.register-header h2 {
    font-size: 1.9rem;
    margin-top: 10px;
    color: #333;
}

.register-header p {
    font-size: 1rem;
    color: #666;
}

/* ALERTS */
.register-alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: .95rem;
    font-weight: 500;
}

    .register-alert.error {
        background: #fee2e2;
        color: #b91c1c;
        border-left: 4px solid #ef4444;
    }

    .register-alert.success {
        background: #dcfce7;
        color: #15803d;
        border-left: 4px solid #22c55e;
    }

/* FORM INPUTS */
.input-group {
    margin-bottom: 16px;
}

    .input-group label {
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
        color: #4b5563;
    }

    .input-group .required {
        color: #ef4444;
        margin-left: 2px;
    }

    .input-group .input-help {
        display: block;
        font-size: 0.85rem;
        color: #6b7280;
        margin-top: 4px;
        line-height: 1.3;
    }

.input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: border 0.25s, box-shadow 0.25s;
}

    .input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102,126,234,.2);
    }

    /* Estilo específico para el campo de cédula */
    .input[maxlength="11"] {
        font-family: 'Courier New', monospace;
        letter-spacing: 1px;
    }

/* BUTTON */
.btn-register {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.25s ease;
}

    .btn-register:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }

    .btn-register:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* FOOTER */
.register-footer {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

    .register-footer a {
        color: #667eea;
        font-weight: 600;
        text-decoration: none;
    }

        .register-footer a:hover {
            text-decoration: underline;
        }

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
