:root {
    --primary: #4285F4;
    --secondary: #34A853;
    --accent: #EA4335;
    --light: #FBBC05;
    --dark: #333333;
    --bg: #F8F9FA;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
}

.container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

/* Updated logo design based on provided CSS */
.logo-details {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    position: relative;
    background: linear-gradient(90deg, rgba(10, 17, 40, 0.95) 0%, rgba(15, 15, 48, 0.95) 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    overflow: hidden;
    width: 100%;
}

.logo-details::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(77, 171, 247, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 171, 247, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.logo-details::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 103, 214, 0.15) 0%, rgba(15, 15, 48, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
}

.left-panel {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 40px 20px;
}

.logo_name {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.tagline {
    font-size: clamp(14px, 3vw, 18px);
    text-align: center;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    width: 100%;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.4;
}

.feature-list li:before {
    content: "✓";
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.login-card {
    background: #fff;
    padding: 40px 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    color: var(--dark);
    margin-bottom: 30px;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: clamp(14px, 2.5vw, 16px);
    transition: border 0.3s;
}

input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.alert {
    background-color: #FEECEB;
    border-left: 4px solid var(--accent);
    color: var(--accent);
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: clamp(12px, 2vw, 14px);
}

.links {
    margin-top: 20px;
    text-align: center;
    font-size: clamp(12px, 2vw, 14px);
}

.links a {
    color: var(--primary);
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* Tablet and small laptop breakpoint */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 90%;
        max-width: 500px;
    }
    
    .left-panel, .login-card {
        width: 100%;
        padding: 30px 20px;
    }
    
    .feature-list {
        margin-top: 20px;
    }
    
    .logo-details {
        height: 70px;
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {
    .container {
        width: 95%;
        margin: 15px 0;
        border-radius: 8px;
    }
    
    .left-panel, .login-card {
        padding: 25px 15px;
    }
    
    .logo-details {
        height: 60px;
        margin-bottom: 15px;
    }
    
    .logo_name {
        margin-bottom: 10px;
    }
    
    .tagline {
        margin-bottom: 20px;
    }
    
    .feature-list li {
        margin-bottom: 12px;
    }
    
    .feature-list li:before {
        min-width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    h2 {
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    input, button {
        padding: 10px 12px;
    }
}

/* Very small devices */
@media (max-width: 320px) {
    .container {
        width: 98%;
        margin: 10px 0;
    }
    
    .left-panel, .login-card {
        padding: 20px 12px;
    }
    
    .logo-details {
        height: 50px;
    }
}

/* Height-based media queries for short screens */
@media (max-height: 600px) {
    body {
        align-items: flex-start;
    }
    
    .container {
        margin: 10px 0;
    }
    
    .left-panel, .login-card {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}