@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    /* Premium hospital/medical themed gradient background */
    background: linear-gradient(135deg, #f0f4f8 0%, #dbeafe 100%) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Add some abstract shapes to the background for a modern look */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    top: -200px;
    left: -100px;
}

body::after {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 70%);
    bottom: -300px;
    right: -200px;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transform: translateY(-5px);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    margin: 0;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.5px;
}

.login-header p {
    margin-top: 12px;
    color: #64748b;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #334155;
    font-size: 14px;
}

.modern-input {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01) inset;
    color: #1e293b;
    font-size: 15px;
    padding: 0 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.modern-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    outline: none;
}

.captcha-box {
    margin-top: 20px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.captcha-image {
    text-align: center;
    margin-bottom: 12px;
}

.captcha-image img {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.remember-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

.remember-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #2563eb;
}

.btn-login {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.btn-login:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(37, 99, 235, 0.2);
}

@media(max-width:768px) {
    .login-container {
        padding: 15px;
    }

    .login-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .login-header {
        margin-bottom: 25px;
    }

    .login-header h2 {
        font-size: 22px;
    }

    .modern-input {
        height: 48px;
        font-size: 14px;
    }

    .btn-login {
        height: 50px;
    }
}