@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0px !important;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #25283D;
}

/* Common Elements */
ul {
    list-style-type: none;
    margin-bottom: 0rem;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
}

a {
    color: #8F3985 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

/* Form Elements */
input::-moz-placeholder, textarea::-moz-placeholder, select::-moz-placeholder {
    color: #E2DEDE !important;
    font-weight: 400;
    font-size: 14px !important;
    opacity: 1;
}

input::placeholder, textarea::placeholder, select::placeholder {
    color: #E2DEDE !important;
    font-weight: 400;
    font-size: 14px !important;
    opacity: 1;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc !important;
}

/* Buttons */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    background: #003942 0% 0% no-repeat padding-box !important;
    border-radius: 24px;
    opacity: 1;
}

.btn-check:focus + .btn-primary, .btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0) !important;
}

/* Form Controls */
.form-control {
    font-size: 14px !important;
}

/* Navbar */
.navbar-expand-lg .navbar-collapse {
    justify-content: flex-end !important;
}

.nav-list {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
}

/* Responsive Typography */
.header-signin {
    font-weight: 600;
}

@media (max-width: 1280px) {
    .header-signin {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .header-signin {
        font-size: 21px;
    }
}

/* Status Messages */
.verified-msg {
    color: #228B22;
}

.faild-msg {
    color: #C63A3E;
}

/* Login Card (Common Structure) */
.login-card-Wrapper {
    display: flex;
    gap: 18px;
    flex-direction: column;
    max-width: 606px;
    height: fit-content;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #D2F1F5;
    border-radius: 24px;
    padding: 20px 45px 45px;
}

/* Form Wrapper */
.form-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-wrapper input {
    height: 40px;
    border: 1px solid #E2DEDE;
    border-radius: 8px;
}

.form-wrapper button {
    min-height: 48px;
}

/* Labels */
.form-label {
    margin-bottom: 0.2rem;
}

label {
    font-size: 14px;
    font-weight: 500;
}

/* Note Section */
.note-section {
    font-size: 14px;
}

.note-section a {
    color: #9B1A2F !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

/* Copyright */
.copy-right {
    font-size: 12px;
}

/* Background */
.bg-light {
    --bs-bg-opacity: 0 !important;
    background-color: transparent !important;
}

/* Main Wrapper */
.main-wrapper {
    background-image: url('/assets/images/account_background_filter.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;

}

.plain-wrapper {
    min-height: 100vh;
    width: 100%;
    background-color: #FFFBF2;
}

.red-lbl {
    color: #9B1A2F !important;
}

.password-icon {
    inset-inline-end: 15px; /* replaces right */
    top: 50%;
    transform: translateY(-50%); /* perfect vertical centering */
    cursor: pointer;
}

.password-rule {
    color: #003942;
    opacity: 1;
}

.otp-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    direction: ltr !important
}

.otp-wrapper input {
    width: 64px;
    height: 64px;
    font-size: 16px;
    direction: ltr !important;
    text-align: center;
}

/* Status borders */
.faild-msg-border {
    border: 1px solid #C63A3E !important;
}

.success-msg-border {
    border: 1px solid #228B22 !important;
}

/* add for remove icon */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
    width: 0;
    height: 0;
}

.sub-logo {
    color: #191919 !important;
    font-size: 12px;
}

.main-nav {
    background-color: #eaece2 !important;
    margin-top: 0px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}


.rounded-btn {
    border-radius: 24px;
}

.btn-a {
    color: #dc3545 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.btn-a:hover {
    color: white !important;
}
/* Validation Icon Visibility */
.faild-msg-icon {
    display: none;
}

.field-validation-error+.faild-msg-icon {
    display: block !important;
}

.field-validation-valid+.faild-msg-icon {
    display: none !important;
}

/* Auto-validate input border (client-side) */
.input-validation-error {
    border: 1px solid #C63A3E !important;
}

/* Custom Outline Button */
.btn-outline-custom {
    color: #003942 !important;
    border: 1px solid #003942 !important;
    border-radius: 24px !important;
    text-decoration: none !important;
    background-color: transparent !important;
    padding: 8px 20px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-align: center;
}

.btn-outline-custom:hover {
    background-color: #003942 !important;
    color: #ffffff !important;
}