/**=====================
     Login and Register
==========================**/
/* Base */
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #2c2c2c;
}

/* Card */
.scroll-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Título del formulario */
.card-title {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

/* Labels */
.form-label {
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.4px;
    color: #555;
    margin-bottom: 6px;
}

/* Inputs elegantes */
.form-control {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
    box-shadow: none;
}

/* Focus elegante */
.form-control:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    outline: none;
}

/* Input readonly */
.form-control[readonly] {
    background-color: #f8f8f8;
    font-weight: 500;
    color: #444;
}

/* Texto secundario */
.text-muted-custom {
    font-weight: 300;
    font-size: 13px;
    color: #888;
}

/* Botón elegante */
.btn {
    border-radius: 10px !important;
}
.btn-primary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    letter-spacing: 0.5px;
}
.login-card {
background-color: rgba(168, 168, 168, 0.2);

}
.login-form{
    border-radius: 10px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
}

.password-rules small {
    transition: all 0.3s ease;
}

.password-valid {
    color: green !important;
    font-weight: 600;
}

.avatar-upload-wrapper {
    display: flex;
    justify-content: center;
}

.avatar-upload-box {
    cursor: pointer;
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
}

.avatar-upload-box:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

#avatar-preview-container {
    margin-bottom: 10px;
}

#avatar-preview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    transition: 0.3s;
}

.avatar-text {
    display: block;
}

.loading-avatar {
    opacity: 0.5;
}

/* INPUT BASE */
.custom-input {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #f9fafb;
    padding: 0 14px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* HOVER */
.custom-input:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

/* FOCUS */
.custom-input:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* READONLY (como RFC) */
.custom-input[readonly] {
    background-color: #eef2f7;
    border-color: #d1d5db;
    color: #6b7280;
    font-weight: 500;
    cursor: not-allowed;
}

/* Placeholder elegante */
.custom-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}
.login-form .btn {
    text-transform: capitalize !important;
}