* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
}

.header-bar {
    background: #0078d4;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.company-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0078d4;
    font-weight: bold;
    font-size: 18px;
}

.main-container {
    display: flex;
    min-height: calc(100vh - 50px);
}

.left-panel {
    flex: 1;
    background: #f5f5f5;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-panel h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.left-panel p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.features-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: #0078d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-text {
    color: #555;
    font-size: 14px;
}

.right-panel {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.login-title {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #0078d4;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
}

.remember-me input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.remember-me label {
    color: #666;
    cursor: pointer;
    font-weight: normal;
}

.forgot-password {
    color: #0078d4;
    text-decoration: none;
    font-size: 13px;
}

.login-button {
    width: 100%;
    padding: 12px;
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.login-button:active {
    background: #005a9e;
}

.help-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.help-section h3 {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.help-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.help-link {
    color: #0078d4;
    text-decoration: none;
    font-size: 13px;
}

.error-message {
    display: none;
    background: #fef0f0;
    color: #d13438;
    padding: 12px;
    border-radius: 2px;
    margin-bottom: 20px;
    font-size: 13px;
    border-left: 3px solid #d13438;
}

.footer {
    background: #f5f5f5;
    padding: 20px 30px;
    text-align: center;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #e0e0e0;
}

.footer a {
    color: #0078d4;
    text-decoration: none;
}

/* Tablet styles */
@media (max-width: 968px) {
    .main-container {
        flex-direction: column;
    }
    
    .left-panel {
        padding: 40px 30px;
    }
    
    .right-panel {
        padding: 40px 30px;
    }
}

/* Mobile styles */
@media (max-width: 600px) {
    .header-bar {
        padding: 0 15px;
    }
    
    .company-logo {
        font-size: 16px;
        gap: 8px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .main-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .left-panel {
        padding: 30px 20px;
        order: 2;
    }
    
    .left-panel h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .left-panel p {
        font-size: 14px;
    }
    
    .features-list {
        margin-top: 20px;
    }
    
    .feature-item {
        margin-bottom: 15px;
    }
    
    .right-panel {
        padding: 30px 20px;
        order: 1;
    }
    
    .login-box {
        max-width: 100%;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .login-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .login-button {
        padding: 14px;
        font-size: 16px;
    }
    
    .help-section {
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .help-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer {
        padding: 15px 20px;
        font-size: 11px;
    }
}
