﻿/* Cambio de contraseña (diseño EHR-13837): compartido por Views/Account/ChangePassword.cshtml
   y el panel de cambio de contraseña pendiente de Views/Account/Login.cshtml (.cp-scope). */
.cp-scope .cp-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e6f0f7;
    color: #0f3557;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.cp-scope .cp-title {
    color: #000;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 10px;
    text-align: center;
}

.cp-scope .cp-subtitle {
    font-size: 15px;
    color: #1f2937;
    margin-bottom: 14px;
    text-align: center;
}

.cp-scope .cp-target {
    font-size: 13px;
    color: #0f3557;
    font-weight: 600;
    text-align: center;
    margin-bottom: 18px;
}

.cp-scope .cp-card {
    background: #f1f7fb;
    border-radius: 10px;
    padding: 16px 20px 18px;
    margin-bottom: 18px;
}

.cp-scope .cp-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.cp-scope .cp-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f3557;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.cp-scope .cp-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f3557;
    margin: 0;
}

.cp-scope .cp-field {
    margin-bottom: 14px;
}

.cp-scope .cp-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

    .cp-scope .cp-label b {
        color: #dc2626;
    }

.cp-scope .cp-help {
    display: block;
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 6px;
}

.cp-scope .cp-input-wrap {
    position: relative;
}

    .cp-scope .cp-input-wrap .form-control {
        height: 40px;
        padding-right: 40px;
        border-radius: 6px;
        border: 1px solid #c7ced6;
        box-shadow: none;
        background: #fff;
    }

        .cp-scope .cp-input-wrap .form-control.is-invalid {
            border-color: #dc2626;
        }

        .cp-scope .cp-input-wrap .form-control.is-valid {
            border-color: #16a34a;
        }

    .cp-scope .cp-input-wrap .cp-eye {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #111827;
    }

        .cp-scope .cp-input-wrap .cp-eye.is-invalid {
            color: #dc2626;
        }

        .cp-scope .cp-input-wrap .cp-eye.is-valid {
            color: #16a34a;
        }

.cp-scope .cp-rules {
    display: none;
    background: #eef1f4;
    border-radius: 6px;
    padding: 10px 16px;
    margin-top: 10px;
}

    .cp-scope .cp-rules.show {
        display: block;
    }

    .cp-scope .cp-rules p {
        font-size: 13px;
        color: #111827;
        margin: 0 0 6px;
    }

    .cp-scope .cp-rules ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .cp-scope .cp-rules li {
        font-size: 12px;
        color: #dc2626;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .cp-scope .cp-rules li i {
            width: 14px;
            text-align: center;
        }

        .cp-scope .cp-rules li.ok {
            color: #16a34a;
        }

.cp-scope .cp-inline-error {
    display: none;
    font-size: 12px;
    color: #dc2626;
    margin-top: 6px;
}

    .cp-scope .cp-inline-error.show {
        display: block;
    }

.cp-scope .cp-server-error {
    display: none;
    text-align: center;
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 12px;
}

.cp-scope .container-new-account {
    border-top: 1px solid #eef1f4;
    padding-top: 18px;
}

.cp-scope .cp-btn-save[disabled] {
    opacity: .55;
    cursor: not-allowed;
}
