/* login page */

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.login-container h1 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

.login-container p {
    color: #6c757d;
    margin-bottom: 30px;
}

.btn-social {
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-social img {
    width: 20px;
    margin-right: 10px;
}

.form-control {
    height: 50px;
    border-radius: 8px;
}

.form-label {
    font-weight: 600;
}

.btn-login {
    background-color: #f56529;
    border-color: #f56529;
    color: white;
    font-weight: 600;
    height: 50px;
    border-radius: 8px;
}

.btn-login:hover {
    background-color: #e05a25;
    border-color: #e05a25;
}

.input-group .form-control {
    border-right: 0;
}

.input-group .input-group-text {
    border-left: 0;
    background-color: white;
}

.form-control:focus {
    box-shadow: none;
    border-color: #f56529;
}

.forgot-password-link {
    color: #f56529;
    font-weight: 600;
    text-decoration: none;
}

.create-account-link {
    color: #f56529;
    font-weight: 600;
    text-decoration: none;
}

/* register page */
body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.signup-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.signup-container h1 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

.signup-container p {
    color: #6c757d;
    margin-bottom: 30px;
}

.form-control {
    height: 50px;
    border-radius: 8px;
}

.form-label {
    font-weight: 600;
}

.btn-login {
    background-color: #f56529;
    border-color: #f56529;
    color: white;
    font-weight: 600;
    height: 50px;
    border-radius: 8px;
}

.btn-login:hover {
    background-color: #e05a25;
    border-color: #e05a25;
}

.input-group-text {
    background-color: transparent;
    border-left: 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #f56529;
}

.input-group .form-control {
    border-right: 0;
}

.input-group .input-group-text {
    border-left: 0;
    background-color: white;
}

.login-link {
    color: #f56529;
    font-weight: 600;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

/* forgot-password */
body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 20px;
}

.forgot-password-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.forgot-password-container h1 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

.forgot-password-container p {
    color: #6c757d;
    margin-bottom: 30px;
}

.form-control {
    height: 50px;
    border-radius: 8px;
}

.form-label {
    font-weight: 600;
    text-align: left;
    display: block;
    width: 100%;
}

.btn-get-otp {
    background-color: #f56529;
    border-color: #f56529;
    color: white;
    font-weight: 600;
    height: 50px;
    border-radius: 8px;
    width: 100%;
}

.btn-get-otp:hover {
    background-color: #e05a25;
    border-color: #e05a25;
}

.btn-get-otp:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.input-group .form-control {
    border-right: 0;
}

.input-group .input-group-text {
    border-left: 0;
    background-color: white;
}

.form-control:focus {
    box-shadow: none;
    border-color: #f56529;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
}

.otp-section,
.password-section {
    display: none;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

.otp-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

@media (max-width: 420px) {
    .otp-inputs {
        gap: 5px;
    }

    .otp-input {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.form-label {
    font-weight: 500;
}

.btn-get-otp:hover {
    background-color: #e05a25;
    border-color: #e05a25;
}

.btn-get-otp:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.input-group .form-control {
    border-right: 0;
}

.input-group .input-group-text {
    border-left: 0;
    background-color: white;
}

.form-control:focus {
    box-shadow: none;
    border-color: #f56529;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
}

.otp-section,
.password-section {
    display: none;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #dee2e6;
    border-radius: 8px;
}


.back-link {
    margin-top: 20px;
    color: #6c757d;
    text-decoration: none;
    cursor: pointer;
}

.back-link:hover {
    color: #f56529;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.password-input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

/* verify-otp */
body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 20px;
}

.otp-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.otp-container h1 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

.otp-container p {
    color: #6c757d;
    margin-bottom: 30px;
}

.otp-container p strong {
    color: #f56529;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 8px;
    border: 1px solid #f5c5b3;
    background-color: #fff7f5;
    font-weight: 600;
}

.otp-input:focus {
    outline: none;
    border-color: #f56529;
    box-shadow: 0 0 0 0.25rem rgba(245, 101, 41, 0.25);
}

.btn-submit {
    background-color: #f56529;
    border-color: #f56529;
    color: white;
    font-weight: 600;
    height: 50px;
    border-radius: 8px;
    width: 100%;
}

.btn-submit:hover {
    background-color: #e05a25;
    border-color: #e05a25;
}

.btn-submit:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.resend-link {
    color: #f59a73;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-top: 20px;
    cursor: pointer;
}

.resend-link:hover {
    color: #f56529;
}

.alert {
    margin-bottom: 20px;
    border-radius: 8px;
}

.timer {
    color: #6c757d;
    font-size: 14px;
    margin-top: 10px;
}