#sendOtpBtn {
    background-color: #195c37;
    border-color: #195c37;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
}

#sendOtpBtn:hover {
    background-color: #13462a;
    border-color: #13462a;
    color: #ffffff;
}

#sendOtpBtn:disabled {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #6c757d;
    cursor: not-allowed;
}

/* Base Theme Styles (Light Mode) */
.btn-theme-otp {
    background-color: #195c37;
    border-color: #195c37;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.btn-theme-otp:hover {
    background-color: #13462a;
    border-color: #13462a;
    color: #ffffff;
}

.btn-theme-otp:disabled {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #6c757d;
    cursor: not-allowed;
}

.text-sub-hint {
    color: #6c757d;
}

/* -------------------------------------------
   Dark Theme Overrides when body has .dark-theme
------------------------------------------- */
body.dark-theme .otp-box-wrapper {
    background-color: #2b2b2b !important;
    border: 1px solid #3d3d3d !important;
}

body.dark-theme .otp-box-wrapper .light-color-text {
    color: #e4e6eb !important;
}

body.dark-theme .otp-box-wrapper .text-sub-hint {
    color: #a0a0a0 !important;
}

body.dark-theme #otpInput {
    background-color: #1e1e1e !important;
    border-color: #3d3d3d !important;
    color: #ffffff !important;
}

body.dark-theme #otpInput::placeholder {
    color: #777777 !important;
}

body.dark-theme .btn-theme-otp {
    background-color: #28a745;
    border-color: #28a745;
    color: #ffffff;
}

body.dark-theme .btn-theme-otp:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

body.dark-theme .btn-theme-otp:disabled {
    background-color: #3a3a3a !important;
    border-color: #4a4a4a !important;
    color: #888888 !important;
}

/* Dark theme overrides for form inputs */
body.dark-theme #registerForm .form-control {
    background-color: #2b2b2b !important;
    border-color: #3d3d3d !important;
    color: #ffffff !important;
}

body.dark-theme #registerForm .form-control:focus {
    background-color: #2b2b2b !important;
    color: #ffffff !important;
}

body.dark-theme #registerForm .form-control::placeholder {
    color: #888888 !important;
    opacity: 1;
}

/* Custom Alert Box Theme (Light Mode) */
.theme-alert-box .alert {
    border-radius: 12px;
    border-width: 1px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 0;
}

/* Success Alert (Rama Iron Forest Green) */
.theme-alert-box .alert-success {
    background-color: #eaf5ee;
    border-color: #195c37;
    color: #195c37;
}

/* Error/Danger Alert (Warm Terracotta Tone) */
.theme-alert-box .alert-danger {
    background-color: #fdf2f2;
    border-color: #f5c2c2;
    color: #b02a37;
}

/* Light Theme Close Button Alignment & Opacity */
.theme-alert-box .alert .btn-close {
    margin-left: auto !important;
    opacity: 0.65;
    outline: none !important;
    box-shadow: none !important;
}

.theme-alert-box .alert .btn-close:hover {
    opacity: 1;
}

/* -------------------------------------------------------------
   Dark Theme Alert Overrides (Targeted to body.dark-theme)
------------------------------------------------------------- */
body.dark-theme .theme-alert-box .alert {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-theme .theme-alert-box .alert-danger {
    background-color: #381a1d !important;
    border-color: #842029 !important;
    color: #ea868f !important;
}

body.dark-theme .theme-alert-box .alert-danger i {
    color: #ea868f !important;
}

body.dark-theme .theme-alert-box .alert-success {
    background-color: #122b1c !important;
    border-color: #195c37 !important;
    color: #75b798 !important;
}

body.dark-theme .theme-alert-box .alert-success i {
    color: #75b798 !important;
}

/* High-Contrast Crisp Close Buttons in Dark Mode */
body.dark-theme .theme-alert-box .alert .btn-close {
    filter: none !important;
    opacity: 0.85 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease !important;
}

body.dark-theme .theme-alert-box .alert .btn-close:hover {
    opacity: 1 !important;
}

/* Danger SVG (Coral-Red #ea868f) */
body.dark-theme .theme-alert-box .alert-danger .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ea868f'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

/* Success SVG (Mint-Green #75b798) */
body.dark-theme .theme-alert-box .alert-success .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2375b798'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}




.input-required {
    color: red;
}
.profile-card { margin: 60px auto;border-radius: 1.5rem; overflow: hidden;border: 1px solid rgba(0, 0, 0, 0.05); } /* */
.dark-theme .profile-card {background: #1f1f20;}
.form-control, .form-select, .input-group-text {
    border-radius: 12px;
    padding: 14px;
}

/* Border States */
.border-danger { border-color: #dc3545 !important; border-width: 1px !important; } /* */
.border-success { border-color: #198754 !important; }

/* Validation Text Colors */
.text-error { color: #dc3545 !important; } /* */
.text-valid { color: #198754 !important; } /* */
.text-pending { color: #fd7e14 !important; } /* */

.requirement-list i { font-size: 0.9rem; }

.btn-next, .btn-next:hover, .btn-next:focus, .btn-next:active {
      background-color: rgb(250, 204, 21);
  border: none;
  transition: background-color 0.3s;
  color: #000;
}

.side-image {
    background: url('../images/rama-iron-register-user.webp') center/cover no-repeat;
    min-height: 100%;
}

.bg-grey-light{
    background:rgba(146, 151, 161, 0.1);
}
.password-input-group{
    position: relative;
}
.password-input-group span{
    width: 40px;
  height: 40px;
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
#pass, #rePass{
    padding-right:50px;
}
@media (max-width: 575px) {
    .profile-card {
        margin: 40px auto;
    }
    .profile-card h3{
        font-size: 22px;
    }
}