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

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
}

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

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism shapes */
.login-left::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.login-left::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.login-branding {
    z-index: 10;
    text-align: center;
}

.login-branding h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.login-branding p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 450px;
    line-height: 1.6;
}

.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 2rem;
}

.login-form-wrapper {
    width: 100%;
    max-width: 380px;
}

.login-form-wrapper h2 {
    font-size: 2.2rem;
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-form-wrapper p.subtitle {
    color: #6b7280;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background-color: #f9fafb;
    color: #1f2937;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    outline: none;
    border-color: #6366f1;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.btn-primary {
    width: 100%;
    padding: 0.875rem;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
    margin-top: 0.5rem;
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3), 0 4px 6px -2px rgba(79, 70, 229, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 3rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

.demo-box {
    margin-top: 2rem;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 1.2rem;
    font-size: 0.85rem;
}

.demo-box table {
    width: 100%;
    border-collapse: collapse;
}

.demo-box th {
    text-align: left;
    color: #374151;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.demo-box td {
    padding: 0.35rem 0;
    color: #6b7280;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    .login-left {
        min-height: 250px;
        flex: none;
        padding: 3rem 1.5rem;
    }
    .login-branding h1 {
        font-size: 2.5rem;
    }
    .login-branding p {
        font-size: 1rem;
    }
    .login-right {
        max-height: calc(100vh - 250px);
        align-items: flex-start;
        padding: 2.5rem 1.5rem;
    }
}
