/* Login Page Specific Styles */
body {
    /* Grid Background Pattern using theme variables */
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: var(--spacing-lg);
}

.login-container {
    width: 100%;
    max-width: 1100px;
    background: var(--bg-surface);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    min-height: 650px;
    border: 1px solid var(--border-color);
}

/* Left Side - Form */
.login-form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--bg-surface);
    z-index: 2;
}

/* Right Side - Visuals */
.login-visual-side {
    flex: 1.2;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    overflow: hidden;
}

/* Decorative Background Elements */
.login-visual-side::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-visual-side::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.brand-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
}

.brand-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.form-floating>.form-control {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background-color: var(--bg-body);
    height: 56px;
    font-size: 15px;
    color: var(--text-primary);
}

.form-floating>.form-control:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.form-floating>label {
    padding-left: 16px;
    padding-top: 10px;
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--neutral-900);
    border: none;
    border-radius: var(--radius-lg);
    padding: 16px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: var(--transition-base);
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--neutral-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.input-group-text {
    background: transparent;
    border: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    color: var(--text-tertiary);
}

.input-group-text:hover {
    color: var(--text-secondary);
}

.footer-text {
    margin-top: auto;
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    padding-top: 20px;
}

/* Carousel Styling */
.visual-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visual-heading {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 40px;
    background: linear-gradient(to right, #ffffff, var(--neutral-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    white-space: normal;
    /* Ensure title wraps if needed */
}

.feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--neutral-300);
    margin-bottom: 0;
    white-space: normal;
    /* Ensure description wraps */
}

.carousel-indicators {
    justify-content: flex-start;
    margin-left: 0;
    margin-bottom: 0;
    position: relative;
    margin-top: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    margin-right: 8px;
    transition: var(--transition-base);
}

.carousel-indicators .active {
    background-color: #fff;
    width: 45px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }

    .login-visual-side {
        display: none;
    }

    .login-form-side {
        padding: 40px;
    }
}