/* Restaurant Manager Styles - Dark Mode Compatible */
:root {
    --modal-bg: #fff;
    --modal-text: #000;
}
[data-theme="dark"] {
    --modal-bg: #222;
    --modal-text: #fff;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --modal-bg: #222;
        --modal-text: #fff;
    }
}
.manager-container {
    width: 100%;

    max-width: 500px;
    
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.slideshow-container {
    position: relative;
    scale: 1.1;
        border-radius: 10px;

    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.slide {
    width: 60%;
    max-width: 400px;
    display: none;
    margin: 0 auto;
    height: auto;
 border: 1px solid black;
    border-radius: 10px;}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: auto;
}
.modal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.show::before {
    opacity: 1;
}
.modal.show {
    background-color: rgba(0, 0, 0, 0.7);
}
.modal-content {
    position: relative;
    background-color: var(--modal-bg);
    color: var(--modal-text);
    margin: 5% auto;
    padding: 15px;
    border-radius: 10px;
    width: 95%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    text-align: right;
}
.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}
.close-button {
    background-color: #ff4444;
    border: none;
    color: #000000;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: inherit;
    float: left;
    margin: 10px;
    width: 100px;
    max-width: 70%;
    text-align: center;
    text-decoration: none;
    display: block;
}
.close-button:hover {
    background-color: #ff0000;
}
.menu-image {
    width: 95%;
    height: auto;
    border-radius: 5px;
    margin: 20px auto;
    display: block;
}
#phillyz-manager .menu-image {
    width: 75%;
    margin: 10px auto;
}
.restaurant-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    width: 100%;
}
.map-button {
    background-color: #4285F4;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 16px;
    margin: 10px auto;
    border-radius: 5px;
    width: 200px;
    max-width: 80%;
}
.map-button:hover {
    background-color: #3367d6;
}
.order-now {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 10px auto;
    width: 200px;
    max-width: 80%;
}
.order-now p {
    margin: 0 0 5px 0;
    font-weight: bold;
    font-size: 18px;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    display: block;
}
@media (max-width: 600px) {
    .modal-content {
        padding: 10px;
        width: 90%;
        margin: 10% auto;
    }
    #phillyz-manager .menu-image {
        width: 65%;
    }
    .slideshow-container {
        width: 80%;
      }
    .slide {
        width: 80%;
    }
    .menu-image {
        width: 95%;
        margin: 10px auto;
    }
    .map-button, .order-now {
        width: 80%;
        font-size: 18px;
    }
    .phone-number {
        font-size: 16px;
    }
}
.manager-notice {
    font-size: 0.8rem;
    color: #ffffff;
    margin: 2px 0;
    justify-self: center;
    align-items: center;
    text-align: center;
}
.manager-noticered {
    font-size: 0.8rem;
    color: #ff0000;
    margin: 2px 0;
    justify-self: center;
    align-items: center;
    text-align: center;
}
.manager-notice a {
    color: #2c7be5;
    text-decoration: none;
    font-weight: bold;
    justify-self: center;
    align-items: center;
    text-align: center;
}
.manager-notice a:hover {
    text-decoration: underline;
}
.manager-text-container {
    margin-bottom: 10px;
    padding: 5px;
    background-color: rgb(0 0 0 / 25%);
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.fullscreen-menu-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.fullscreen-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    padding-top: 50px;
}
.fullscreen-menu-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.close-fullscreen {
      background-color: #ff4444;
      border: none;
      color: #000000;
      font-weight: bold;
      font-size: 15px;
      cursor: pointer;
      padding: 10px 20px;
      border-radius: 5px;
      transition: background-color 0.3s;
      font-family: inherit;
      float: inherit;
      justify-self: center;
      margin: 10px;
      width: 100px;
      max-width: 70%;
      text-align: center;
      text-decoration: none;
      display: block;
}
.close-fullscreen:hover {
    background-color: #ff0000;
}
.menu-image {
    cursor: zoom-in;
    transition: transform 0.2s;
}
.menu-image:hover {
    transform: scale(1.02);
}
.manager-section {
    padding: 3px;
    border-radius: 30px;
    width: 82%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.manager-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.manager-separator {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
