.section-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.section-btn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
}

.section-btn.highlight {
    background-color: #26a69a;
    color: white;
    font-weight: bold;
}

.btn_register_guests {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.btn_register_guests:hover {
    background-color: #ab577a;
}

#button-container {
    display: flex;
    justify-content: center !important; /* Center horizontally */
    align-items: center !important;    /* Center vertically */
    height: 100vh;          /* Set height of the container (adjust as needed) */
}

.guest-form {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#guest-registration-general {
    font-size: 0.9rem;
    color:#000000;
}

strong {
    font-weight: bold !important;
}

.form-group {
    margin-bottom: 15px; /* Adds space between fields */
}

.form-group label {
    display: block; /* Ensures label is above the input */
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.guest-header {
    font-size: 1.5rem;
    color:#300de0;
}

/* Highlight the label when its associated input is focused */
.form-group input:focus {
    outline: none; /* Remove the default browser outline */
    border-color: #26a69a; /* Highlight input border */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Add a glow effect */
}

/* Highlight the label itself when the input is focused */
.form-group input:focus + label {
    color: #26a69a; /* Change label color */
    font-weight: bold; /* Optionally make the label bold */
}

/* Highlight the label for the whole group when an input is focused */
.form-group:focus-within label {
    color: #26a69a;
    font-weight: bold;
}

.helper-text {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 5px;
}

select {
    width: 100%;
    padding: 8px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
    display: block;
}

#btn_save_registration {
    position: fixed;
    top: 20px; /* Distance from the top of the screen */
    right: 20px; /* Distance from the right side of the screen */
    z-index: 1000; /* Ensure it stays above other elements */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#btn_save_registration:hover {
    background-color: #0056b3;
}

#btn_submit_registration {
    margin-top: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#btn_submit_registration:hover {
    background-color: #0056b3;
}

.instruction-section {
    margin-top: 20px;
}

.instruction-section h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

iframe {
    margin-bottom: 10px;
}

/* Popup Styles */
 
  .popup {
    position: fixed;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px 20px 10px;
    border-radius: 8px;
    text-align: center;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%; /* Ensure it fits within smaller screen widths */
    max-width: 400px; /* Limit max size for larger screens */
  }

  .popuptext {
    padding: 0px 0px 10px;
  }
  
  .popup.visible {
    display: block;
  }
  
  .popup-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
  }
  
  .popup-header .close-popup {
    cursor: pointer;
  }
  
  #popup-content {
    padding: 10px;
  }

  .popup input[type="checkbox"] {
    opacity: 1 !important; /* Force visibility */
    position: static !important; /* Reset position if Materialize uses absolute/relative */
    width: 20px; /* Explicit width */
    height: 20px; /* Explicit height */
    margin: 0; /* Remove unwanted margin */
    border: 2px solid black; /* Visible border */
    appearance: none; /* Remove default styles */
    background-color: white; /* Add a background color */
    display: inline-block; /* Ensure proper rendering */
}

.popup input[type="checkbox"]:checked {
    background-color: #007bff; /* Blue background when checked */
    border-color: #007bff; /* Blue border when checked */
    content: "✔"; /* Optional checkmark for better UX */
}

.popup label {
    display: inline-block !important; /* Ensure proper alignment with checkbox */
    margin: 10px 0px 20px; /* Space between checkbox and label */
    font-size: 14px;
    color: black;
    vertical-align: middle;
    cursor: pointer;
}