:root {
    --bg-light-gray: #f4f4f7;
    --header-bg: #6ab0e9;
    --footer-bg: #4a90e2;
    --text-color: #333333;
    --text-color-light: #aaa;
    --text-color-gray: #666666;
    --text-color-dark: #000000;
    --color-orange: #f5a623;
    --color-orange-dark: #e69515;
    --color-orange-price: #ff6600;
    --color-gold: gold;
    --color-green: #27ae60; 
    --color-green-dark: #00813f;
    --color-white: white; 
    --color-warning-light: #ff4d4d;
    --color-warning: #ff0000;
    --color-warning-dark: #cc0000;
    --color-links-default: #007bff;
    --color-links-hover: #0056b3;
    --color-links-active: #004085;

    --menu-header-bg: #6ab0e9;
    --menu-bg: #4a90d9;
    --menu-hover: #377bb5;
    --max-width: 1200px;
    --container-padding: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-light-gray);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Buttons */
.default-button {
    background-color: var(--color-links-default);
    color: var(--color-white);
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease-in-out; 
}

.default-button:hover {
    background-color: var(--color-links-hover);
}

.warning-button {
    width: 100%;
    padding: 12px;
    background: var(--color-warning-light);
    color: var(--color-white);
    border: none;
    font-size: 16px;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.warning-button:hover {
    background: var(--color-warning);
}

a.whatsapp-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    background-color: var(--color-green-dark);
    color: var(--color-white);
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 300px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    font-size: 18px;
}

a.whatsapp-btn:hover {
    background-color: var(--color-green); 
}
  
a.whatsapp-btn .gb-icon svg {
    width: 1.3em;
    height: 1.3em;
    margin-right: 3px;
}
  

/* Links */
.blue-links {
    color: var(--color-links-default);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.blue-links:hover {
    color: var(--color-links-hover);
    text-decoration: underline;
}

.warning-link {
    color: var(--color-warning);
    text-decoration: none;
    font-size: 16px;
}

.warning-link:hover {
    text-decoration: underline;
}

.text-decoration-none {
    text-decoration: none;
}    
/* End Links */

/* Common styles */
.news {
    display: block;
    line-height: 1.5;
    font-size: 16px;
}

.news .listing-action-item-icon {
    display: inline-block;
    vertical-align: middle;
}

.news .listing-action-item-icon svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.news .news-text {
    display: inline;
    margin-top: 2px;
    position: relative;
    top: 2px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.ml-40 {
    margin-left: 40px;
}

.text-gray-dark {
    color: var(--text-color-gray);
}

.title-center-green {
    color: var(--color-green);
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.listing-title-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.listing-title-price-row h3 {
    margin: 0;
    flex: 1;
    font-size: 0.95em;
}

.listing-price {
    font-weight: bold;
    color: var(--color-orange-price);
    margin-left: 15px;
    margin-right: 10px;
    white-space: nowrap;
    font-size: 1.2em;
}

.listing-button-container {
    text-align: center;
    margin: 30px 0;
}

.listing-button-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-orange-price);
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.listing-button-orange:hover {
    background-color: var(--color-orange);
}

.listing-button-orange svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.highlight {    
    background-color: var(--color-orange);
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: 5px;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--color-white);
    padding: 5px 10px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.messages {
    max-width: 600px;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.message {
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.title-container {
    margin-top: 20px;
    text-align: center;
}

.text-container {
    margin-top: 40px;
    text-align: left;
}

.input-field {
    font-size: 18px;
    padding: 10px 15px;
    width: 100%;
    border: 1px solid var(--text-color-light);
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.input-field:focus {
    border-color: var(--color-links-default);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.green-title {
    color: var(--color-green);
    font-size: 22px;
    margin-bottom: 10px;
    text-align: center;
}

.section-in-progress {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 5px solid #ffa500;
    border-radius: 5px;
}

.section-in-progress h3 {
    color: #ff4500;
}

.section-in-progress p {
    color: #333;
}

.background-color-default {
    background-color: var(--color-links-default);
}

.background-color-default:hover {
    background-color: var(--color-links-hover);
}

.background-color-success {
    background-color: var(--color-green);
}

.background-color-success:hover {
    background-color: var(--color-green-dark);
}

.background-color-warning {
    background-color: var(--color-warning);
}

.background-color-warning:hover {
    background-color: var(--color-warning-dark);
}

.background-color-orange {
    background-color: var(--color-orange);
}

.background-color-orange:hover {
    background-color: var(--color-orange-dark);
}

.bg-white { background: var(--color-white); }

.bg-light { background: var(--bg-light-gray); }

.link-color-default {
    color: var(--color-links-default);
    text-decoration: none;
}

.link-color-default:hover {
    color: var(--color-links-hover);
    text-decoration: underline;
}

.link-color-success {
    color: var(--color-green);
    text-decoration: none;
}

.link-color-success:hover {
    color: var(--color-green-dark);
    text-decoration: underline;
}

.link-color-warning {
    color: var(--color-warning);
    text-decoration: none;
}

.link-color-warning:hover {
    color: var(--color-warning-dark);
    text-decoration: underline;
}

/* End common styles */
/* Header Styles */
.header-wrapper {
    width: 100%;
    background-color: var(--header-bg);
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.header-nav {
    display: flex;
    gap: 1rem;
}

.header-nav a {
    color: var(--color-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.header-nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

.main-wrapper {
    width: 100%;
    flex-grow: 1;
}

.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 15px;
}

.promo-container {
    background-color: antiquewhite;
    text-align: center;
    margin: 40px 0;
}

/* Footer Styles */
.footer-wrapper {
    width: 100%;
    background-color: var(--footer-bg);
    color: var(--color-white);
}

.footer-copyright {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: left;
    padding: 1rem 15px;
    grid-column: 1 / -1;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: left;
    padding: 2rem 15px;
}

.footer-content a {
    color: var(--color-white);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.footer-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
/* End Footer Styles */

/* Home Page Specific Styles */
.category-gallery-container {
    display: grid;
    gap: 15px;
    margin-top: 20px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.category-item {
    position: relative;
    text-align: center;
    margin: 10px;
    border-radius: 8px;
    transition: transform 0.3s;
    overflow: hidden;
}

.category-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s;
    pointer-events: none;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item:hover::after {
    opacity: 0;
}

.category-item img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 5px;
    display: block;

    margin: 0 auto;

}
/* End Home Page Styles */

/* Menu Styles */
.header-nav {
    background: var(--header-bg);
    padding: 10px;
    text-align: center;
    position: relative;
}

.menu-container {
    position: relative;
}

.menu-icon {
    display: block;
    font-size: 34px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.menu {
    display: none;
    flex-direction: column;
    background: var(--menu-bg);
    width: 100%;
    min-width: 300px;
    padding: 10px 0;
    position: absolute;
    top: 50px;
    z-index: 9999;
}

.menu-item {
    text-align: center;
    margin: 0;
    list-style: none;
}

.menu-item:not(:last-child) {
    border-bottom: 1px solid var(--menu-hover);
}

.menu-item a {
    text-decoration: none;
    color: var(--color-white);
    display: block;
    font-weight: bold;
}

.menu-item.selected a {
    background-color:  var(--menu-hover);
    color: var(--text-color);
}

.menu-item:hover .submenu {
    display: block;
}

.menu-link-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.icon-svg svg {
    display: block;
    fill: white;
}

.menu-text {
    font-size: 16px;
}

.menu-container {
    position: absolute;
    left: -240px;
    transition: left 0.3s ease;
}

.menu.active {
    left: 0;
    display: block;
}
/* End Menu Styles */

/* Category Detail Styles */
.title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title-text h1 {
    font-size: 32px;
    font-weight: bold;
    margin-right: 20px;
}

/* Filter style */
.filter-container {
    display: flex;
    justify-content: center; 
    align-items: center;
}

#filter-form label {
    font-size: 22px; 
    font-weight: 600;
    text-decoration: underline;
    margin-right: 5px;
}

#filter-form select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--menu-hover);
    border-radius: 5px;
    background-color:  var(--menu-bg);
    width: 200px;
    cursor: pointer;
    color:  var(--color-white);
}

#filter-form select option:disabled {
    background-color: var(--bg-light-gray);
    color: var(--text-color-light);
}

#filter-form select:hover {
    background-color:  var(--menu-bg);
}
/* End Filter Styles */

/* Listing list style cards */
.listings-grid {
    display: grid;
    gap: 25px;
    padding: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
}

.listing-item {
    position: relative;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-item h3 {
    font-size: 22px;
    font-weight: 600;
    padding: 10px;
    margin: 0;
}

.listing-item p {
    font-size: 16px;
    padding: 0 10px 10px;
    margin: 0;
    flex-grow: 1;
}

.listing-tags {
    margin-top: 5px;
    margin-bottom: 5px;    
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    margin: 3px 5px;    
    border-radius: 4px;
    background-color: var(--bg-light-gray);
    color: var(--text-color);    
}

.tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.tag-name {
    font-size: 14px;
}

.listing-actions {
    margin-top: 5px;
    margin-bottom: 5px;    
}

.listing-event-actions {
    margin-top: 2px;
    margin-bottom: 2px;    
}

.listing-action-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    margin: 3px 5px;    
    border-radius: 4px;
    background-color: var(--bg-light-gray);
    color: var(--color-green-dark);    
}

.listing-action-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.listing-action-item-name {
    font-size: 14px;
}
/* End Listing list style cards */

/* Menu listings styles */
.menu-listings {
    width: 100%;
    margin: 0 auto;
}

.menu-listing-row {
    display: flex;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid #eee;
}

.menu-listing-thumb {
    flex: 0 0 120px;
    margin-right: 20px;
}

.menu-listing-thumb img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.menu-listing-info {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 5%;
}

.menu-listing-info h3 {
    margin: 0 0 8px 0;
    font-size: 1em;
}

.menu-listing-info p {
    font-size: 0.9em;
}

.menu-listing-action {
    flex: 0 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* End Menu listings styles */

/* Listing detail styles */
.action-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.box {
    color: var(--color-white);
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    display: inline-block;
    transition: background-color 0.3s ease-in-out;
}

.action-link {
    color: var(--color-white);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.action-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.breadcrumb {
    padding: 20px 20px 10px 0;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    display: inline-block;
}

.listing-detail-title {
    margin-top: 20px;
}

.listing-detail-short-description {
    font-size: 18px;
    padding: 10px 0;
    margin: 0;
}

.contact-info {
    border: 1px solid #ddd; /* Border discret în jurul întregului div */
    padding: 20px; /* Padding pe toate laturile */
    margin-top: 20px;
    margin-bottom: 20px; /* Adăugăm și un margin-bottom pentru a crea distanță față de alte elemente */
    border-radius: 10px; /* Opțional, pentru a rotunji colțurile */
    background-color: #fff; /* Asigurăm că fundalul rămâne alb */
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.contact-items {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 1rem;
    color: #555;
    border-bottom: 1px solid #ddd;
}

.contact-item:nth-child(odd) {
    background-color: #f9f9f9; /* Fundal gri deschis pentru rândurile impare */
}

.contact-item:nth-child(even) {
    background-color: #fff; /* Fundal alb pentru rândurile pare */
}

.contact-item strong {
    font-weight: bold;
    color: #333;
    width: 150px; /* Lățimea etichetei pentru a le face toate la fel */
}

.contact-item span {
    margin-left: 10px; /* Lăsăm un spațiu mic între etichetă și valoare */
}

.listing-detail-tags {
    margin-top: 10px;
    margin-bottom: 10px;    
}

.listing-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    margin: 3px 5px;    
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--text-color);    
}

.listing-detail-tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.listing-detail-tag-name {
    font-size: 16px;
}

.listing-detail-info {
    margin-top: 20px;
    margin-bottom: 20px; 
    width: 100%;   
}

.listing-detail-info iframe {
    margin-top: 20px;
    height: auto;
    aspect-ratio: 16 / 9;
}

.share-event {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 5px;
}

.share-event input[type="text"] {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.95em;
    background: #f9f9f9;
    color: #222;
    transition: border 0.2s, box-shadow 0.2s;
    width: 60%;
    outline: none;
}

.share-event input[type="text"]:focus {
    border: 1.5px solid #4f8cff;
    box-shadow: 0 0 0 2px #e3f0ff;
    background: #fff;
}

.share-event button {
    background-color: var(--color-links-default);
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.share-event button:hover {
    background-color: var(--color-links-hover);
}

.share-event span {
    font-size: 1.08em;
    padding-left: 6px;
}

.listing-score {
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    display: flex;
    align-items: center;
}

.popularity-bar-wrapper {
    width: 120px;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-left: 10px;
}

.popularity-bar {
    height: 100%;
    border-radius: 10px 0 0 10px;
    transition: width 0.4s ease;
    background-color: var(--color-warning);
}

.popularity-low    { background-color: var(--color-warning); }
.popularity-medium { background-color: var(--color-orange-dark); }
.popularity-good   { background-color: var(--color-gold); }
.popularity-high   { background-color: var(--color-green); }


.listing-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

/* End Listing detail styles */

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: var(--color-white);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--text-color-light);
    width: 80%;
}

.close {
    color: var(--text-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--text-color-dark);
    text-decoration: none;
    cursor: pointer;
}
/* End Modal styles */

/* Form styles */
.form-control {
    max-width: 600px;
    width: 90%;
    margin: 20px auto 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-control label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

.form-control input,
.form-control textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid var(--text-color-light);
    border-radius: 4px;
    font-size: 16px;
    display: block;
}

.form-control textarea {
    min-height: 120px;
    resize: vertical;
}

.form-control select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid var(--text-color-light);
    border-radius: 4px;
    font-size: 16px;
    display: block;
    background-color: var(--color-white);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.form-group.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #007bff;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.form-group.checkbox label:hover {
    text-decoration: underline;
}

.required {
    color: var(--color-warning);
    font-weight: bold;
}

.form-note {
    font-size: 14px;
    color: var(--text-color);
    margin-top: 5px;
    margin-top: 10px;
}

.form-errors {
    color: var(--color-warning);
    font-size: 14px;
    margin-top: 5px;
}
/* End form styles */

/* Modal styles */
/* === Modal Generic Styles === */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal .close {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/* === Specific Modal: Terms === */
.modal.modal-terms {
    z-index: 10001; /* dacă vrei peste alte modaluri eventual */
}

.modal.modal-terms .modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.modal.modal-terms .modal-body {
    padding: 10px 0;
}

/* === Link/button pentru deschidere === */
.terms-link {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font: inherit;
}

.terms-link:hover {
    text-decoration: none;
}
/* End modal styles */

/* Pages styles */
.section {
    margin: 20px 0;
    padding: 20px;
}

.last-updated {
    font-size: 16px;
    color: var(--text-color-light);
    margin-top: 5px;
}
/* End pages styles */

/* Agency styles */
.agency-block {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 2rem;
}

.agency-white {
    background-color: #ffffff;
}

.agency-grey {
    background-color: #f5f5f5;
}

.agency-divider {
    border-bottom: 1px solid #ddd;
    margin-top: 1rem;
}

.agency-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.agency-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.agency-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.agency-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.agency-address {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.agency-address {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.1rem;
}

.agency-phone {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.agency-website {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.agency-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}

.agency-link:hover {
    background-color: #0056b3;
}
/* End agency styles */

/* Auth styles */
.auth-container {
    margin-top: 20px;
}

.auth-container h2 {
    margin-bottom: 20px;
    text-align: center;
}
.auth-form {
    background-color: var(--container-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/* End auth styles */

/* Dashboard styles */
.dashboard-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-button {
    text-decoration: none;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-align: center;
}

.dashboard-button:first-child {
    margin-left: 0;
}

.dashboard-button.active {
    background: var(--color-warning);
}

.dashboard-listings {
    margin-top: 20px;
}
/* End dashboard styles */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #00813f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    padding-top: 10px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    opacity: 0.8;
}

.back-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        padding: 20px;
    }

    .title-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .title-text h1 {
        margin-right: 0;
        margin-bottom: 10px;
    }  
    
    .listing-detail-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .listing-detail-short-description {
        text-align: center;
    }    

    .listing-detail-info iframe {
        margin-top: 10px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-copyright {
        text-align: center;
    }    
}

@media (max-width: 480px) {

    .header-logo {
        width: 260px;
        height: auto;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 15px;
    }   

    .menu-listing-row {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 2px;
        text-align: center;
    }

    .menu-listing-thumb {
        margin: 0 auto 10px auto;
        flex: none;
        width: 160px;
        max-width: 100%;
    }

    .menu-listing-thumb img {
        width: 100%;
        height: auto;
        max-width: 240px;
        margin: 0 auto;
    }

    .menu-listing-info {
        margin-bottom: 10px;
        padding-right: 0;
    }

    .menu-listing-action {
        flex: none;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 0;
        display: flex;
    }
}
