﻿:root {
    --primary-color: #1a76d1;
    --secondary-color: #0d5ba8;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --light-gray: #f5f5f5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.login-wrapper {
    display: flex;
    height: 600px;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.hospital-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
}

.hospital-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hospital-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.login-box {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

    .login-box h2 {
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 2rem;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

        .form-group label i {
            margin-right: 8px;
            color: var(--primary-color);
        }

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .form-control:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(26, 118, 209, 0.25);
    }

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: var(--secondary-color);
    }

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.login-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        height: auto;
    }

    .login-left {
        padding: 2rem 1rem;
    }

    .login-right {
        padding: 2rem 1rem;
    }

    .hospital-logo img {
        width: 100px;
    }
}
