body {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container-main {
    max-width: 450px;
    width: 100%;
}

.card-main {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 15px;
    color: #64748b;
    text-align: center;
    margin-bottom: 40px;
}

/* Simulación de matrícula */
.matricula-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 0;
}

.matricula-eu {
    background: #073088;
    width: 50px;
    height: 70px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    border: 2px solid #073088;
}

.matricula-eu img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.eu-stars {
    color: #FFCC00;
    font-size: 18px;
    margin-bottom: 5px;
}

.eu-letter {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.matricula-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 250px;
}

.matricula-input {
    width: 100%;
    height: 70px;
    border: 3px solid #1a1a1a;
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 0 20px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: white;
    color: #1a1a1a;
    font-family: 'Courier New', monospace;
}

.matricula-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.matricula-input.error {
    border-color: #dc2626;
}

.matricula-input.valid {
    border-color: #10b981;
}

/* Mensaje de error/éxito */
.message {
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
    min-height: 20px;
    font-weight: 500;
}

.message.error {
    color: #dc2626;
}

.message.success {
    color: #10b981;
}

/* Formato de matrícula */
.format-help {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.format-example {
    display: inline-block;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #475569;
    margin-top: 6px;
}

/* Grupo de input */
.input-group {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

/* Wrapper para input con icono */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100% ;
}

.input-icon {
    position: absolute;
    left: 16px;
    font-size: 20px;
    pointer-events: none;
    z-index: 1;
}

.input-field {
    width: 100%;
    height: 50px;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    padding: 0 16px 0 50px;
    font-size: 16px;
    color: #1a1a1a;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
    
}

.input-field:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-field.error {
    border-color: #dc2626;
}

.input-field.valid {
    border-color: #10b981;
}

/* Mensaje de error/éxito de campos */
.field-message {
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
    font-weight: 500;
}

.field-message.error {
    color: #dc2626;
}

.field-message.success {
    color: #10b981;
}

/* Botón */
.btn-continue {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.btn-continue:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-continue:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 576px) {
    .card-main {
        padding: 30px 20px;
    }
    
    .matricula-eu {
        width: 45px;
        height: 70px;
        border: 2px solid #073088;
    }
    
    .matricula-input {
        font-size: 28px;
        letter-spacing: 3px;
    }
    
    .input-field {
        font-size: 16px;
    }
}