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

.login-container {
    display: flex;
    height: 100vh;
}

.login-left, .login-right {
    flex: 1;
}

.login-left {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f4f4;
    padding: 20px;
}

.login-right {
    background: url('../images/tech.jpeg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.login-box {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    font-size: 24px;
}

.input-box {
    position: relative;
    margin-bottom: 30px;
    margin-right: 25px;
}

.input-box input {
    width: 100%;
    padding: 10px;
    background: none;
    border: 1px solid #aaa;
    border-radius: 5px;
    outline: none;
    color: #333;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-box input:focus {
    border-color: #667eea;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.3s ease;
    color: #aaa;
    font-size: 14px;
}

.input-box input:focus + label,
.input-box input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    color: #667eea;
    font-size: 12px;
    background: white;
    padding: 0 5px;
}

button {
    background: #667eea;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

button:hover {
    background: #764ba2;
}

.error {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-right {
        height: 50vh;
    }
}
