/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Main Container */
.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Side - Image */
.image-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Right Side - Form */
.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 2rem;
}

.login-content {
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

/* Welcome Text */
.welcome-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
}

/* Form Styling */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #ff6600;
}

/* Password Field with Toggle */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
}

.toggle-password:hover {
    color: #555;
}

/* Forgot Password Link */
.forgot-password {
    display: block;
    text-align: right;
    color: #ff6600;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 0.9rem;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.login-button:hover {
    background-color: #e55c00;
}

/* Sign Up Link */
.signup-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.signup-link a {
    color: #ff6600;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .image-container {
        display: none;
    }
    
    .form-container {
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .welcome-text {
        font-size: 2rem;
    }
    
    .login-content {
        padding: 0;
    }
}