/* Modern Login Split-Screen Design */

.login-page {
    background-color: #fff;
    min-height: 100vh;
}

.login-split-container {
    min-height: 100vh;
}

.login-visual {
    background: linear-gradient(135deg, var(--bs-primary-dark) 0%, var(--bs-primary) 100%);
    position: relative;
    overflow: hidden;
}

.login-visual::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-form-side {
    padding: 2rem;
}

.btn-outline-white {
    color: #fff !important;
    border: 2px solid #fff !important;
    background-color: transparent !important;
    padding: 15px 45px !important;
    display: inline-block !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.btn-outline-white:hover {
    background-color: #ffffff !important;
    color: var(--bs-primary-dark) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important;
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.mt-60 {
    margin-top: 60px !important;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
}

/* Custom Input Styles */
.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-dark);
    background-color: var(--bs-anti-flash-white);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.form-control-custom:focus {
    background-color: #fff;
    border-color: var(--bs-primary);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(127, 194, 200, 0.15);
}

.form-control-custom.is-invalid {
    background-color: #fff5f5;
    border-color: #ff5353;
}

.error-text {
    color: #ff5353 !important;
}

.error-msg {
    color: #ff5353;
    font-size: 0.875rem;
    font-style: italic;
}

/* Separator */
.separator-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--bs-gray-500);
}

.separator-text::before,
.separator-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--bs-gray-300);
}

.separator-text span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

/* Password Toggle */
.btn-show-password {
    color: var(--bs-gray-500);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-show-password:hover {
    color: var(--bs-primary);
}

/* Links & Typography */
.text-primary-dark {
    color: var(--bs-primary-dark) !important;
    text-decoration: none;
    transition: opacity 0.2s;
}

.text-primary-dark:hover {
    opacity: 0.8;
}

/* Logo */
.login-logo {
    max-width: 200px;
    filter: brightness(0) invert(1);
    margin-bottom: 2.5rem;
}
.btn-submit-login {
    transition: all 0.3s ease-in-out !important;
}

.btn-submit-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(127, 194, 200, 0.3);
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 991.98px) {
    .login-form-side {
        padding: 4rem 1.5rem;
    }
    
    .login-form-wrapper {
        max-width: 100%;
    }
}
