:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
    --danger: #ef4444;
}

body {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.login-container {
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.brand-logo .logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 10px;
}

.login-form {
    background-color: white;
    padding: 2.5rem;
    height: 100%;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    border-radius: 50%;
}

.form-control {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    border-color: var(--primary);
    background-color: white;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group label {
    position: absolute;
    background: transparent;
    left: 16px;
    top: 12px;
    color: var(--secondary);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 999;
}

.input-group .form-control:focus ~ label,
.input-group .form-control:not(:placeholder-shown) ~ label {
    transform: translateY(-24px) scale(0.85);
    color: var(--primary);
    background-color: white;
    padding: 0 5px;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-image-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
    max-width: 200px;
    margin: 0 auto;
}

.contact-image {
    border-radius: 12px;
}

.alert {
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success);
    color: var(--success);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger);
    color: var(--danger);
}

@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
    }
}