/* ===================================================================
   COMMON STYLES
=================================================================== */
body {
    font-family: 'Raleway', Arial, sans-serif;
    background: #f8f8f8;
    color: #222;
}

header,
footer {
    background: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* ===================================================================
   PAGE: INDEX (index.html)
=================================================================== */
.page-index .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.page-index h3,
.page-index h4 {
    text-align: center;
    margin: 10px 0;
}

.page-index .form-field {
    margin-bottom: 15px;
}

.page-index label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-index input,
.page-index select,
.page-index textarea {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.page-index input[type="radio"],
.page-index input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.page-index .form-actions {
    text-align: center;
    margin-top: 20px;
}

.page-index .btn-custom {
    background: #C90918;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    margin: 4px;
    margin-right: 10px;
}

.page-index .btn-custom:hover {
    background: #fff;
    color: #C90918;
    border: 1px solid #C90918;
}

.page-index .brochure-link {
    display: block;
    text-align: center;
    margin: 20px 0;
}

.page-index .queries_contact {
    text-align: center;
    margin: 20px 0;
}

.page-index .queries_contact a {
    font-family: 'Courier New', Courier, monospace;
}

.page-index .age-display {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 8px;
    border-radius: 4px;
}

.page-index .form-section {
    margin-bottom: 30px;
}

.page-index .highlight-box {
    background-color: #fff9f0;
    border: 1px solid #C90918;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.page-index .attractive-text {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    line-height: 1.6;
}

.page-index .attractive-text h5,
.page-index .attractive-text p {
    margin-bottom: 15px;
}

.page-index .attractive-text h5 {
    font-size: 24px;
    font-weight: 700;
    color: #C90918;
}

.page-index .attractive-text strong {
    color: #000;
}

.page-index .attractive-text .emoji {
    font-size: 1.5em;
}

.page-index .attractive-text ul {
    list-style-type: '✅ ';
    padding-left: 20px;
}

.page-index .attractive-text li {
    margin-bottom: 10px;
}

.page-index .event-details-text {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    line-height: 1.6;
}

.page-index .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-index .form-column,
.page-index .info-column {
    width: 100%;
}

@media (min-width: 992px) {
    .page-index .main-content {
        flex-direction: row;
    }

    .page-index .form-column,
    .page-index .info-column {
        width: 50%;
    }

    .page-index .form-column {
        order: 2;
    }

    .page-index .info-column {
        order: 1;
    }
}

@media (max-width: 991px) {
    .page-index header .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .page-index header h1 {
        margin: 10px 0;
        font-size: 1.5rem;
    }

    .page-index .container {
        padding: 15px;
    }

    .page-index .btn-custom {
        padding: 10px 30px;
        font-size: 16px;
        margin-right: 5px;
        margin-bottom: 10px;
    }

    .page-index .queries_contact h3 {
        font-size: 1rem;
    }
}

/* ===================================================================
   PAGE: LOGIN (login.html)
=================================================================== */
.page-login {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
}

.page-login .login-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
    width: 100%;
    margin: auto;
}

.page-login .btn-custom {
    background: #C90918;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

.page-login .btn-custom:hover {
    background: #000;
    color: #C90918;
    border: 1px solid #C90918;
}

.page-login .form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.page-login .logo {
    text-align: center;
    margin-bottom: 30px;
}

.page-login .logo h2 {
    color: #000;
    font-weight: 700;
}

.page-login .logo span {
    color: #C90918;
}

.page-login .login-form .form-label {
    font-weight: 700;
}

.page-login .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.page-login .remember-me {
    font-size: 0.9rem;
}

.page-login .forgot-password {
    text-align: right;
    font-size: 0.9rem;
}

.page-login .forgot-password a {
    color: #000;
    text-decoration: none;
}

.page-login .forgot-password a:hover {
    text-decoration: underline;
}

/* ===================================================================
   PAGE: ADMIN (admin.php)
=================================================================== */
.page-admin .sidebar {
    background: #000;
    color: #fff;
    height: calc(100vh - 150px);
    position: sticky;
    top: 70px;
}
.page-admin .sidebar a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
}
.page-admin .sidebar a:hover, .page-admin .sidebar a.active {
    background: #C90918;
    color: #000;
}
.page-admin .main-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.page-admin .btn-custom {
    background: #C90918;
    color: #fff;
    border: none;
}
.page-admin .btn-custom:hover {
    background: #c08f45;
    color: #fff;
}
.page-admin .table th {
    background-color: #000;
    color: #fff;
}
.page-admin .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fff9f0;
}
.page-admin .search-box {
    background: #e9ecef;
    border-radius: 30px;
    padding: 10px 15px;
}
.page-admin .stats-card {
    background: #000;
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}
.page-admin .stats-card .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #C90918;
}
.page-admin .stats-card .label {
    font-size: 1rem;
}
.page-admin .filter-section {
    background: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.page-admin .action-buttons .btn {
    margin-right: 10px;
}
@media (max-width: 768px) {
    .page-admin .sidebar {
        height: auto;
        position: relative;
        top: 0;
    }
}

/* ===================================================================
   PAGE: TERMS (terms.html)
=================================================================== */
.page-terms {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-terms .content-container {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
}

.page-terms h1, .page-terms h2 {
    color: #C90918;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-terms h3 {
    color: #000;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-terms p, .page-terms li {
    line-height: 1.7;
    text-align: justify;
}

.page-terms ul {
    list-style-position: inside;
    padding-left: 0;
}

@media (max-width: 991px) {
    .page-terms header .d-flex {
        flex-direction: column;
        align-items:center;
    }

    .page-terms header h1 {
        margin: 10px 0;
        font-size: 1.5rem;
    }
}