/* Registro — Estilos adicionales sobre login.css */

/* Selects (Unidad Académica / Carrera) — igual que los inputs */
.form-group select {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select option[value=""] {
    color: #94a3b8;
}


.registro-container {
    max-width: 460px;
}

.registro-card {
    padding: 32px 32px 28px;
}

.registro-btn {
    background: linear-gradient(135deg, #f08227, #e06e1a);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 16px;
}

.registro-btn:hover {
    background: linear-gradient(135deg, #e06e1a, #c45a0a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 130, 39, 0.3);
}

.registro-btn:active {
    transform: translateY(0);
}

/* Helptext debajo de los campos */
.helptext {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 400;
}

/* Links section */
.login-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.back-to-login-link {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-to-login-link:hover {
    color: #f08227;
}

/* Registro exitoso */
.registro-exitoso-card {
    padding: 36px 32px 28px;
}

.welcome-text {
    font-size: 15px !important;
    margin-top: 4px;
}

.info-section {
    margin-bottom: 24px;
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.info-item:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.info-value {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.password-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-value {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.copy-btn:hover {
    color: #f08227;
    background: #fff7ed;
}

.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}

.email-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    font-size: 12px;
    color: #4338ca;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
    .registro-container {
        max-width: 100%;
    }

    .registro-card {
        padding: 24px 20px 20px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
