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

:root {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #0f172a;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --input-bg: #f8fafc;
    --input-focus-ring: rgba(37, 99, 235, 0.1);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Premium Login Card */
.login-container {
    max-width: 1024px;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.brand-panel {
    width: 40%;
    background-color: #0a0c10;
    padding: 3.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.brand-panel::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 80%;
    height: 40%;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    filter: blur(100px);
}

.brand-panel h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.brand-panel h2 span {
    color: var(--primary-color);
}

.brand-panel p {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    max-width: 320px;
}

.form-panel {
    width: 60%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header h3 {
    font-size: 1.875rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.form-header p {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background-color: var(--input-bg);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.2s ease;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--input-focus-ring);
    background-color: #ffffff;
}

.input-wrapper .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.2s ease;
}

.input-wrapper input:focus + .icon {
    color: var(--primary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    text-decoration: none;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #64748b;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.form-footer {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.form-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        border-radius: 20px;
    }
    .brand-panel {
        width: 100%;
        padding: 2rem;
        border-radius: 20px 20px 0 0;
    }
    .form-panel {
        width: 100%;
        padding: 2rem;
    }
    .brand-panel img {
        height: 48px !important;
        margin-bottom: 1rem !important;
    }
    .brand-panel h2 {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    .brand-panel p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
}
