/* Global reset and body styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: serif;
    background-color: #fff;
    color: black;
    line-height: 1.6;
    padding: 20px;
}

/* Container for alignment and responsiveness */
.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .container {
        width: 98%;
    }
}

/* Title styling for event booking */
h1#title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
    color: black;
}

/* Form group styling */
.form-group {
    margin-bottom: 15px;
}

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

/* Input fields styling - prevents zoom on mobile devices */
input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='tel'],
select {
    font-size: 16px;
    color: black;
    /* Minimum font size to prevent zoom on iOS */
    /* ... other styling properties ... */
}
#qrCode {
    max-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Input field styling */
.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='number'],
.form-group input[type='tel'],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button styling */
button#submitButton {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-family: serif;
}

button#submitButton:hover {
    background-color: #555;
}

/* Language selection styling */
#languageSelection {
    margin-top: 20px;
    text-align: center;
}

#languageSelection button {
    padding: 5px 15px;
    margin-right: 5px;
    background: none;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Times New Roman', serif;
    transition: all 0.3s ease;
}

#languageSelection button:hover {
    background-color: black;
    color: white;
}

#toggleLanguage {
    text-decoration: underline;
    cursor: pointer;
}

/* Styling for select dropdown */
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px 12px;
}

select:focus {
    outline: none;
    border-color: #aaa;
}

/* Dashboard Specific Styles */
.dashboard-container {
    background: #f9f9f9;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
}

.dashboard-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e4e4;
}

.dashboard-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.dashboard-table thead th {
    background-color: #e4e4e4;
}

.dashboard-table tbody tr:nth-child(odd) {
    background-color: #f4f4f4;
}

.dashboard-table tbody tr:hover {
    background-color: #ddd;
}

.dashboard-action-button {
    padding: 5px 10px;
    margin-right: 5px;
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
}

.dashboard-action-button:hover {
    opacity: 0.85;
}

/* Login Page Specific Styles */
.login-container {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

.login-form-group label {
    margin-bottom: 5px;
}

.login-form-group input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-submit-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #5cb85c;
    color: white;
    font-size: 1em;
    cursor: pointer;
    margin-top: 20px;
}

.login-submit-button:hover {
    background-color: #4cae4c;
}

/* Logout Link */
.logout-link {
    display: block;
    text-align: right;
    margin-top: 20px;
}

/* Dashboard Specific Styles */

/* Ensure that these styles do not conflict with existing classes in your main app */

.dashboard-container {
    padding: 15px;
    background-color: #f9f9f9;
}

.dashboard-header {
    margin-bottom: 20px;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* For smooth scrolling on iOS devices */
}

.dashboard-table th,
.dashboard-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.dashboard-table thead {
    background-color: #e9e9e9;
}

.dashboard-action-button {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
}

.dashboard-action-button:hover {
    background-color: #45a049;
}

.header,
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.textC {

    text-align: center;
}

#howTo {

    max-width: 300px;
    margin-left: auto;
    margin-right: auto; 
} 

.cover {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 800px;
}

.mail {
color: black;
text-decoration: underline;
}

.mapa {
    display: block;
    margin: auto;

}

#solidInput {
    background-color: #efefef;
}

.eventhref {
    color: black;
    text-decoration: none;
}

.payinfo {
    text-align: center;
}

.footer a{

text-decoration: none;
color: black;
}

.footer {
    padding: 45px 0 10px 0;
        /* Added 20px top padding */
        text-decoration: none;

}

.header {
    padding: 5px 0 25px 0;
        /* Added 20px bottom padding */

}

.logo img {
    height: 50px;
    /* Adjust as needed */
}

.event-info h1 {
    font-size: 1.5em;
    margin: 0;
}

.event-info p {
    margin: 0;
}

.footer-left,
.footer-right {
    font-size: 16px;
        font-weight: bold;
        font-family: 'Neue Haas', sans-serif;
        /* Replace 'Neue Haas' with the correct font name if different */
        text-decoration: none;
}


/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .dashboard-table {
        display: block;
        overflow-x: auto;
    }

    .dashboard-action-button {
        width: 100%;
        box-sizing: border-box;
        /* Makes sure padding doesn't affect width */
    }
}