/* Basic Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Container */
.container {
    display: flex;
    width: 900px;
    height: auto;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Left Panel */
.left-panel {
    background-color: #ffc107;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.left-panel h1 {
    font-size: 36px;
    color: #112a4f;
}

.left-panel .logo {
    max-width: 80%;
    margin-top: 20px;
}

/* Right Panel */
.right-panel {
    width: 50%;
    padding: 40px;
    background-color: #112a4f;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-panel h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.right-panel form {
    display: flex;
    flex-direction: column;
}

.right-panel label {
    margin-top: 10px;
    font-size: 16px;
}

.right-panel input, 
.right-panel select {
    padding: 12px;
    margin-top: 5px;
    border-radius: 5px;
    border: none;
    outline: none;
    font-size: 16px;
}

/* Buttons */
.signup-btn, .login-btn {
    margin-top: 20px;
    padding: 12px;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 18px;
}

/* Hover Effects */
.signup-btn:hover, .login-btn:hover {
    background-color: #ff9800;
    transform: scale(1.05);
}

/* Adjust the paragraph to display properly */
.right-panel p {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
}

.right-panel a {
    color: #ffc107;
    text-decoration: none;
}

.right-panel a:hover {
    text-decoration: underline;
}

/* Message Styling */
.message-success {
    color: green;
    margin-bottom: 15px;
    text-align: center;
    font-size: 16px;
}

.message-error {
    color: red;
    margin-bottom: 15px;
    text-align: center;
    font-size: 16px;
}
 
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .left-panel, 
    .right-panel {
        width: 100%;
        padding: 20px;
    }

    .left-panel h1 {
        font-size: 28px;
    }

    .right-panel h2 {
        font-size: 28px;
    }

    .right-panel input, 
    .right-panel select {
        font-size: 14px;
        padding: 10px;
    }

    .signup-btn, .login-btn {
        padding: 10px;
        font-size: 16px;
    }

    #loading-spinner .spinner {
        width: 80px;
        height: 80px;
        border-width: 8px;
    }

    #loading-spinner p {
        font-size: 16px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .left-panel h1 {
        font-size: 24px;
    }

    .right-panel h2 {
        font-size: 24px;
    }

    .right-panel input, 
    .right-panel select {
        font-size: 12px;
        padding: 8px;
    }

    .signup-btn, .login-btn {
        padding: 8px;
        font-size: 14px;
    }

    #loading-spinner .spinner {
        width: 60px;
        height: 60px;
        border-width: 6px;
    }

    #loading-spinner p {
        font-size: 14px;
    }
}
