* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    position: relative;
    padding: 4rem;
}

/* Full Width Body for Large Banner */
body.full-width-body {
    padding: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Main Container - White Background with Margins */
.main-container {
    background: white;
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 1400px;
}

/* Full Width Container for Large Banner */
.main-container.full-width {
    min-height: 100vh;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Banner Section - Full Width at Top */
.banner-section {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: auto;
    position: relative;
}

.carousel-wrapper {
    width: 100%;
    height: auto;
    position: relative;
}

.carousel-slide {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.carousel-text-container {
    text-align: left;
    color: white;
    padding: 2rem;
    max-width: 600px;
}

.carousel-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.carousel-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        1px 1px 3px rgba(0, 0, 0, 0.8);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Content Section - Left Content and Right Login Form */
.content-section {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 4rem);
    align-items:flex-start;
}

/* Full Width Content Section */
.main-container.full-width .content-section {
    min-height: 100vh;
}

.content-left {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
}

.project-info {
    max-width: 600px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.project-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Login Form Area */
.login-form-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
}

.login-form {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem; 
    max-width: 100%;
}

.login-logo i {
    font-size: 2.5rem;
    color: #667eea;
}

.login-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 0.9rem;
    color: #718096;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.is-invalid {
    border-color: #e53e3e;
}

.text-danger {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.btn-login {
    width: 100%;
    padding: 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.alert-danger {
    background: #fed7d7;
    color: #9b2c2c;
    border: 1px solid #feb2b2;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.input-icon .form-control {
    padding-left: 2.5rem;
}

/* Remember Me Checkbox Styles */
.remember-me-group {
    margin-bottom: 1.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.remember-checkbox {
    display: none;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4a5568;
    user-select: none;
    transition: all 0.2s ease;
}

.remember-label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.remember-label i {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.remember-checkbox:checked + .remember-label::before {
    background: #667eea;
    border-color: #667eea;
}

.remember-checkbox:checked + .remember-label i {
    opacity: 1;
}

.remember-label:hover::before {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.remember-checkbox:focus + .remember-label::before {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        padding: 1.5rem;
    }
    
    .main-container {
        min-height: calc(100vh - 3rem);
    }
    
    .content-section {
        flex-direction: column;
        min-height: calc(100vh - 300px - 3rem);
    }
    
    .content-left {
        padding: 2rem;
        min-height: auto;
    }
    
    .login-form-area {
        padding: 2rem;
    }
    
    .project-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .main-container {
        min-height: calc(100vh - 2rem);
        border-radius: 15px;
    }
    
    .banner-section {
        height: 200px;
    }
    
    .content-section {
        min-height: calc(100vh - 200px - 2rem);
    }
    
    .content-left {
        padding: 1.5rem;
    }
    
    .login-form-area {
        padding: 1.5rem;
    }
    
    .login-form {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .carousel-title {
        font-size: 1.5rem;
    }
    
    .carousel-description {
        font-size: 1rem;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
    }
    
    .main-container {
        min-height: calc(100vh - 1rem);
        border-radius: 10px;
    }
    
    .banner-section {
        height: 150px;
    }
    
    .content-section {
        min-height: calc(100vh - 150px - 1rem);
    }
    
    .content-left {
        padding: 1rem;
    }
    
    .login-form-area {
        padding: 1rem;
    }
    
    .login-form {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1.25rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
} 