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

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    overflow-x: hidden;
}

.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    align-items: center;
}

.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0369a1 100%);
    position: relative;
    display: flex;
    justify-content: center;
    padding: 4rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 500px;
}

.hero-logo {
    background: linear-gradient(135deg, #a5bce2, #ffffff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.0rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.0rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.9rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.1rem;
}

.feature-text {
    font-weight: 500;
    color: #f1f5f9;
}

.trust-badge {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    margin-top: auto;
}

.trust-badge i {
    color: #22c55e;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.trust-text {
    color: #a7f3d0;
    font-weight: 500;
}

.form-section {
    background: white;
    display: flex;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    opacity: 0.05;
    border-radius: 0 0 0 100%;
}

.form-container {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.form-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-hint {
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.btn-primary {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transition: all 0.2s ease;
    margin-bottom: 0.7rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.btn-google {
    width: 100%;
    padding: 0.7rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-google:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
}

.form-footer {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.form-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.security-note i {
    color: #059669;
    margin-right: 0.5rem;
}

.security-text {
    color: #6b7280;
    font-size: 0.85rem;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 25%;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 80%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 1200px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    .hero-section {
        display: none;
    }
}
