:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #fbbc05;
    --text-color: #444;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --error-color: #ea4335;
    --success-color: #34a853;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&q=80&w=1080') center/cover no-repeat;
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.welcome-section {
    color: white;
    padding: 40px;
}

.welcome-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.welcome-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.login-module {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.module-header {
    text-align: center;
    margin-bottom: 40px;
}

.module-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.module-header p {
    color: #666;
    font-size: 1.1rem;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 15px 45px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.login-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.login-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.social-login {
    margin-top: 40px;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google {
    background: #db4437;
}

.facebook {
    background: #4267B2;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Update the container grid columns */
.container {
    grid-template-columns: 400px 1fr;
}

/* Add new styles for quick login */
.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider span {
    background: white;
    padding: 0 10px;
    color: #666;
    font-size: 0.9rem;
}

.quick-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.quick-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-btn.google:hover { color: #db4437; }
.quick-btn.microsoft:hover { color: #00a4ef; }
.quick-btn.apple:hover { color: #000; }

/* Update media query */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .login-module {
        padding: 20px;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }
}

.login-module {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add these new styles to your existing CSS */

.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 15s infinite linear;
}

.shape1 { top: 10%; left: 10%; animation-delay: 0s; }
.shape2 { top: 20%; right: 20%; animation-delay: 2s; }
.shape3 { bottom: 30%; left: 30%; animation-delay: 4s; }
.shape4 { bottom: 40%; right: 40%; animation-delay: 6s; }
.shape5 { top: 50%; left: 50%; animation-delay: 8s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(100px, 100px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    padding: 2px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    width: 80px;
    height: auto;
}

.login-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.login-footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.microsoft {
    background: #00a4ef;
}

/* Update these existing styles */
body {
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%);
    font-family: 'Segoe UI', sans-serif;
}

body::before {
    background: rgba(255, 255, 255, 0.2);
}

.welcome-section {
    background: rgba(255, 255, 255, 0.25);
    color: var(--text-color);
}

.welcome-section h1 {
    color: var(--primary-color);
}

.welcome-section p {
    color: #555;
}

.login-module {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature i {
    color: var(--secondary-color);
}

.shape {
    color: rgba(66, 133, 244, 0.15);
}

.social-btn.google {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
}

.social-btn.microsoft {
    background: #fff;
    color: #00a4ef;
    border: 1px solid #ddd;
}

.login-footer {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.7);
}

.login-footer a {
    color: var(--primary-color);
}

/* Add these new gradient effects */
.login-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.login-button:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.avatar {
    border-color: var(--accent-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* Update input styles */
input[type="text"],
input[type="password"] {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
}

input:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}