@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

.repi-password-reset {
    --rpr-primary: #163C5D;
    --rpr-primary-hover: #112A3F;
    --rpr-link: #163C5D;
    --rpr-link-hover: #E84242;
    --rpr-text: #163C5D;
    --rpr-border: #d9dee3;
    --rpr-bg-field: #ffffff;
    --rpr-radius: 8px;
    --rpr-field-height: 56px;
    --rpr-field-max: 460px;

    font-family: "Poppins", sans-serif;
    color: var(--rpr-text);
    width: 100%;
    min-height: 60vh;
    padding: 60px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
}

.repi-password-reset *,
.repi-password-reset *::before,
.repi-password-reset *::after {
    box-sizing: border-box;
}

.repi-password-reset .rpr-card {
    width: 100%;
    max-width: 520px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.repi-password-reset .rpr-title {
    font-family: "Poppins", sans-serif;
    color: var(--rpr-text);
    font-size: 35px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.repi-password-reset .rpr-text {
    font-family: "Poppins", sans-serif;
    color: var(--rpr-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.repi-password-reset .rpr-text strong,
.repi-password-reset .rpr-text b {
    font-weight: 600;
}

.repi-password-reset .rpr-form {
    width: 100%;
    max-width: var(--rpr-field-max);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.repi-password-reset .rpr-field {
    width: 100%;
    position: relative;
}

.repi-password-reset .rpr-field input.rpr-input-control {
    width: 100% !important;
    height: var(--rpr-field-height) !important;
    padding: 0 18px !important;
    background: var(--rpr-bg-field) !important;
    border: 1px solid #163C5D !important;
    border-radius: var(--rpr-radius) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    color: var(--rpr-text) !important;
    opacity: 1 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.repi-password-reset .rpr-field.rpr-field--password input.rpr-input-control {
    padding-right: 50px !important;
}

.repi-password-reset .rpr-field input.rpr-input-control::placeholder {
    color: #163C5D !important;
    opacity: 0.85 !important;
    font-weight: 500 !important;
}

.repi-password-reset .rpr-field input.rpr-input-control::-webkit-input-placeholder {
    color: #163C5D !important;
    opacity: 0.85 !important;
    font-weight: 500 !important;
}

.repi-password-reset .rpr-field input.rpr-input-control:-ms-input-placeholder {
    color: #163C5D !important;
    opacity: 0.85 !important;
    font-weight: 500 !important;
}

.repi-password-reset .rpr-field input.rpr-input-control:focus {
    border-color: var(--rpr-primary) !important;
    box-shadow: 0 0 0 3px rgba(22, 60, 93, 0.18) !important;
}

.repi-password-reset .rpr-toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
    color: var(--rpr-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.repi-password-reset .rpr-toggle-password:hover {
    background-color: rgba(22, 60, 93, 0.08);
}

.repi-password-reset .rpr-toggle-password:focus {
    outline: none;
    background-color: rgba(22, 60, 93, 0.12);
}

.repi-password-reset .rpr-toggle-password svg {
    width: 20px;
    height: 20px;
    display: block;
}

.repi-password-reset .rpr-cta {
    width: 100%;
    height: var(--rpr-field-height);
    background: var(--rpr-primary);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: 0;
    border-radius: var(--rpr-radius);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.2px;
    transition: background-color 0.2s ease, transform 0.05s ease;
    margin-top: 4px;
}

.repi-password-reset .rpr-cta:hover,
.repi-password-reset .rpr-cta:focus {
    background: var(--rpr-primary-hover);
    color: #ffffff;
    outline: none;
}

.repi-password-reset .rpr-cta:active {
    transform: translateY(1px);
}

.repi-password-reset .rpr-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rpr-link);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 30px;
    transition: color 0.2s ease;
}

.repi-password-reset .rpr-back .rpr-back-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.repi-password-reset .rpr-back:hover,
.repi-password-reset .rpr-back:focus {
    color: var(--rpr-link-hover);
    text-decoration: none;
    outline: none;
}

.repi-password-reset .rpr-back:hover .rpr-back-icon {
    transform: translateX(-2px);
}

.repi-password-reset .rpr-errors {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
    width: 100%;
    max-width: var(--rpr-field-max);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.repi-password-reset .rpr-errors li {
    background: #fdecec;
    color: #b3261e;
    border: 1px solid #f5c2c0;
    border-radius: var(--rpr-radius);
    padding: 10px 14px;
    font-size: 13px;
    text-align: left;
}

.repi-password-reset .rpr-customer-email {
    display: inline-block;
    font-weight: 600;
}

.repi-password-reset .rpr-success-text {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #1f8a4c;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    background: transparent;
    border: 0;
}

@media (max-width: 768px) {
    .repi-password-reset {
        padding: 40px 16px;
        align-items: flex-start;
        --rpr-field-height: 52px;
    }

    .repi-password-reset .rpr-card {
        max-width: 100%;
        gap: 20px;
    }

    .repi-password-reset .rpr-title {
        font-size: 26px;
    }

    .repi-password-reset .rpr-text {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .repi-password-reset .rpr-title {
        font-size: 22px;
    }
}
