body {
    background-color: #E8F1F4;
    font-family: Arial, sans-serif;
}

.event-details {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.event-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.payment-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

ul {
    padding-left: 20px;
}

button {
    background-color: #56D4FC;
    border: none;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}

button:hover {
    background-color: #0099cc;
}

.brand-text {
    height: 48px;
}

.event-container {
    padding: 5% 5%;
    background-color: #E8F1F4;
}

.logo-image {
    margin-bottom: 2%;
}

event-organization-image, .event-fundraiser-image {
    height: 31px;
    width: 75px;
}

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');

/* Style the labels inside .payment-box */
.payment-box label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #56d4fc;
    font-weight: 400; /* Regular */
}

.info-label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #b5b5b5;
}

.payment-info {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #3d4c4e;
}

.payment-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #3d4c4e;
}

.payment-box li {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #3d4c4e;
}

/* Input Field Styling */
.payment-box input:not([type='checkbox']) {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #3d4c4e;
    background-color: transparent; /* No background */
    border: none;
    border-bottom: 1.5px solid #3d4c4e; /* Subtle bottom border */
    padding: 5px 0;
    outline: none; /* Removes default focus outline */
    width: 100%; /* Ensures input takes full width */
    transition: border-bottom 0.3s ease-in-out;
    border-radius: 0; /* No rounded corners */
}

.payment-box input[type='checkbox'] + label, .payment-box input[type='text']::placeholder {
    color: #3d4c4e;
}

/* Remove input highlight (box-shadow) when clicking */
.payment-box input:focus {
    border-bottom: 1.5px solid #3d4c4e; /* Darker on focus */
    box-shadow: none; /* Prevents any blue glow in browsers */
}

/* Placeholder Styling */
.payment-box input::placeholder {
    color: #56d4fc; /* Subtle text color */
    font-size: 16px;
}

.btn.btn-primary, .btn.btn-primary:disabled {
    background-color: #56D4FC;
    border: none;
}

.btn.btn-primary:hover {
    background-color: #33b5e5;
    border: none; /* Ensures no border on hover either */
}

.quantity-btn {
    width: 32px; /* Set width */
    height: 32px; /* Set height */
    border-radius: 50%; /* Make it circular */
    border: 2px solid #6e89a7; /* Border color */
    background-color: white; /* Default background */
    color: #6e89a7; /* Icon color */
    font-size: 18px; /* Adjust size */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.quantity-btn:hover {
    background-color: #6e89a7; /* Background on hover */
    color: white; /* Text color on hover */
}

/* Floating Label Styles */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

#buy-memo {
    font-size: 20px;
}

.floating-input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #3d4c4e; /* Subtle underline */
    background-color: transparent;
    font-size: 16px;
    color: #3d4c4e;
    padding: 8px 0;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

.floating-input:focus {
    border-bottom: 1.5px solid #3d4c4e;
}

/* Floating Label */
.form-group label {
    position: absolute;
    top: 10px;
    font-size: 16px;
    color: #56d4fc;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.form-group label[for="buy-memo"] {
  font-size: 20px;
}

/* Move label up when input is focused or has text */
.floating-input:focus + label,
.floating-input:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 14px;
    color: #56d4fc;
}

/* Ticket Selection Styling */
.ticket-box, .underlined-title {
    padding: 10px;
    border-bottom: 2px dashed #E8F1F4;
    margin-bottom: 10px;
}

.ticket-name {
    font-weight: bold;
}

/* Available Tickets */
.stock-message.available {
    color: #56d4fc;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Sold Out Message */
.stock-message.sold-out {
    color: #ff6a6a;
    font-weight: bold;
    margin-bottom: 5px;
}

.subtle-back {
    color: #6e89a7;
    text-decoration: none;
    font-size: 16px;
    display: block;
    text-align: left;
    margin-top: 10px;
}

.ticket-quantity {
    display: flex;
    align-items: center;
}

.quantity {
    margin: 0 10px;
    font-weight: bold;
    font-size: 18px;
}

/* Gray out expired tickets */
.ticket-expired {
    opacity: 0.6;
    pointer-events: none; /* Prevents interaction */
}

/* Make text gray */
.text-gray {
    color: gray !important;
}

/* Event Progress Box */
.event-progress-box {
    background: #f8fbfd;
    border-radius: 16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

/* Progress Bar Container */
.progress-container {
    width: 100%;
    height: 16px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Foreground Progress Bar */
.progress-bar {
    position: absolute;
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

/* Container to position the checkmark over the image */
.success-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Success Image */
.success-image {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    margin: auto;
    display: block;
}

/* Green Circular Checkmark */
.checkmark-circle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
    width: 5em;
    height: 5em;
    background-color: #4BDF77; /* Green background */
    border-radius: 50%; /* Make it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Check Icon */
.checkmark-circle i {
    color: white; /* White checkmark */
    font-size: 3rem; /* Adjust size */
}

.invite-friends {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px; /* Space between text and icon */
}

.invite-text {
    color: #6e89a7;
    font-weight: bold;
}

.invite-icon {
    width: 16px; /* Adjust size */
    height: 16px;
}

#link-pay {
    display: none;
}

/* Container for Stripe elements */
.stripe-group {
    position: relative;
    margin-bottom: 20px;
    padding-top: 20px; /* Space for the label */
}

/* Floating Label */
.floating-label {
    position: absolute;
    top: 25px;
    left: 0;
    font-size: 16px;
    color: #56d4fc;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

/* Move label up when input is focused or contains text */
.float-up {
    top: 5px;
    font-size: 16px;
    color: #56d4fc;
}

/* Stripe element styling */
.StripeElement {
    width: 100%;
    padding: 5px 0;
    border-bottom: 1.5px solid #3d4c4e;
    transition: border-bottom 0.3s ease-in-out;
}

/* Focus Effect */
.StripeElement--focus {
    border-bottom: 1.5px solid #56d4fc;
}

/* Error styling */
.StripeElement--invalid {
    border-bottom: 1.5px solid #ff3860;
    color: #ff3860;
}

.stripe-wrapper {
    position: relative;
}
  
.stripe-element {
    padding: 8px 0;
    border: none;
    border-bottom: 1.5px solid #3d4c4e;
    background-color: transparent;
}
  
.floating-label {
    position: absolute;
    top: 8px;
    left: 0;
    font-size: 16px;
    color: #56d4fc;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}
  
.floating-label.float-up {
    top: -15px;
    font-size: 14px;
    color: #56d4fc;
}
  
.custom-radio {
    display: flex;
    align-items: center;
    position: relative;
    border: 3px solid transparent; /* Always 3px to preserve layout */
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #3d4c4e;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: white;

    /* Simulate thin border with inset box-shadow */
    box-shadow: inset 0 0 0 1px #3d4c4e;
}

/* Radio circle */
.custom-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 18px;
    height: 18px;
    border: 3px solid #b0dce8;
    border-radius: 50%;
    background-color: white;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
}

/* Selected: visible thick border and remove shadow */
.custom-radio input[type="radio"]:checked {
    border-color: #56D4FC;
}

.custom-radio:has(input[type="radio"]:checked) {
    border-color: #56D4FC;
    box-shadow: none; /* Removes the fake 1px look */
}

/* Consistent text */
.custom-radio span {
    color: #3d4c4e;
}

/* Bold label if selected */
.custom-radio input[type="radio"]:checked ~ span {
    font-weight: 700;
}

#org-donation-amount {
    max-width: 190px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn-custom-link {
    background-color: #56D4FC;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}

.btn-custom-link:hover {
    background-color: #33b5e5;
}

.breadcrumb-link {
    color: #6e89a7;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-block;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}
