/*
 Theme Name:   My-custom-theme-child
 Theme URI:    [Your website URL]
 Description:  A custom child theme
 Author:       [Your Name]
 Author URI:   [Your website URL]
 Template:     My-custom-theme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  [your-child-theme-text-domain]
*/

.listing-category {
    padding: 40px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.listing-card {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.listing-photo img {
    width: 100%;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.listing-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.view-profile-btn {
    background-color: #0073aa;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

.view-profile-btn:hover {
    background-color: #005177;
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light background color */
}

.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    background: #f0f0f0; /* Light background color */
}

.register-form-container {
    background-color: #fff;
    padding: 40px;
    width: 500px; /* Adjust width of the form */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    gap: 15px;
}

.input-group input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.submit-group input {
    background-color: #007bff;
    color: white;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-group input:hover {
    background-color: #0056b3;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: #007bff;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;

/* Captcha Section */
.captcha-text {
    font-weight: bold;
    color: #333;
}

.refresh-captcha {
    background-color: #f4f4f4;
    color: #007bff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.refresh-captcha:hover {
    background-color: #e6e6e6;
}

footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}

footer a {
    color: #00f;
}

footer a:hover {
    text-decoration: underline;

/* Login Page */
.custom-login-wrapper,
.login-page-wrapper,
.login form {
    max-width: 420px;      /* same as register page */
    width: 100%;
    margin: 40px auto;     /* center horizontally */
    padding: 0 15px;
}

/* Input fields */
.custom-login-wrapper input[type="text"],
.custom-login-wrapper input[type="password"],
.custom-login-wrapper input[type="email"],
.login form input[type="text"],
.login form input[type="password"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Login button */
.custom-login-wrapper button,
.custom-login-wrapper input[type="submit"],
.login form input[type="submit"] {
    width: 100%;
    max-width: 100%;
}

/* Remove full-width container stretch */
body .container,
body .site-content,
body .content-area {
    max-width: 100%;
}

/* ===== Listing Category Grid (Wayne Style) ===== */

.listing-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.listing-category-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.listing-category-image {
    background: #9b9b9b;
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.listing-category-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.listing-category-btn:hover {
    background: #005f8d;
}

.add-event-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 20px;
}

.add-event-btn:hover {
    background-color: #005bb5;
}