:root {
    --primary-color: #C814E1;
    --btn-color: linear-gradient(180deg, #6A1B9A 0%, #A834D1 51.44%, #6E0B7B 100%);
}

.btn-secondary {
    background: linear-gradient(180deg, #6A1B9A 0%, #A834D1 51.44%, #6E0B7B 100%);
    border-radius: 40px;
    font-size: 24px;
    padding: 12px 50px !important;
    font-weight: 600;
}

body {
    background-color: #F8F9FA;
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
}

body:has(.auth-gradient-bg) {
    background-color: #f4f1fa;
    background-image:
        radial-gradient(56% 48% at 80% 6%, rgba(147, 51, 234, .12), transparent 62%),
        radial-gradient(48% 42% at 6% 2%, rgba(214, 154, 36, .10), transparent 58%),
        radial-gradient(70% 60% at 50% 118%, rgba(147, 51, 234, .07), transparent 60%);
}

.form-control::placeholder {
    color: #D9D9D9;
    opacity: 1;
}

.form-control:focus {
    box-shadow: 0 0 0 0rem rgba(13, 110, 253, .25);
}

.signin {
    background: linear-gradient(180deg, #ffffff, #fbfaff);
    border: 1px solid rgba(42, 22, 64, .10);
    box-shadow: 0 24px 54px -30px rgba(70, 35, 110, .30);
    border-radius: 20px;
    padding: 36px 44px;
    margin: 30px 0;
}

.signin-header h4 {
    color: var(--primary-color);
    font-weight: bold;
    padding: 10px 0;
    font-size: 30px;
}

.signin-header {
    text-align: center;
}

.signin-header p {
    font-size: 20px;
}

.signin-header p span a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.signin .form-group label {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.signin .form-group {
    margin-bottom: 20px;
}

.signin .form-group .form-control {
    border: 1px solid rgba(147, 51, 234, .35);
    border-radius: 30px;
    padding: 12px 16px;
    transition: border-color .15s, box-shadow .15s;
}

.signin .form-group .form-control:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 4px rgba(147, 51, 234, .12);
}

.forgotpassword {
    text-align: end;
}

.auth-btn {
    text-align: center;
    margin-top: 20px;
}

.signin-header .brand-logo {
    width: 200px;
    height: 100px;
}

.forgotpassword a {
    text-decoration: none;
    color: #000;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000;
}

.divider:not(:empty)::before {
    margin-right: .75em;
}

.divider:not(:empty)::after {
    margin-left: .75em;
}

.divider span {
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

.social-login {
    text-align: center;
}

.social-login img {
    margin: 0 10px;
}

/***signup***/
.signup {
    background: linear-gradient(180deg, #ffffff, #fbfaff);
    border: 1px solid rgba(42, 22, 64, .10);
    box-shadow: 0 24px 54px -30px rgba(70, 35, 110, .30);
    border-radius: 20px;
    padding: 36px 32px;
    margin: 30px 0;
}

.signup .form-group label {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.signup .form-group .form-control {
    border: 1px solid rgba(147, 51, 234, .35);
    border-radius: 30px;
    padding: 12px 16px;
    transition: border-color .15s, box-shadow .15s;
}

.signup .form-group .form-control:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 4px rgba(147, 51, 234, .12);
}

.signup .form-group {
    margin-bottom: 18px;
}

.checklist .form-check {
    margin: 16px 0;
}

.checklist .form-check .form-check-input {
    border: 1px solid rgb(0 0 0);
}

.checklist .form-check .form-check-input:checked {
    background-color: transparent;
    border-color: #000;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23C814E1' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.signup .form-group .form-control[readonly] {
    background-color: transparent;
    opacity: 1;
}

.otp-input-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.otp-input {
    width: 48px;
    height: 55px;
    font-size: 22px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #ddd;
    outline: none;
    transition: 0.2s;
}

.otp-input:focus {
    border-color: #007bff;
    box-shadow: 0px 0px 6px rgba(0, 123, 255, 0.5);
}

@media screen and (max-width: 767px) {
    .signin {
        padding: 26px 20px;
        margin: 10px 0;
    }

    .signin-header img {
        width: 80px;
    }

    .signin-header h4 {
        padding: 10px 0;
        font-size: 20px;
    }

    .signin-header p {
        font-size: 18px;
    }

    .signin .form-group .form-control {
        padding: 10px 15px;
    }

    .btn-secondary {
        font-size: 18px;
        padding: 10px 50px;
    }
}

/* Validation Styles  Register*/
.text-danger {
    display: block;
    color: red;
    font-size: 14px;
    margin-top: 4px;
}

.is-invalid {
    border-color: red !important;
}