/*please update am tired F*/
:root {
    /* Light theme colors */
    --primary-color-light: #3a7ca5;
    --secondary-color-light: #81b0d5;
    --background-color-light: #e6f2f9;
    --text-color-light: #1a3d5c;
    --card-background-light: #dbf2ff;
    --highlight-color-light: #d0e8f2;
    --button-hover-color-light: #9ac2db;
    --header-background-light: linear-gradient(135deg, #3a7ca5, #81b0d5);

    /* Dark theme colors */
    --primary-color-dark: #454545;
    --secondary-color-dark: #818181;
    --background-color-dark: #1a1a1a;
    --text-color-dark: #e6f2f9;
    --card-background-dark: #2c2c2c;
    --highlight-color-dark: #3f3f3f;
    --button-hover-color-dark: #4a4a4a;
    --header-background-dark: linear-gradient(135deg, #474747, #000000);

    /* Default to light theme */
    --primary-color: var(--primary-color-light);
    --secondary-color: var(--secondary-color-light);
    --background-color: var(--background-color-light);
    --text-color: var(--text-color-light);
    --card-background: var(--card-background-light);
    --highlight-color: var(--highlight-color-light);
    --button-hover-color: var(--button-hover-color-light);
    --header-background: var(--header-background-light);
    --card-heading-color: var(--card-heading-color-light);


    /* Other existing variables */
    --modal-background: rgba(0, 0, 0, 0.5);
    --modal-content-background: #ffffff;
    --input-background: #ffffff;
    --input-border: #cccccc;
    --success-color: #4CAF50;
    --error-color: #f44336;

    /* Header colors */
    --header-text-color-light: #ffffff;
    --header-text-color-dark: #e6f2f9;
    
    /* Card and colors */
    --card-heading-color-light: #3a7ca5;
    --card-heading-color-dark: #ffffff;
    --header-text-color: #3a7ca5;
    --heading-color-light: #3a7ca5;
    --heading-color-dark: #ffffff;
}


body.dark-theme {
    --primary-color: var(--primary-color-dark);
    --secondary-color: var(--secondary-color-dark);
    --background-color: var(--background-color-dark);
    --text-color: var(--text-color-dark);
    --card-background: var(--card-background-dark);
    --highlight-color: var(--highlight-color-dark);
    --button-hover-color: var(--button-hover-color-dark);
    --header-background: var(--header-background-dark);
}

body.dark-theme header {
    background: var(--header-background);
    color: var(--header-text-color-dark);
}

body.dark-theme h2,
body.dark-theme h3 {
    color: var(--heading-color-dark);
}

body.dark-theme .shop-card-info h3 {
    color: var(--card-heading-color-dark);
}

.age-verification-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-verification-popup {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.age-verification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.age-verification-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.age-verification-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.age-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.age-verification-buttons button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.age-verification-buttons button#age-over-18 {
    background-color: var(--primary-color);
    color: white;
}

.age-verification-buttons button#age-over-18:hover {
    background-color: var(--secondary-color);
}

.age-verification-buttons button#age-under-18 {
    background-color: var(--highlight-color);
    color: var(--text-color);
}

.age-verification-buttons button#age-under-18:hover {
    background-color: var(--button-hover-color);
}

.age-verification-container.show {
    opacity: 1;
    visibility: visible;
}

.settings-option.age-over-18 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-option.age-over-18 label {
    color: var(--text-color);
}

.settings-option.age-over-18 input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 0.5rem;
}

.apply-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.schedule-title-container {
    flex-grow: 1;
}


.splash-content {
    text-align: center;
}

.splash-logo {
    width: 150px;
    margin-bottom: 20px;
}

.splash-loading {
    width: 200px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    overflow: hidden;
}

.splash-loading-bar {
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

.hide-splash {
    opacity: 0;
    visibility: hidden;
}

.link-preview {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    margin: 20px auto;
    background-color: white;
}

.preview-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.preview-content {
    padding: 15px;
    flex-grow: 1;
}

.preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.preview-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.preview-title {
    margin: 0;
    font-size: 18px;
}

.preview-time, .preview-tags {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.settings-option input[type="color"] {
    height: 40px;
    cursor: pointer;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Kanit', sans-serif;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-image 0.5s ease-in-out;
}

header {
    background: var(--header-background);
    color: var(--header-text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header h1 {
    transition: transform 0.3s ease;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin: 0;
}

header h1:hover {
    transform: scale(1.05);
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.random-shop {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.random-shop-card {
    transition: opacity 0.5s ease-in-out;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-size: cover;
    background-position: center;
    height: 250px;
}


.random-shop-card.fade-out {
    opacity: 0;
}

.random-shop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.random-shop-content {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
}

.random-shop-image {
    height: 100%;
    object-fit: cover;
}

.random-shop-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.random-shop-info h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.random-shop-info p {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.random-shop-info .details-btn {
    align-self: flex-start;
}

.random-shop-card h3 {
    color: white;
    margin-top: 0;
}

.random-shop-card h3 .shop-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.8;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}

.dark-theme .theme-toggle {
    color: var(--text-color);
}

.dark-theme header {
    background-color: var(--background-color);
}

.dark-theme header::before {
    opacity: 0.6;
    background: linear-gradient(45deg, var(--primary-color), var(--background-color));
}

.dark-theme header h1 {
    color: var(--text-color);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.current-shops {
    transition: all 0.3s ease;
}

.current-shops.no-shops {
    max-height: 300px;
    overflow: hidden;
}

.no-shops-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    border-radius: 10px;
    padding: 20px;
    grid-column: 1 / -1;
    margin: auto;
    max-width: 80%;
}

.no-shops-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.no-shops-message p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.no-shops-message p:last-child {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.current-shops, .schedule {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-shop-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.featured-shop {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 1rem;
    cursor: pointer;
}

.featured-shop-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem;
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
}

.featured-shop .shop-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 1rem;
}

.featured-shop h3, .featured-shop p {
    margin: 0.2rem 0;
}

.featured-shop .details-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

@keyframes featuredShopChange {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.featured-shop-change {
    animation: featuredShopChange 0.5s ease-out;
}

.other-shops-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
}

.shop {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    width: 250px;
    height: 150px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.shop:hover {
    transform: scale(1.05);
}

.shop-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    color: white;
}

.shop-info {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.5rem;
    border-radius: 5px;
}

.shop .shop-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.shop .shop-time {
    font-size: 0.9rem;
}

.shop .details-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
    align-self: flex-end;
}

.shop:hover .details-btn {
    opacity: 1;
}

h1 {
    color: var(--header-text-color-light);
}

h2 {
    color: var(--header-text-color);

    margin-bottom: 1rem;
    font-size: 1.8rem;
}

h3 {
    color: var(--heading-color-light);
    font-size: 1.4rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.details-btn {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.details-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.close {
    color: var(--text-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    text-decoration: none;
}


pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    margin: 0;
}

.shop-promote {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.info-value {
    display: block;
}

.info-value.description {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 5px;
}

.info-separator {
    height: 1px;
    background-color: var(--secondary-color);
    opacity: 0.3;
    margin: 15px 0;
}

.status-open {
    color: #4CAF50;
}

.status-closed {
    color: #F44336;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    margin-left: 10px;
}


.discord-btn {
    background-color: #7289DA;
    color: white;
}

.vrchat-btn {
    background-color: #005FCC;
    color: white;
}

.tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9em;
    padding: 2px 6px;
    border-radius: 4px;
}


.shop-promote:hover {
    transform: scale(1.05);
}

.image-zoom-modal {
    display: flex;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.zoomed-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-zoom {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.slide-out {
    animation: slideOut 0.5s forwards;
}

.slide-in {
    animation: slideIn 0.5s forwards;
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.schedule {
    overflow-x: auto;
}

.schedule-day {
    margin-bottom: 1rem;
}

.schedule-day h3 {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    margin: 0;
    border-radius: 5px 5px 0 0;
}

.schedule-shops {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: var(--card-background);
    border-radius: 0 0 5px 5px;
}


.schedule-shop {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 150px;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: background-color 0.3s ease;
}

.dark-theme .schedule-shop {
    background-color: var(--highlight-color);
}

.schedule-shop.shop-closed {
    opacity: 0.6;
}

.schedule-shop a {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
}

.schedule-shop .shop-icon {
    width: 30px;
    height: 30px;
    margin-right: 0.5rem;
}

.schedule-shop .shop-name {
    flex: 1;
    font-weight: bold;
}

.schedule-shop .shop-time {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.contact-panel {
    position: fixed;
    right: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background-color: var(--card-background);
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
}

.contact-panel.open {
    right: 0;
}

.contact-toggle {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 10px 0 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
}

.contact-content {
    padding: 20px;
    text-align: center;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.contact-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-content p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.contact-btn i {
    margin-right: 8px;
}

.schedule-title {
    margin-bottom: 1rem;
}

.schedule-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.day-filter-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    background-color: var(--card-background);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.day-filter-btn:hover,
.day-filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}


.schedule-title h2 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1;
}

.schedule-logo {
    height: 1.8rem;
    width: auto;
}

.schedule-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-logo {
    width: 30px;
    height: auto;
}

.tag-filter-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.tag-filter-icon:hover {
    transform: scale(1.1);
}

.tag-filter-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.tag-filter-popup.show {
    display: flex;
    justify-content: center;
    align-items: center;
}


.tag-filter-content {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
}


body.dark-theme .tag-filter-content {
    background-color: rgba(30, 30, 30, 0.95);
}

.tag-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}


.tag-btn {
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    background-color: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-btn.active {
    background-color: var(--primary-color);
    color: white;
}



#apply-filter {
    width: 100%;
    max-width: 200px; 
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

#apply-filter:hover {
    background-color: var(--secondary-color);
}

#apply-filter:hover {
    background-color: var(--secondary-color);
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.admin-modal-content {
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
}

.admin-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}


.admin-input {
    margin-bottom: 1rem;
}
.admin-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
}
.admin-input input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 2px solid var(--secondary-color);
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.admin-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

#admin-login {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

#shop-info {
    margin-bottom: 1rem;
}
#shop-info .shop-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}
#toggle-shop-status {
    display: block;
    width: 100%;
}

.admin-input label {
    display: block;
    margin-bottom: 0.5rem;
}

.admin-input input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid var(--secondary-color);
    box-sizing: border-box;
}

.admin-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.remember-password-container {
    display: flex;
    align-items: center;
}

.schedule-shop, .shop-card, .featured-shop, .shop {
    transition: opacity 0.3s ease-in-out;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.remember-password-container input {
    margin-right: 5px;
}

#admin-login {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

.shop-info-panel {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.admin-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.admin-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
.admin-btn:hover {
    background-color: var(--secondary-color);
}

#admin-submit {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

.settings-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.settings-footer .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.settings-row .contact-btn {
    background-color: rgb(169 224 255);
}

.settings-row .contact-btn:hover {
    background-color: var(--primary-color);
}

/* Dark theme styles for settings row */
body.dark-theme .settings-row .contact-btn {
    background-color: rgba(169, 224, 255, 0.2);
    color: var(--text-color);
}

body.dark-theme .settings-row .contact-btn:hover {
    background-color: rgba(169, 224, 255, 0.3);
}

.contact-btn.discord {
    background-color: #5865F2;
}

.contact-btn.discord:hover {
    background-color: #4752C4;
}

.settings-row .contact-btn {
    background-color: var(--primary-color);
}

.settings-row .contact-btn:hover {
    background-color: var(--secondary-color);
}

.settings-modal-content {
    max-width: 600px;
    width: 90%;
    margin: 5% auto;
    padding: 20px;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.settings-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


#save-settings {
    background-color: var(--primary-color);
    color: white;
}

#reset-colors {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

body.dark-theme #save-settings {
    background-color: var(--primary-color-dark);
}

body.dark-theme #reset-colors {
    background-color: var(--secondary-color-dark);
}

#save-settings:hover {
    background-color: var(--button-hover-color);
    transform: translateY(-2px);
}

body.dark-theme #save-settings:hover {
    background-color: var(--primary-color);
}

#reset-colors {
    background-color: rgb(163 209 237);
    color: var(--text-color);
    min-width: 50px;
    display: block;
    margin-top: 1rem;
}

body.dark-theme #reset-colors {
    background-color: rgb(73 73 73);
    color: white;
}

#reset-colors:hover {
    opacity: 0.9;
}

.settings-footer .btn:hover {
    opacity: 0.9;
}

.settings-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.settings-option label {
    font-weight: bold;
    color: var(--primary-color);
}

.settings-option select,
.settings-option input[type="color"] {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--secondary-color);
    background-color: var(--background-color);
    color: var(--text-color);
}

.shop-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    border-radius: 15px;
}

#weekly-shops {
    margin-top: 1rem;
}

.shop-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 0.2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.shop-card.shop-closed {
    opacity: 0.6;
    background-color: rgba(0, 0, 0, 0.05);
}

body.dark-theme .shop-card {
    background-color: var(--highlight-color);
}

body.dark-theme .shop-card.shop-closed {
    background-color: rgba(255, 255, 255, 0.05);
}

body:not(.dark-theme) .shop-card {
    background-color: white;
}

.shop-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}


.shop-card-info {
    text-align: center;
    width: 100%;
}

.shop-card-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--card-heading-color-light);
}

.shop-card-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 1rem;
    }

    .theme-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .schedule-filters {
        width: 100%;
        margin-top: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .schedule-filters::-webkit-scrollbar {
        display: none;
    }

    .day-filter-btn {
        flex: 0 0 auto;
        min-width: max-content;
    }

    .day-filter-btn:last-child {
        margin-right: 0;
    }

    .schedule-title-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .schedule-header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .tag-filter-icon {
        align-self: flex-end;
        margin-left: 10px;
        margin-top: 0;
    }

    .modal-images .shop-image {
        width: calc(50% - 10px);
    }

    .shop-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        padding: 1rem;
    }

    .modal-content-wrapper {
        flex-direction: row;
    }

    .modal-image-container {
        width: 40%;
        height: auto;
        margin-right: 20px;
        margin-bottom: 0;
    }

    .modal-info {
        width: 60%;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body p {
        font-size: 1rem;
    }

    .modal-body .btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    header {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .featured-shop-container {
        height: 250px;
    }

    .featured-shop-info {
        width: 100%;
        padding: 0.5rem;
    }

    .featured-shop .details-btn {
        display: none;
    }

    .featured-shop {
        position: relative;
    }

    .featured-shop::after {
        content: '\f054';
        font-family: 'Font Awesome 5 Free', serif;
        font-weight: 900;
        position: absolute;
        right: 1rem;
        bottom: 1rem;
        color: white;
        font-size: 1.5rem;
        opacity: 0.8;
    }

    .other-shops-container {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .shop {
        flex: 0 0 auto;
        width: 200px;
        height: 120px;
        margin-right: 1rem;
    }

    .shop:last-child {
        margin-right: 0;
    }

    .shop-content {
        justify-content: flex-end;
    }

    .shop-info {
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
    }

    .shop .details-btn {
        opacity: 1;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .schedule-shops {
        flex-direction: column;
    }

    .schedule-shop a {
        flex-wrap: wrap;
        padding: 10px;
    }

    .schedule-day {
        margin-bottom: 20px;
    }

    .day-filter-btn {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .schedule-day h3 {
        font-size: 1.2rem;
        padding: 10px;
    }

    .schedule-shop .shop-time {
        width: 100%;
        text-align: left;
        font-size: 0.9rem;
        color: var(--secondary-color);
        margin-top: 5px;
    }

    .schedule-shop .shop-name {
        flex: 1;
        font-size: 1rem;
        margin-bottom: 5px;
    }


    .schedule-shop .shop-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .schedule-shop {
        flex: 1 1 100%;
        margin-bottom: 10px;
        border: 1px solid var(--secondary-color);
        border-radius: 8px;
    }

    .contact-panel {
        width: 250px;
        right: -250px;
    }

    .modal-content {
        width: 95%;
        max-width: 600px;
        padding: 20px;
    }

    .shop-promote {
        max-height: 300px;
    }

    .random-shop-content {
        flex-direction: column;
    }

    .random-shop-card {
        height: auto;
        min-height: 250px;
    }

    .random-shop-info {
        width: 100%;
        padding: 1rem;
    }

    .random-shop-image {
        width: 100%;
    }

    .random-shop-info p {
        -webkit-line-clamp: 2;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .schedule-title {
        margin-right: auto;
    }

}

@media (max-width: 480px) {
    .featured-shop-description {
        max-height: 3.6em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .schedule-shop .shop-icon {
        width: 30px;
        height: 30px;
    }

    .shop-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        padding: 0.5rem;
    }

    .shop-card {
        width: 100%;
    }

    .schedule-title h2 {
        font-size: 1.5rem;
    }

    .schedule-logo {
        height: 1.5rem;
    }

    .schedule-title {
        gap: 5px;
    }

    .featured-shop-container {
        height: 200px;
    }

    .featured-shop h3 {
        font-size: 1.2rem;
    }

    .featured-shop p {
        font-size: 0.9rem;
    }

    .shop {
        width: 160px;
        height: 100px;
    }

    .shop-info {
        font-size: 0.8rem;
    }

    .shop .shop-icon {
        width: 20px;
        height: 20px;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .schedule-shop a {
        flex-wrap: wrap;
    }

    .schedule-shop .shop-name {
        font-size: 0.9rem;
    }

    .schedule-shop .shop-time {
        font-size: 0.8rem;
    }

    .schedule-day h3 {
        font-size: 1.1rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }

    .day-filter-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}