body {
    background-color: #f5f9ff;
    font-family: 'Poppins', sans-serif;
}

.d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo img {
    width: 60%;
}

.brand-name {
    font-size: 30px;
    font-weight: 700;
    color: #375d68;
    margin-left: -5px;
}

.login-container h2 {
    font-size: 18px;
    color: #2C2E3E;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-container p {
    color: #808080;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-group {
    text-align: center;
    margin-bottom: 15px;
}

.form-control {
    width: 90%;
    height: 42px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 14px;
    font-size: 14px;
    background-color: #FAFAFA;
    display: block;
    margin: 0 auto;
}

.form-control::placeholder {
    color: #B0B3BA;
    padding-left: 20px;
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.btn-primary {
    background-color: #375d68;
    border: none;
    width: 100%;
    height: 45px;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #556366;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.options label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #808080;
    gap: 8px;
}

.options a {
    text-decoration: none;
    color: #375d68;
}

.options a:hover {
    text-decoration: underline;
}

.options input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #375d68;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.options input[type="checkbox"]:checked {
    background-color: #375d68;
    border: none;
}

.options input[type="checkbox"]:checked::after {
    content: '\2713';
    font-size: 12px;
    color: white;
    position: absolute;
    top: 1px;
    left: 3px;
    font-weight: bold;
}

.btn-primary,
.social-btn {
    border-radius: 24px;
}

.social-btn {
    background-color: #0A1E28;
    border: none;
    width: 100%;
    height: 45px;
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
    margin-top: 15px;
    cursor: pointer;
}

.social-btn:hover {
    background-color: #556366;
}

.signup-link {
    margin-top: 20px;
    font-size: 14px;
    color: #808080;
}

.signup-link a {
    color: #375d68;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

.flash-messages {
    margin-bottom: 20px;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-warning {
    background-color: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEEBA;
}

.alert-info {
    background-color: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

.login-container h2,
.login-container p {
    text-align: center;
    padding-left: 0px;
}

.auth-container {
    width: 400px;
    padding: 40px;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.otp-input {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 4px;
    width: 100%;
    max-width: 220px;
}

.resend-otp {
    text-align: center;
    margin-top: 10px;
}

.resend-otp a {
    color: #4c3cb4;
    font-weight: bold;
    text-decoration: none;
}

.resend-otp a:hover {
    text-decoration: underline;
}

input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
    -webkit-appearance: none !important; 
    margin: 0 !important;
}

input[type="number"] {
    -moz-appearance: textfield !important;
}

input::placeholder {
    color: #999;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 1;
}

input:-webkit-input-placeholder {
    color: #999;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

input:-moz-placeholder {
    color: #999;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

input:-ms-input-placeholder {
    color: #999;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

input:focus::placeholder {
    color: #ccc;
    transition: color 0.3s ease-in-out;
}

.error {
    animation: shake 0.5s ease-in-out;
    border: 2px solid red;
}

.warning {
    animation: flash 1s infinite;
    color: red;
}

.brand-logo img {
    width: 150px;
}

.alert-dismissible .btn-close {
    padding: 0.8rem 1rem  !important;
}