/*
Theme Name: Twenty Twelve
Theme URI: https://wordpress.org/themes/twentytwelve/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 4.7
Tested up to: 6.9
Requires at least: 3.5
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, block-patterns
Text Domain: twentytwelve

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f9f9f9;
    color: #333;
}

h1,
h2,
h3,
h4 {
    text-align: center;
    margin-bottom: 5px;
}

.date-time {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: #555;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="select"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.flex-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.flex-item {
    flex: 1;
    min-width: 200px;
}

.radio-group label {
    display: inline;
    font-weight: normal;
    margin-right: 15px;
}

.rules-section {
    background: #f1f1f1;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.rules-section h3 {
    text-align: left;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.rules-section h3 span {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.rules-section h4 {
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.rules-section ul {
    margin-top: 5px;
    padding-left: 20px;
    column-count: 2;
}

.rules-section ul li {
    font-size: 12px;
}

.venue-info {
    text-align: center;
    font-size: 0.9em;
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.submit-btn {
    display: flex;
    width: auto;
    padding: 20px 40px;
    margin: 0px auto;
    background-color: #086A39;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #151C4A;
}

.declaration {
    margin-top: 20px;
    font-weight: bold;
}

.logo_1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo_2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo_2 {
    width: 100px;
}

.pay_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pay_icon {
    width: 500px;
}

.error {
    color: red;
    font-style: italic;
    font-weight: normal !important;
}

input.error,
select.error,
textarea.error {
    border-color: red !important;
}

label.required::after {
    content: " *";
    color: red;
}

.radio-group label.error {
    display: block;
    margin-top: 5px;
    color: red;
}

.total-amount-box {
    background: linear-gradient(135deg, #FFD20E, #FFD20E);
    border: 2px solid #FFD20E;
    border-radius: 4px;
    padding: 15px 20px;
    margin-top: 10px;
    box-shadow: 0 6px 15px rgba(255, 210, 14, 0.585);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 41px;
    margin-top: 29px;
}

.total-amount-box label {
    font-weight: 600;
    font-size: 20px;
    color: #333;
}

.amount-value {
    font-size: 22px;
    font-weight: bold;
    color: #4f46e5;
    background: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.total-amount-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.total-amount-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 216, 70, 0.489);
}

.total-amount-box span {
    font-weight: bold;
    font-size: 20px;
}

.custom-radio-box {
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    padding: 6px 8px;
    position: relative;
}

.btn-group .form-select {
    padding: 8px 8px;
    border-radius: 4px;
}

.custom-radio-box label.error {
    position: absolute;
    bottom: -30px;
    left: 0;
}

/* Hover effect */
.custom-radio-box:hover {
    border-color: #86b7fe;
}

/* Focus effect when radio selected */
.custom-radio-box:focus-within {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
}

/* spacing */
.custom-radio-box .form-check {
    margin-bottom: 5px;
}

.custom-radio-box .form-check:last-child {
    margin-bottom: 0;
}

.checkbox-box {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    padding: 10px 12px;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 15px;
    height: 41px;
    margin-top: 29px;
}

.checkbox-box:hover {
    border-color: #0d6efd;
}

.checkbox-box input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.checkbox-box {
    position: relative;
}

.checkbox-box label.error {
    position: absolute;
    bottom: -35px;
}

.attendee-box { border: 1px solid #ddd; padding: 15px; margin: 10px 0; border-radius: 5px; position: relative; }
.remove-btn { color: red; cursor: pointer; float: right; }
.total-section { font-size: 1.2em; font-weight: bold; margin-top: 20px; }

/* Responsive */

@media only screen and (max-width: 768px) {
    .submit-btn {
        padding: 10px 40px;
    }

    .pay_icon {
        width: 100%;
    }

    .rules-section ul {
        column-count: 1;
    }

    .checkbox-box {
        height: auto;
        margin-top: 0;
        font-size: 12px;
    }

    .total-amount-box {
        height: auto;
        margin-top: 0;
    }

    .flex-row {
        gap: 10px;
    }
}