.section-register {
    min-height: 51.6875rem;
}

.section-register .section-bg img {
    object-position: right;
}

.section-account .register-form {
    max-width: 100%;
    margin: 0 auto;
}

.section-account {
    padding: 4.94rem var(--section) 4.19rem;
    min-height: 77.5vh;
    display: flex;
    justify-content: flex-end;
}

.section-account .section-content {
    margin-right: 0;
    max-width: 100%;
}

.section-account .section-content .col-register {
    width: 30.5625rem;
    max-width: 100%;
    margin-left: auto;
}

.section-account .title {
    color: #0b8343;
    font-size: 2.25rem;
    font-style: normal;
    margin-bottom: 1.69rem;
}

.message-box {
    margin-bottom: 0.9375rem;
}

.message {
    padding: 0.7rem 1.12rem;
    margin-bottom: var(--10);
    border-radius: 0.375rem;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.section-account .form-item:not(:last-child) {
    margin-bottom: 1.38rem;
}

.form-item sending {}

.section-account .form-item label,
.section-account .form-item .category-title {
    display: block;
    margin-bottom: 0.3125rem;
    color: #2e2e2e;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.section-account .form-item label .required,
.section-account .form-item .category-title .required {
    color: #f00;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
}

.section-account .form-item input:not([type="checkbox"]),
.section-account .form-item select {
    width: 100%;
    padding: 0 1.12rem;
    border: 1px solid #d0d0d0;
    height: 2.625rem !important;
    border-radius: 0.375rem;
    box-shadow: none;
    outline: none;
    font-weight: normal;
    font-size: 0.9375rem;
}

.section-account .form-item input:not([type="checkbox"]):focus {
    border-color: #6dbb54;
}

.section-account .form-item input::placeholder {
    color: #a6a6a6;
}

.section-account .form-item .box {
    display: flex;
    gap: 0.625rem;
}

.section-account .form-item .box input {
    flex: 1;
}

/* Forgot Password Page Styles */
.forgot-password-page .message-box {
    margin-bottom: 1.25rem;
    min-height: 0;
    transition: all 0.3s ease;
}

.forgot-password-page .message-box .alert {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0;
}

.forgot-password-page .message-box .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.forgot-password-page .message-box .alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.forgot-password-page .message-box .alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.forgot-password-page .message-box .alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Verification code field with button */
.forgot-password-page .form-item .box {
    display: flex;
    gap: 0.625rem;
    align-items: stretch;
}

.forgot-password-page .form-item .box input {
    flex: 1;
    margin: 0;
    min-height: 2.625rem !important;
}

.forgot-password-page .form-item .box .btn-send {
    background: #0B8343;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    min-width: 5rem;
}

.forgot-password-page .form-item .box .btn-send:hover {
    background: #096d38;
    transform: translateY(-0.0625rem);
}

.forgot-password-page .form-item .box .btn-send:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.forgot-password-page .form-item .box .btn-send:disabled:hover {
    background: #6c757d;
    transform: none;
}

/* Password toggle button */
.forgot-password-page .password-wrapper {
    position: relative;
}

.forgot-password-page .toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.forgot-password-page .toggle-password:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.forgot-password-page .toggle-password .icon-eye {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url('/wp-content/themes/diwe/images/eye-off.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.forgot-password-page .toggle-password .icon-eye.show {
    background-image: url('/wp-content/themes/diwe/images/eye.svg');
}
.forgot-password-page .login-link{
 text-align:center
}
.forgot-password-page .login-link a{
    color: #0b8343;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.3125rem;
}
    
#main .forgot-password-page .btn-reset-password{
        border: none;
        border-radius: 0.25rem;
        cursor: pointer;
        font-weight: 500;
        transition: background-color 0.3s;
        height: 2.625rem;
        width: 100%;
        margin-bottom: 1rem;
}
/* Form improvements */
.forgot-password-page .form-item input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

.forgot-password-page .form-item label .required {
    color: #dc3545;
    margin-left: 0.125rem;
}

/* Button styles */
.forgot-password-page .btn.btn__secondary {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.forgot-password-page .btn.btn__secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-0.0625rem);
}

.forgot-password-page .btn-verify-code:disabled,
.forgot-password-page .btn-reset-password:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Button loading state */
.forgot-password-page .btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Password fields animation */
.forgot-password-page .password-fields {
    overflow: hidden;
}

/* Step-by-step form visual indicators */
.forgot-password-page .form-item input:disabled {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.forgot-password-page .form-item input:disabled:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* Enhanced form validation */
.forgot-password-page .form-item input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.forgot-password-page .form-item input.success {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Responsive improvements */
@media (max-width: 48rem) {
    .forgot-password-page .form-item .box {
        flex-direction: column;
        gap: 0.625rem;
    }

    .forgot-password-page .form-item .box .btn-send {
        min-width: unset;
        width: 100%;
    }
}

/* Animation for message box */
.forgot-password-page .message-box {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.forgot-password-page .message-box:empty {
    max-height: 0;
    opacity: 0;
}

.forgot-password-page .message-box:not(:empty) {
    max-height: 12.5rem;
    opacity: 1;
}

/* Timer animation for send button */
.forgot-password-page .btn-send:disabled {
    position: relative;
    overflow: hidden;
}

.forgot-password-page .btn-send:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}