*,
*::before,
*::after {
    box-sizing: border-box;
}

html{
    min-height: 100vh;
}

body {
    background-color: #200843;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
}

.left-panel-gradient {
     background: linear-gradient(134.38deg,#f539f8,#c342f9 43.55%,#5356fb 99.51%);
}

.right-panel-gradient {
    background: linear-gradient(145deg, #5356fb, #a78bfa, #6c2bff);
}

.login-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.login-panel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}
.main-logo {
    position: absolute;
    top: 50px;
    left: 50px;
    height: 80px;
    width: auto;
    z-index: 20;
}

.logo-image {
    max-width: 20.5rem;
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 10;
    animation: fade-in 1s ease-out forwards;
}

.form-card {
    width: 100%;
    max-width: 32rem;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1rem);
    border-radius: 1rem; /* 16px */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.form-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin:0;
}

.login-form .form-group,
.login-form .form-options {
    margin-top: 15px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.form-input::placeholder {
    color: #d1d5db;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff;
    border-color: transparent;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
}

.form-checkbox:focus {
     box-shadow: 0 0 0 2px #ffffff;
}

.checkbox-label {
    margin-left: 0.5rem;
    display: block;
    color: #ffffff;
}

.forgot-password-link {
    font-weight: 500;
    color: #ffffff;
}

.forgot-password-link:hover {
    color: #eeeeee;
}

.submit-button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #fff;
    background-image: linear-gradient(to right, #9333ea, #581c87);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    transition: all 0.3s;
    transform: scale(1);
}

.submit-button:hover {
    background-image: linear-gradient(to right, #7e22ce, #4c1d95);
    transform: scale(1.05);
}

.submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #200843;
}

.register-link-text {
    margin-top: 2rem;
    font-size: 0.875rem;
    text-align: center;
    color: #ffffff;
}

.register-link {
    font-weight: 500;
    color: #ffffff;
}

.register-link:hover {
    color: #eeeeee;
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .login-container {
        flex-direction: row;
    }

    .login-panel {
        width: 50%;
        flex-shrink: 0;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
    }
    .left-panel {

    }
    
    .right-panel {
        align-items: center;
    }

    .main-logo {

    }

    .left-panel {
        align-items: center;
        /* padding-top: 8rem; */
    }
    
    .right-panel {
        align-items: center;
    }


    .logo-image {
        max-width: 24rem;
    }
}

@media (min-width: 1024px) {
     .logo-image {
        max-width: 28rem;
    }
}

@media (min-width: 1280px) {
     .logo-image {
        max-width: 37rem;
    }
}


@media(max-width: 768px){
    .left-panel{
        display: none;
    }
    .right-panel{
        min-height: 100vh;
    }
    .login-panel {
        padding: 0.6rem;
    }
}


.error_reg{
    background-color:#a10101;
    padding:10px;
    margin-top:5px;
    border-radius:10px;
}


.custom-dropdown {
    position: relative;
    user-select: none;
}

.dropdown-selected {
    display: flex;
    white-space:nowrap;
    overflow:hidden;
    align-items: center;
    cursor: pointer;
    position: relative;
}
        
.dropdown-selected::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: #e0e0e0;
    transition: transform 0.3s ease;
}
        
.custom-dropdown.open .dropdown-selected::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background-color: #21133e;
    border: 1px solid #32324d;
    border-radius: 8px;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.custom-dropdown.open .dropdown-options {
    display: block !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
        
.dropdown-item:hover {
    background-color: #3a3a6e;
}

.dropdown-item img,
.dropdown-selected img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-value-input {
    display: none;
}

.auth_error {
    padding:10px;
    margin-top:10px;
    border-radius:10px;
    background-color:#cb16f0;
}