* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    display: flex;
    width: 900px;
    height: 600px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Left Panel */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 30%;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 32px;
    color: #4a9eff;
    margin-right: 15px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tagline {
    font-size: 18px;
    color: #a0b3c6;
}

.welcome-text {
    margin-top: 60px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.features {
    margin-top: 40px;
    list-style: none;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #c2d0dd;
}

.features i {
    color: #4a9eff;
    margin-right: 10px;
    font-size: 14px;
}

/* Right Panel - Login Form */
.right-panel {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form {
    width: 100%;
}

.form-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #7b8a9b;
    margin-bottom: 40px;
    font-size: 16px;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #f8fafc;
}

.input-field:focus {
    outline: none;
    border-color: #4a9eff;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 42px;
    color: #7b8a9b;
}

.forgot-password {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.forgot-password a {
    color: #4a9eff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 18px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    letter-spacing: 0.5px;
}

.login-button:hover {
    background-color: #1a2530;
    transform: translateY(-2px);
}

.login-button:active {
    transform: translateY(0);
}

.register-link {
    text-align: center;
    margin-top: 30px;
    color: #7b8a9b;
    font-size: 15px;
}

.register-link a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-link a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* Error Message */
.error-message {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.error-message.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        max-width: 500px;
    }

    .left-panel {
        padding: 40px 30px;
    }

    .right-panel {
        padding: 50px 40px;
    }

    .welcome-text {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .login-container {
        border-radius: 10px;
    }

    .left-panel, .right-panel {
        padding: 30px 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    .tagline {
        font-size: 16px;
    }

    .form-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .left-panel {
        display: none;
    }
}