/* Global Styles & Variables
-------------------------------------------------- */
:root {
    --hh-primary-color: #E44F50;
    --hh-primary-darker: #c63c3d;
    --hh-secondary-color: #f97316;
    --hh-accent-color: #E44F50;
    --hh-accent-darker: #c63c3d;
    --hh-text-color: #374151;
    --hh-text-light: #6b7280;
    --hh-border-color: #e5e7eb;
    --hh-background-light: #f9fafb;
    --hh-background-white: #ffffff;
    --hh-error-color: #ef4444;
    --hh-success-color: #22c55e;

    --hh-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --hh-border-radius: 8px;
    --hh-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hh-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.happy-hour-container * {
    box-sizing: border-box;
}

.happy-hour-container {
    font-family: var(--hh-font-family);
    color: var(--hh-text-color);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Filter Section
-------------------------------------------------- */
.happy-hour-filter {
    background-color: var(--hh-background-white);
    border-radius: var(--hh-border-radius);
    box-shadow: var(--hh-shadow);
    padding: 25px 30px;
    margin-bottom: 40px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--hh-text-color);
}

.filter-group select,
.filter-group input[type="date"],
.filter-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--hh-border-color);
    border-radius: var(--hh-border-radius);
    font-size: 15px;
    background-color: var(--hh-background-white);
    height: 48px;
    line-height: normal;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.filter-group select:focus,
.filter-group input[type="date"]:focus,
.filter-group input[type="text"]:focus {
    outline: none;
    border-color: var(--hh-primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.filter-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 40px;
}

#filter-loading {
    text-align: center;
    padding: 15px;
    font-weight: 500;
    color: var(--hh-primary-color);
}

/* Restaurants List & Cards
-------------------------------------------------- */
.restaurants-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    min-height: 200px;
}

.restaurants-list.loading {
    opacity: 0.5;
    pointer-events: none;
}
.restaurants-list.loading::after {
    content: '';
}


.restaurant-card {
    display: flex;
    flex-direction: column;
    background-color: var(--hh-background-white);
    border-radius: var(--hh-border-radius);
    overflow: hidden;
    box-shadow: var(--hh-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hh-shadow-lg);
}

.restaurant-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.restaurant-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.restaurant-card:hover .restaurant-image img {
    transform: scale(1.05);
}

.restaurant-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.restaurant-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
}

.restaurant-info h3 a {
    color: var(--hh-text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.restaurant-info h3 a:hover {
    color: var(--hh-primary-color);
}

.restaurant-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    color: var(--hh-text-light);
    font-size: 13px;
    gap: 5px 12px;
}

.restaurant-meta span {
    display: flex;
    align-items: center;
}
.restaurant-meta .location-icon svg,
.restaurant-meta .cuisine-icon svg {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    fill: currentColor;
}


.restaurant-description {
    margin-bottom: 15px;
    color: var(--hh-text-light);
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

.restaurant-available-times {
    margin-top: auto;
}

.restaurant-available-times h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--hh-text-color);
    padding-bottom: 5px;
}

.restaurant-available-times h4 .times-for-date {
    font-size: 13px;
    font-weight: normal;
    color: var(--hh-text-light);
    margin-left: 5px;
}

.timeslots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.timeslot-box {
    cursor: pointer;
    border-radius: var(--hh-border-radius);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--hh-border-color);
    min-width: 70px;
}

.timeslot-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    border-color: var(--hh-accent-color);
}

.timeslot-time {
    background-color: var(--hh-accent-color);
    color: var(--hh-background-white);
    font-weight: 600;
    padding: 8px 12px;
    font-size: 14px;
}

.timeslot-discount {
    background-color: var(--hh-background-light);
    color: var(--hh-accent-darker);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-top: 1px solid var(--hh-border-color);
}

.loading-times, .no-times, .error-message-slots {
    color: var(--hh-text-light);
    font-style: italic;
    padding: 10px 0;
    font-size: 14px;
}

.error-message-slots {
    color: var(--hh-error-color);
    font-style: normal;
    font-weight: 500;
}

/* Modal Window
-------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    padding: 20px;
    align-items: center;
    justify-content: center;
}
.modal.modal-active {
    display: flex;
}

.modal-content {
    background-color: var(--hh-background-white);
    margin: auto;
    padding: 20px;
    width: 100%;
    max-width: 550px;
    border-radius: var(--hh-border-radius);
    box-shadow: var(--hh-shadow-lg);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--hh-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modal-restaurant-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--hh-text-color);
}

.modal-close {
    color: var(--hh-text-light);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    text-align: right;
}
.modal-close:hover {
    color: var(--hh-text-color);
}

.modal-body {
    padding: 25px;
    flex-grow: 1;
    overflow-y: auto;
}

.modal-restaurant-info {
    padding: 10px 0 15px;
    font-size: 14px;
    color: var(--hh-text-light);
    border-bottom: 1px dashed var(--hh-border-color);
    margin-bottom: 20px;
}
.modal-restaurant-info p {
    margin: 4px 0;
}

.modal-reservation-info {
    background-color: var(--hh-background-light);
    padding: 15px;
    border-radius: var(--hh-border-radius);
    margin-bottom: 20px;
}

.selected-time-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.time-label, .date-value, .time-value {
    font-size: 16px;
    color: var(--hh-text-color);
}
.date-value, .time-value {
    font-weight: 600;
}

#modal-discount-badge {
    background-color: var(--hh-primary-color);
    color: var(--hh-background-white);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--hh-border-radius);
    font-size: 13px;
    margin-left: auto;
}

#modal-reservation-form .form-group {
    margin-bottom: 20px;
}
#modal-reservation-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--hh-text-color);
    font-size: 14px;
}

/* UPRAVENÉ ŠTÝLY PRE INPUTY A SELECT V MODÁLNOM FORMULÁRI */
#modal-reservation-form .form-group select,
#modal-reservation-form .form-group input[type="text"],
#modal-reservation-form .form-group input[type="email"],
#modal-reservation-form .form-group input[type="tel"] {
    width: 100%;
    padding: 12px 15px; /* Vnútorný padding */
    border: 1px solid var(--hh-border-color);
    border-radius: var(--hh-border-radius);
    font-size: 15px;
    color: var(--hh-text-color);
    background-color: var(--hh-background-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 48px; /* Explicitná výška */
    box-sizing: border-box; /* Dôležité pre správne fungovanie paddingu a height */
}

#modal-reservation-form .form-group select:focus,
#modal-reservation-form .form-group input[type="text"]:focus,
#modal-reservation-form .form-group input[type="email"]:focus,
#modal-reservation-form .form-group input[type="tel"]:focus {
    outline: none;
    border-color: var(--hh-primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
#modal-reservation-form .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 40px;
}
#modal-reservation-form .form-group small {
    font-size: 12px;
    color: var(--hh-text-light);
    margin-top: 5px;
    display: block;
}

/* Stripe Card Element Styling */
#stripe-payment-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--hh-border-color);
}
.StripeElement {
    background-color: white;
    padding: 12px 15px;
    border-radius: var(--hh-border-radius);
    border: 1px solid var(--hh-border-color);
    width: 100%;
    height: 48px; 
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.StripeElement--focus {
    border-color: var(--hh-primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.StripeElement--invalid {
    border-color: var(--hh-error-color);
}
#card-errors {
    color: var(--hh-error-color);
    font-size: 13px;
    margin-top: 8px;
    min-height: 1em;
}


.reservation-summary {
    margin-top: 25px;
    padding: 20px;
    background-color: var(--hh-background-light);
    border-radius: var(--hh-border-radius);
    border: 1px solid var(--hh-border-color);
}
.reservation-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--hh-text-color);
}
.summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.summary-table th, .summary-table td {
    padding: 8px 0;
    text-align: left;
    border-bottom: 1px solid var(--hh-border-color);
}
.summary-table tr:last-child th,
.summary-table tr:last-child td {
    border-bottom: none;
}
.summary-table th {
    width: 40%;
    color: var(--hh-text-light);
    font-weight: normal;
}
.summary-table td {
    font-weight: 500;
    color: var(--hh-text-color);
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--hh-border-color);
    background-color: var(--hh-background-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#modal-reservation-actions {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#modal-submit-reservation,
#modal-show-summary {
    padding: 12px 20px;
    border: none;
    border-radius: var(--hh-border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

#modal-submit-reservation {
    background-color: var(--hh-primary-color);
    color: var(--hh-background-white);
}
#modal-submit-reservation:hover {
    background-color: var(--hh-primary-darker);
}
#modal-submit-reservation:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#modal-show-summary {
    background-color: var(--hh-accent-color);
    color: var(--hh-background-white);
}
#modal-show-summary:hover {
    background-color: var(--hh-accent-darker);
}


#modal-error-message {
    color: var(--hh-error-color);
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 10px 15px;
    border-radius: var(--hh-border-radius);
}

/* User Reservations Page
-------------------------------------------------- */
.happy-hour-user-reservations {
    max-width: 800px;
    margin: 20px auto;
}
.happy-hour-user-reservations > h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--hh-text-color);
}

.reservation-item {
    background-color: var(--hh-background-white);
    border-radius: var(--hh-border-radius);
    box-shadow: var(--hh-shadow);
    margin-bottom: 25px;
    overflow: hidden;
}

.reservation-header {
    background-color: var(--hh-background-light);
    padding: 15px 20px;
    border-bottom: 1px solid var(--hh-border-color);
}
.reservation-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--hh-primary-color);
}
.reservation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--hh-text-light);
}

.reservation-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.reservation-details > div {
    margin-bottom: 12px;
    font-size: 14px;
}
.reservation-details .label {
    font-weight: 600;
    color: var(--hh-text-color);
    display: inline-block;
    min-width: 120px;
}
.reservation-details .value,
.reservation-details .status {
    color: var(--hh-text-light);
}
.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}
.status-pending {
    background-color: #fffbeb;
    color: #f59e0b;
    border: 1px solid #fde68a;
}
.status-confirmed {
    background-color: #f0fdf4;
    color: var(--hh-primary-color);
    border: 1px solid #a7f3d0;
}
.status-cancelled {
    background-color: #fef2f2;
    color: var(--hh-error-color);
    border: 1px solid #fecaca;
}
.status-completed {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.status-payment_failed {
    background-color: #fff1f2;
    color: #f43f5e;
    border: 1px solid #ffdde1;
}

.reservation-qr-code {
    text-align: center;
}
.reservation-qr-code img {
    max-width: 150px;
    height: auto;
    border: 1px solid var(--hh-border-color);
    padding: 8px;
    background-color: var(--hh-background-white);
    border-radius: var(--hh-border-radius);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.reservation-qr-code p {
    margin-top: 10px;
    font-size: 12px;
    color: var(--hh-text-light);
}

.reservation-actions {
    padding: 15px 20px;
    background-color: var(--hh-background-light);
    border-top: 1px solid var(--hh-border-color);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.reservation-actions .button,
.reservation-actions button {
    padding: 8px 15px;
    border-radius: var(--hh-border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, opacity 0.2s;
    border: 1px solid transparent;
    box-sizing: border-box;
}
.reservation-actions .button.cancel-reservation {
    background-color: var(--hh-error-color);
    color: var(--hh-background-white);
    border-color: var(--hh-error-color);
}
.reservation-actions .button.cancel-reservation:hover {
    background-color: #dc2626;
}
.reservation-actions .button-secondary {
    background-color: var(--hh-background-white);
    color: var(--hh-text-color);
    border-color: var(--hh-border-color);
}
.reservation-actions .button-secondary:hover {
    background-color: var(--hh-background-light);
    border-color: #d1d5db;
}


.no-reservations {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--hh-background-light);
    border-radius: var(--hh-border-radius);
    margin-bottom: 20px;
}
.no-reservations p {
    margin-bottom: 20px;
    color: var(--hh-text-light);
    font-size: 16px;
}
.no-reservations .button {
    background-color: var(--hh-primary-color);
    color: var(--hh-background-white);
    padding: 10px 20px;
    border-radius: var(--hh-border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    display: inline-block;
}
.no-reservations .button:hover {
    background-color: var(--hh-primary-darker);
}

/* Pagination
-------------------------------------------------- */
.pagination {
    margin-top: 40px;
    text-align: center;
}
.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 6px;
}
.pagination li {
    margin: 0;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--hh-border-radius);
    background-color: var(--hh-background-white);
    text-decoration: none;
    color: var(--hh-text-color);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid var(--hh-border-color);
    min-width: 40px;
    text-align: center;
    box-sizing: border-box;
}
.pagination span.current {
    background-color: var(--hh-primary-color);
    color: var(--hh-background-white);
    border-color: var(--hh-primary-color);
    font-weight: 600;
}
.pagination a:hover {
    background-color: var(--hh-background-light);
    border-color: #d1d5db;
    color: var(--hh-primary-color);
}
.pagination span.dots {
    background-color: transparent;
    border: none;
    padding: 8px 0;
}

/* Single Restaurant Details Page Specifics
-------------------------------------------------- */
.happy-hour-restaurant-details-wrapper {
    margin-top: 30px;
}
.happy-hour-restaurant-details-wrapper > h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--hh-text-color);
    font-weight: 700;
}
.happy-hour-restaurant-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}
.happy-hour-restaurant-details > div {
    background-color: var(--hh-background-light);
    border-radius: var(--hh-border-radius);
    padding: 20px;
    font-size: 14px;
}
.happy-hour-restaurant-details h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--hh-primary-color);
}
.happy-hour-restaurant-details p,
.happy-hour-restaurant-details ul {
    margin-bottom: 0;
    color: var(--hh-text-light);
}
.happy-hour-restaurant-details ul {
    padding-left: 20px;
    list-style: disc;
}
.happy-hour-restaurant-details a {
    color: var(--hh-primary-color);
    text-decoration: none;
}
.happy-hour-restaurant-details a:hover {
    text-decoration: underline;
}

.happy-hour-single-filter {
    margin-top: 30px;
    padding: 25px;
    background: var(--hh-background-white);
    border-radius: var(--hh-border-radius);
    box-shadow: var(--hh-shadow);
}
.happy-hour-single-filter h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}
.happy-hour-single-filter form > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.happy-hour-homepage-filter {
    background: linear-gradient(135deg, var(--hh-primary-color), var(--hh-accent-color));
    border-radius: var(--hh-border-radius);
    padding: 40px 30px;
    margin: 40px 0;
    color: var(--hh-background-white);
    box-shadow: var(--hh-shadow-lg);
}

.homepage-filter-container h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-align: center;
    color: var(--hh-background-white);
}

.homepage-filter-container p {
    font-size: 16px;
    text-align: center;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.homepage-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
    max-width: 1000px;
    margin: 0 auto;
}

.homepage-filter-group {
    display: flex;
    flex-direction: column;
}

.homepage-filter-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--hh-background-white);
}

.homepage-filter-group select,
.homepage-filter-group input[type="date"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--hh-border-radius);
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--hh-background-white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 52px;
    box-sizing: border-box;
}

.homepage-filter-group select:focus,
.homepage-filter-group input[type="date"]:focus {
    outline: none;
    border-color: var(--hh-background-white);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.homepage-filter-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
}

.homepage-filter-group select option {
    background-color: var(--hh-background-white);
    color: var(--hh-text-color);
    padding: 10px;
}

.homepage-filter-submit {
    display: flex;
    align-items: flex-end;
}

.homepage-filter-button {
    width: 100%;
    padding: 14px 24px;
    background: var(--hh-background-white);
    color: var(--hh-primary-color);
    border: 2px solid var(--hh-background-white);
    border-radius: var(--hh-border-radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.homepage-filter-button:hover {
    background: transparent;
    color: var(--hh-background-white);
    border-color: var(--hh-background-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.homepage-filter-button .button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.homepage-filter-button:hover .button-icon {
    transform: scale(1.1);
}

.homepage-filter-info {
    margin-top: 25px;
    text-align: center;
}

.homepage-filter-info p {
    font-size: 14px;
    margin: 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--hh-border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Login Required Message
-------------------------------------------------- */
.happy-hour-login-required {
    padding: 30px;
    text-align: center;
    background-color: var(--hh-background-light);
    border: 1px dashed var(--hh-border-color);
    border-radius: var(--hh-border-radius);
}
.happy-hour-login-required p {
    margin-bottom: 20px;
    font-size: 16px;
}
.happy-hour-login-required .button {
    background-color: var(--hh-primary-color);
    color: var(--hh-background-white);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: var(--hh-border-radius);
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.2s;
}
.happy-hour-login-required .button:hover {
    background-color: var(--hh-primary-darker);
}

/* Responsive Adjustments
-------------------------------------------------- */
@media (max-width: 768px) {
    .happy-hour-container {
        padding: 15px;
    }
    .filter-row {
        grid-template-columns: 1fr;
    }
    .restaurants-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-content {
        max-width: 95%;
        margin: 20px auto;
    }
    .modal-body {
        padding: 20px;
    }
    #modal-restaurant-title {
        font-size: 18px;
    }
    .selected-time-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    #modal-discount-badge {
        margin-left: 0;
        margin-top: 5px;
    }
    .reservation-body {
        grid-template-columns: 1fr;
    }
    .reservation-qr-code {
        margin-top: 20px;
    }
    .happy-hour-homepage-filter {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .homepage-filter-container h3 {
        font-size: 24px;
    }
    
    .homepage-filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .homepage-filter-group select,
    .homepage-filter-group input[type="date"],
    .homepage-filter-button {
        padding: 12px 16px;
        height: 48px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .happy-hour-filter {
        padding: 20px;
    }
    .restaurant-info {
        padding: 15px;
    }
    .restaurant-info h3 {
        font-size: 18px;
    }
    .restaurant-meta {
        font-size: 12px;
        gap: 5px 8px;
    }
    .modal-header, .modal-body, .modal-footer {
        padding-left: 15px;
        padding-right: 15px;
    }
    #modal-submit-reservation,
    #modal-show-summary {
        font-size: 15px;
        padding: 10px 15px;
    }
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 32px;
    }
    .happy-hour-homepage-filter {
        padding: 25px 15px;
    }
    
    .homepage-filter-container h3 {
        font-size: 20px;
    }
    
    .homepage-filter-container p {
        font-size: 14px;
    }
    .homepage-filter-button {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
}