@use "../abstracts/variables.scss" as *;
@use "../abstracts/mixins.scss" as *;

.forgot-password-page {

    .header,
    .sub-header {
        margin: 0;
        text-align: center;
        line-height: 20px;
    }

    .login {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 350px;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid var(--highlight-text-color);
        border-radius: 20px;
        background: transparent;
        color: var(--highlight-text-color);
        font-size: 14px;
        outline: none;
        cursor: pointer;
    }

    .forgot-password-wrapper {
        width: 25%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        justify-content: center;
        align-items: center;

        .logo-icon {
            width: 150px;
            height: auto;
            margin: auto;
        }

        .request-container {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 16px;

            .sub-header {
                width: 100% !important;
            }

            .login {
                position: relative;
                top: 0;
                left: 0;
            }

            .auth-form {
                margin: 0;

                .continue-button {
                    margin-top: 6px;
                }

                .timing {
                    margin: 6px 0;
                    color: #F2451C;

                }

                .otp-container {
                    display: flex;
                    gap: 24px;
                    justify-content: center;

                    .otp-input {
                        width: 60px !important;
                        height: 60px !important;
                        text-align: center;
                        font-size: 20px;
                        font-weight: bold;
                        border: 1px solid var(--border-color);
                        border-radius: 4px !important;
                        outline: none;
                        transition: border-color 0.2s;

                        &:focus,
                        &:active {
                            outline: 1px solid var(--border-color-accent);
                        }
                    }
                }
            }

            .resend {
                span {
                    color: var(--highlight-text-color); 
                }
                
                &.disabled {
                    span {
                        color: var(--text-disabled);
                    }
                }
            }
        }
    }
}