/* Modern Dark Theme - Signup Page */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Dark Theme Styling */
body {
    background-color: #1E1E1E;
    color: #E0E0E0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Form Container */
.container {
    background-color: #292929;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

/* Heading */
h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #76C893;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input Fields */
input, textarea {
    padding: 12px;
    border: 1px solid #444;
    background: #333;
    color: #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #76C893;
    outline: none;
}

/* Textarea Styling */
textarea {
    height: 80px;
    resize: none;
}

/* Button Styling */
button {
    background: #76C893;
    color: white;
    font-size: 16px;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s;
}

button:hover {
    background: #66BB6A;
    transform: scale(1.05);
}

/* Register/Login Link */
a {
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px;
    color: #76C893;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

a:hover {
    color: #1E1E1E;
    background-color: #76C893;
    border-color: #76C893;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #BBBBBB;
}

/* Autocomplete Dropdown Styling */
.ui-autocomplete {
    background-color: #292929 !important;  /* Dark background for the dropdown */
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 16px;
    max-height: 200px;
    overflow-y: auto; /* Enables scrolling for long lists */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Autocomplete List Items */
.ui-menu-item {
    padding: 10px;
    color: #E0E0E0;
    cursor: pointer;
    transition: background 0.3s ease;
    background-color: #292929; /* Ensure items have dark background */
}

/* Hover Effect */
.ui-menu-item-wrapper:hover {
    background-color: #76C893;
    color: #1E1E1E;
}

/* Active Selection */
.ui-state-active {
    background-color: #66BB6A !important;
    color: #1E1E1E !important;
    border-radius: 8px;
}

/* ReChapta */
.g-recaptcha-badge {
    font-size: 12px;
    color: #555;
    text-align: center;
    margin-top: 10px;
}
.g-recaptcha-badge a {
    color: #007bff;
    text-decoration: none;
}
