/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Background */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle, #0a0a0a, #000);
    color: white;
}

/* Container */
.container {
    display: flex;
    width: 700px;
    background: rgba(255, 0, 0, 0.1); /* Subtle red tint */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.2); /* Light red border */
}

/* Panels */
.left-panel, .right-panel {
    width: 50%;
    padding: 40px;
    text-align: center;
}

.left-panel {
    background: rgba(255, 0, 0, 0.15); /* Slight red tone */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Logo Styling */
.logo-container {
    width: 150px; /* Increased size */
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 3px solid white;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); /* Maintained glowing effect */
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Typography */
h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Form Inputs */
.input-group {
    width: 100%;
    position: relative;
}

input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
    height: 45px;
}

input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.primary:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #0056b3, #003f8c);
}

.google {
    background: linear-gradient(45deg, #db4437, #a13528);
    color: white;
}

.google:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #a13528, #81241d);
}

.facebook {
    background: linear-gradient(45deg, #1877f2, #125abe);
    color: white;
}

.facebook:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #125abe, #0e4a9f);
}

/* Create Account Link */
a {
    display: inline-block;
    margin-top: 12px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

a:hover {
    text-decoration: underline;
    color: #1e6bb8;
}

/* Ensure the form width is consistent */
#login-form, #register-form {
    width: 100%;
    max-width: 300px;
}

/* Responsive Design */
@media (max-width: 700px) {
    .container {
        flex-direction: column;
        width: 90%;
    }

    .left-panel, .right-panel {
        width: 100%;
        padding: 30px;
    }
}

.hidden {
    display: none;
}
