:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --overlay-color: rgba(28, 65, 96, 0.5);
    --danger-color: #dc3545;
    --danger-hover: #bb2d3b;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.content-wrapper {
    display: flex;
    flex: 1;
}

.video-section {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 2rem;
    text-align: center;
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #f8f9fa;
}

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 2.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    max-height: 80px;
    margin-bottom: 1rem;
}

.logo-container h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.btn-home {
    background-color: #6c757d;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-home:hover {
    background-color: #5a6268;
    color: white;
    transform: translateY(-2px);
}

/* Role toggle switch styles */
.role-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.toggle-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--danger-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.btn-login {
    background-color: var(--primary-color);
    border: none;
    padding: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}
.nav-link{
    
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.social-icons {
    margin-bottom: 0.5rem;
}

.social-icons a {
    color: white;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}


.social-icons a:hover {
    color: #adb5bd;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .video-section {
        height: 300px;
    }
    
    .login-section {
        padding: 1.5rem;
    }
    
    .role-toggle {
        flex-direction: column;
        gap: 5px;
    }
}