@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f8fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: flex;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    border: 1px solid #e8eef3;
}

.login-image {
    flex: 1;
    background: linear-gradient(135deg, #01b0f0 0%, #0099d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    min-height: 500px;
}

.login-image img {
    max-width: 70%;
    height: auto;
    cursor: pointer;
    opacity: 1;
}

.login-form {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.login-form h2 {
    color: #2c3e50 !important;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e8eef3;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
    background: #f5f8fa;
    color: #2c3e50;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #01b0f0;
    background: white;
    box-shadow: 0 0 0 3px #e6f7fd;
}

.form-group input::placeholder {
    color: #95a5a6;
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    flex: 1;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 8px 12px;
    color: #6c757d;
    transition: all 0.2s;
    border-radius: 6px;
}

.password-toggle:hover {
    color: #01b0f0;
    background: #f5f8fa;
}

.login-button {
    width: 100%;
    padding: 14px;
    background: #01b0f0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    letter-spacing: 0.01em;
}

.login-button:hover {
    background: #0099d6;
    box-shadow: 0 4px 12px rgba(1, 176, 240, 0.2);
}

.login-button:active {
    background: #0088c0;
}

.login-button:disabled {
    background: #e8eef3 !important;
    color: #95a5a6 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.guest-login-button {
    width: 100%;
    padding: 14px;
    background: white;
    color: #01b0f0;
    border: 1px solid #e8eef3;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.guest-login-button:hover {
    background: #f5f8fa;
    border-color: #01b0f0;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-size: 0.8125rem;
    text-align: center;
    border: 1px solid #fecaca;
}

.error-message.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-image {
        padding: 40px;
        min-height: 300px;
    }
    
    .login-form {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 30px 20px;
    }
    
    .login-image {
        padding: 30px;
        min-height: 250px;
    }
}
