* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    /* Primary background with image */
    background-image: url('/img/logo/background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    
    /* Fallback gradient in case image doesn't load */
    background-color: #4e73df;
    
    /* Gradient overlay for better readability */
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Gradient overlay on top of background image */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.5) 0%, rgba(34, 74, 190, 0.5) 100%);
    z-index: -1;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.panel {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-panel {
    background: rgba(255, 255, 255, 0.65);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.mission-panel {
    background: rgba(255, 255, 255, 0.65);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.login-panel {
    background: rgba(255, 255, 255, 0.5);
    flex: 1.2;
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.panel-icon {
    width: 50px;
    height: 50px;
    background: rgba(78, 115, 223, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.panel-title {
    font-size: 22px;
    font-weight: 700;
    color: #2e59d9;
}

.panel-content {
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

.highlight {
    color: #2e59d9;
    font-weight: 700;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-size: 24px;
    color: #2e59d9;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 14px;
    margin-top: 2px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #47484d;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #d1d3e2;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    height: 48px;
}

.form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.2);
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.password-toggle:hover {
    color: #4e73df;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container input {
    margin-right: 10px;
}

.checkbox-container label {
    color: #47484d;
    font-weight: 600;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #4e73df;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
    height: 48px;
}

.btn-login:hover {
    background: #2e59d9;
}

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.links a {
    color: #4e73df;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.links a:hover {
    color: #2e59d9;
    text-decoration: underline;
}

/* Hide the default checkbox */
.switch-input {
    display: none;
}

/* Style the label to look like a switch */
.switch-label {
    position: relative;
    display: inline-block;
    padding-left: 60px;
    cursor: pointer;
    line-height: 24px;
}

.switch-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    transition: background-color 0.3s;
}

.switch-label:after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

/* When checkbox is checked */
.switch-input:checked + .switch-label:before {
    background-color: #2e59d9;
}

.switch-input:checked + .switch-label:after {
    transform: translateX(26px);
}

/* Disabled state */
.switch-input:disabled + .switch-label {
    cursor: not-allowed;
    opacity: 0.6;
}

.switch-input:disabled + .switch-label:before {
    background-color: #ddd;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }
    
    .vision-panel, .mission-panel {
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .mission-panel {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo-text {
        align-items: center;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }
    
    .panel {
        padding: 25px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .panel-title {
        font-size: 18px;
    }
    
    .panel-content {
        font-size: 14px;
    }
}