﻿/* ================================================================
   RECUPERAR PASSWORD
   ================================================================ */

.forgot-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 100px);
    padding: 36px 24px;
    box-sizing: border-box;
}


/* ================================================================
   CONTENEDOR
   ================================================================ */

.forgot-wrapper {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(400px, 1.1fr);
    width: 100%;
    max-width: 940px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe3e7;
    border-radius: 18px;
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.08);
}


/* ================================================================
   PANEL EMPRESA
   ================================================================ */

.forgot-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 540px;
    padding: 42px 38px 30px;
    background: linear-gradient( 145deg, #3f4953 0%, #56616c 100% );
    color: #ffffff;
}


.forgot-brand-content {
    margin-top: 34px;
}


.forgot-company-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 700;
}


.forgot-brand-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}


.forgot-brand-panel h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 650;
    line-height: 1.15;
}


.forgot-brand-panel h2 {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-weight: 500;
}


.forgot-brand-panel p {
    max-width: 340px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.6;
}


/* ================================================================
   SOLTIC
   ================================================================ */

.forgot-brand-footer {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.74rem;
}


    .forgot-brand-footer a {
        color: rgba(255, 255, 255, 0.76);
        font-weight: 600;
        text-decoration: none;
    }


        .forgot-brand-footer a:hover {
            color: #ffffff;
            text-decoration: underline;
        }


/* ================================================================
   FORMULARIO
   ================================================================ */

.forgot-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px 50px;
}


.forgot-form-header {
    margin-bottom: 28px;
}


.forgot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background: #eef2f5;
    border-radius: 11px;
    color: #515c66;
    font-size: 21px;
}


.forgot-form-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #7d8791;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.forgot-form-header h2 {
    margin: 0 0 9px;
    color: #303840;
    font-size: 1.65rem;
    font-weight: 650;
}


.forgot-form-header p {
    margin: 0;
    color: #77818b;
    font-size: 0.9rem;
    line-height: 1.55;
}


/* ================================================================
   CAMPO
   ================================================================ */

.forgot-field {
    margin-bottom: 19px;
}


    .forgot-field > label {
        display: block;
        margin-bottom: 7px;
        color: #47515a;
        font-size: 0.82rem;
        font-weight: 600;
    }


.forgot-input-wrapper {
    display: flex;
    align-items: center;
    min-height: 46px;
    background: #ffffff;
    border: 1px solid #d6dce1;
    border-radius: 9px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}


    .forgot-input-wrapper:focus-within {
        border-color: #929da6;
        box-shadow: 0 0 0 3px rgba(120, 132, 143, 0.10);
    }


.forgot-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    color: #7b858e;
    font-size: 16px;
}


.forgot-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 12px 0 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #343d45;
    font-family: inherit;
    font-size: 0.9rem;
}


    .forgot-input::placeholder {
        color: #a1a8ae;
    }


/* ================================================================
   VALIDACION
   ================================================================ */

.forgot-field-error {
    display: block;
    min-height: 16px;
    margin-top: 5px;
    color: #994e4e;
    font-size: 0.75rem;
}


.forgot-validation-summary {
    margin-bottom: 16px;
    color: #994e4e;
    font-size: 0.82rem;
}


    .forgot-validation-summary:empty {
        display: none;
    }


    .forgot-validation-summary ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }


/* ================================================================
   INFORMACION
   ================================================================ */

.forgot-info {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 22px;
    padding: 12px 13px;
    background: #f3f5f7;
    border: 1px solid #e0e4e7;
    border-radius: 8px;
    color: #66717a;
    font-size: 0.78rem;
    line-height: 1.45;
}


    .forgot-info .dx-icon {
        flex: 0 0 auto;
        margin-top: 2px;
    }


/* ================================================================
   BOTON
   ================================================================ */

.forgot-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    background: #424d57;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
}


    .forgot-submit:hover:not(:disabled) {
        background: #333d46;
    }


    .forgot-submit:active:not(:disabled) {
        transform: translateY(1px);
    }


    .forgot-submit:disabled {
        opacity: 0.7;
        cursor: wait;
    }


/* ================================================================
   VOLVER
   ================================================================ */

.forgot-back {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}


    .forgot-back a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #68727b;
        font-size: 0.8rem;
        font-weight: 500;
        text-decoration: none;
    }


        .forgot-back a:hover {
            color: #343d45;
            text-decoration: underline;
        }


/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 900px) {

    .forgot-page {
        padding: 24px 18px;
    }


    .forgot-wrapper {
        grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
    }


    .forgot-brand-panel {
        padding: 34px 28px 26px;
    }


    .forgot-form-panel {
        padding: 40px 34px;
    }
}


/* ================================================================
   MOVIL
   ================================================================ */

@media (max-width: 700px) {

    .forgot-page {
        align-items: flex-start;
        min-height: 0;
        padding: 14px 12px 24px;
    }


    .forgot-wrapper {
        display: block;
        max-width: 520px;
        border-radius: 13px;
    }


    .forgot-brand-panel {
        min-height: 0;
        padding: 24px 22px;
    }


    .forgot-brand-content {
        margin-top: 0;
    }


    .forgot-company-mark {
        width: 50px;
        height: 50px;
        margin-bottom: 17px;
        border-radius: 11px;
        font-size: 1.3rem;
    }


    .forgot-brand-panel h1 {
        font-size: 1.45rem;
    }


    .forgot-brand-panel h2 {
        margin-bottom: 11px;
        font-size: 0.9rem;
    }


    .forgot-brand-panel p {
        font-size: 0.84rem;
    }


    .forgot-brand-footer {
        margin-top: 22px;
        padding-top: 15px;
    }


    .forgot-form-panel {
        padding: 28px 22px;
    }


    .forgot-form-header {
        margin-bottom: 24px;
    }


        .forgot-form-header h2 {
            font-size: 1.4rem;
        }
}
.forgot-error {
    margin-bottom: 20px;
    padding: 12px 14px;
    background: #f8eeee;
    border: 1px solid #ead7d7;
    border-radius: 8px;
    color: #884747;
    font-size: 0.8rem;
    line-height: 1.5;
}