/* Euchre Reservations Frontend Styles */

/* --- General Card Styles --- */
.euchre-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 2em;
    padding: 2em;
    overflow: hidden;
}

.euchre-card h2,
.euchre-card h3,
.euchre-card h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    margin-top: 0;
}

.euchre-card h2 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5em;
}

.euchre-card h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.euchre-card h4 {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #555;
}

.euchre-card p {
    line-height: 1.6;
    color: #666;
}

.euchre-card strong {
    color: #444;
}

/* --- Event Details Specifics --- */
.euchre-event-details p {
    margin-bottom: 1em;
    font-size: 1.1em;
}

/* --- Registration Form Styles --- */
.euchre-registration-form .form-group {
    margin-bottom: 1.5em;
}

.euchre-registration-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #333;
}

.euchre-registration-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.euchre-registration-form .form-control:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
    outline: none;
}

.euchre-registration-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.euchre-registration-form .checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.euchre-registration-form .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 1.2em;
    height: 1.2em;
}

.euchre-registration-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.euchre-registration-form hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 2em 0;
}

/* --- Buttons --- */
.euchre-btn {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
}

.euchre-btn:hover {
    background-color: #005a87;
    color: #fff;
}

.euchre-btn-secondary {
    background-color: #6c757d;
}

.euchre-btn-secondary:hover {
    background-color: #5a6268;
}

#add-another-registrant {
    margin-bottom: 1.5em;
}

/* --- Additional Registrants --- */
#additional-registrants-container .registrant-fields {
    border-top: 2px dashed #e0e0e0;
    padding-top: 1.5em;
    margin-top: 1.5em;
}

/* --- Totals and Payment --- */
.euchre-totals {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 2px solid #f0f0f0;
    text-align: right;
}

.euchre-totals p {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

#paypal-button-container {
    margin-top: 1.5em;
    max-width: 400px; /* Adjust as needed */
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .euchre-card {
        padding: 1.5em;
    }

    .euchre-card h2 {
        font-size: 1.5em;
    }

    .euchre-card h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .euchre-card {
        padding: 1em;
    }

    .euchre-registration-form .form-control {
        padding: 10px;
    }

    .euchre-btn {
        width: 100%;
        padding: 15px;
    }
}
