/* Footer Override CSS - Loaded after theme CSS */

/* Only apply footer styles to documentation pages (book theme) */
.book-page {
    min-height: 100vh !important; /* Force full viewport height */
    display: flex !important;
    flex-direction: column !important;
}

/* Footer styling - only for book theme pages */
.book-page .book-footer {
    position: relative !important;
    clear: both !important;
    margin: 0 !important; /* Force all margins to 0 to override any negative margins */
    margin-bottom: calc(0 * var(--global-margin)) !important; /* Keep bottom margin for spacing */
    order: 999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding-top: calc(0 * var(--global-margin));
    z-index: 1000 !important;
    flex-shrink: 0 !important; /* Prevent shrinking */
    left: 0 !important; /* Ensure it's not positioned off-screen */
    right: 0 !important; /* Ensure it spans the full width */
    transform: none !important; /* Remove any transforms that might cause positioning issues */
}

/* Footer container - only for book theme pages */
.book-page .footer-container {
    width: 100vw !important;
    max-width: 100vw !important;
    background-color: #000 !important;
    margin: 0 !important; /* Force all margins to 0 to override any negative margins */
    margin-left: calc(50% - 50vw) !important; /* Break out of container to full viewport width */
    margin-right: calc(50% - 50vw) !important; /* Break out of container to full viewport width */
    margin-top: 0 !important; /* Explicitly force top margin to 0 */
    margin-bottom: 0 !important; /* Explicitly force bottom margin to 0 */
    position: relative !important;
    z-index: 1000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    left: 0 !important; /* Ensure it's not positioned off-screen */
    right: 0 !important; /* Ensure it spans the full width */
    transform: none !important; /* Remove any transforms that might cause positioning issues */
    box-sizing: border-box !important;
}

/* Force flexbox layout - only for book theme pages */
.book-page .footer-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 calc(1 * var(--global-margin)) !important; /* Add padding for content inside the black footer */
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0vw !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
}

/* Logo section - only for book theme pages */
.book-page .footer-logo {
    flex: 0 0 120px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.book-page .logo-image {
    max-width: 98%;
    height: auto !important;
    object-fit: contain !important;
    padding-bottom: calc(0 * var(--global-margin));
}

/* footer_new_container style section */

.book-page .footer_new_container {
    flex: 1 1 auto !important;
    margin: 0 !important;
    margin-top: calc(15 * var(--global-margin)) !important;
    margin-bottom: calc(7 * var(--global-margin)) !important;
    margin-left: calc(0 * var(--global-margin)) !important;
    width: auto !important;
    --footer-logo-offset: clamp(70px, 16vw, 150px);
}

/* Stack logo + caption vertically in column 1 */
.book-page .footer_new_container .col-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
  }
  
  /* Optional caption styling */
  .book-page .footer_new_container .footer-logo-caption {
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.85;
  }


/* Footer logo in the new block: top-left alignment + border */
.book-page .footer_new_container .col-1 {
    display: flex;
    align-items: flex-start;   /* top of column */
    justify-content: flex-start; /* left of column */
  }
  
  .book-page .footer_new_container .footer_new.title1 {
    margin-top: 0;
    margin-left: 0;
  }
  
  .book-page .footer_new_container .footer-logo {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 0 0 auto !important;   /* use natural width */
  }
  
  .book-page .footer_new_container .footer-logo .logo-image {
    width: 80px;                /* adjust as needed */
    max-width: 100px;
    height: auto;
    padding-top: calc(27 * var(--global-margin)) !important;
    display: block;
  }
.book-page .footer_new_container .footer-address {
    margin-top: auto;
    max-width: 230px;
    line-height: 1.4;
    opacity: 0.8 !important;
}

.book-page .footer_new_container .footer-address .footer-cta {
    padding: 0;
    margin-top: 0;
    display: inline-block;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.book-page .footer_new_container .footer-address .footer-cta:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.05);
}

  
  /* Optional: left-only border instead of full border */
  .book-page .footer_new_container .footer-logo.border-left {
    border: none;
    border-left: 3px solid rgba(255,255,255,0.5);
    padding-left: 10px;
  }
/* Main content section - only for book theme pages */
.book-page .footer-main {
    flex: 1 !important;
    min-width: 300px !important;
    color: white !important;
}

.book-page .footer-title {
    margin-bottom: 40px !important;
}

.book-page .main-title {
    font-size: 0.9rem; 
    font-weight: 500 !important;
    opacity: 1 !important;
    margin: 0 0 0 0 !important;
    line-height: 1.1 !important;
    color: white !important;
}

.book-page .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem) !important;
    font-weight: 300 !important;
    margin: 0 !important;
    opacity: 0.8 !important;
    color: white !important;
}
.book-page .subtitle2 {
    font-size: clamp(0.7rem, 0.9vw, 1rem) !important;
    font-weight: 400 !important;
    margin-bottom: 0.2rem !important;
    margin-top: 0rem !important;
    opacity: 1 !important;
    line-height: 1.5 !important;
    opacity: 0.8 !important;
    color: white !important;
}
/* Newsletter section - only for book theme pages */
.book-page .newsletter-section {
    margin-top: 40px !important;
}

.book-page .newsletter-title {
    font-size: 1.2rem !important;
    margin: 0 0 10px 0 !important;
    opacity: 0.9 !important;
    color: white !important;
}

.book-page .newsletter-description {
    font-size: 0.9rem !important;
    margin: 0 0 20px 0 !important;
    opacity: 0.8 !important;
    line-height: 1.4 !important;
    color: white !important;
}

.book-page .newsletter-form {
    display: flex !important;
    gap: 10px !important;
    max-width: 400px !important;
    flex-wrap: wrap !important;
}

.book-page .newsletter-input {
    flex: 1 !important;
    min-width: 200px !important;
    padding: 12px 15px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    outline: none !important;
}

.book-page .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.book-page .newsletter-button {
    padding: 12px 20px !important;
    background-color: white !important;
    color: black !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    white-space: nowrap !important;
}

.book-page .newsletter-button:hover {
    background-color: #f0f0f0 !important;
}

.book-page .newsletter-message {
    margin-top: 10px !important;
    font-size: 14px !important;
    display: none !important;
}

/* Contact section - only for book theme pages */
.book-page .footer-contact {
    flex: 0 0 250px !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding-bottom: calc(1 * var(--global-margin));
}

.book-page .contact-title, .book-page .social-title {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    margin: 0 0 15px 0 !important;
    color: white !important;
}

.book-page .contact-info p {
    font-size: 1rem !important;
    margin: 0 0 8px 0 !important;
    opacity: 0.9 !important;
    line-height: 1.4 !important;
    color: white !important;
}

.book-page .social-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.book-page .social-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Special handling for galeria.md page only - ensure article expands to contain all absolutely positioned images */
/* Target pages that contain gallery-wrapper */
.book-page .markdown.book-article .gallery-wrapper {
    min-height: 150vh !important; /* Ensure gallery wrapper has enough height */
    position: relative !important;
}

/* When any hidden div is visible, expand the article to contain it */
.book-page .markdown.book-article .hidden_div.visible {
    position: relative !important; /* Change from absolute to relative when visible */
    top: auto !important; /* Remove the 100vh positioning */
    margin-top: 50px !important; /* Add some spacing from main content */
}

/* Footer is now shown on event pages - removed hiding rules */

/* ULTRA-SPECIFIC OVERRIDES FOR NEGATIVE MARGINS */
/* These rules use the most specific selectors possible to override any negative margins */
.book-page .book-footer .footer-container,
.book-page .book-footer div.footer-container,
.book-page footer.book-footer .footer-container,
.book-page footer.book-footer div.footer-container,
.book-page .book-footer .footer-container[class*="footer"],
.book-page .book-footer div.footer-container[class*="footer"] {
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    position: relative !important;
    width: 100% !important;
}

/* Even more specific overrides for any possible negative margin */
.book-page .book-footer .footer-container[style*="margin"],
.book-page .book-footer div.footer-container[style*="margin"],
.book-page footer.book-footer .footer-container[style*="margin"],
.book-page footer.book-footer div.footer-container[style*="margin"] {
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    position: relative !important;
    width: 100% !important;
}

/* Responsive breakpoints - only for book theme pages */
@media (max-width: 768px) {
    .book-page .footer-content {
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .book-page .footer-logo {
        flex: none !important;
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
    
    .book-page .footer-main {
        min-width: auto !important;
    }
    
    .book-page .footer-contact {
        flex: none !important;
        width: 100% !important;
    }
    
    .book-page .newsletter-form {
        flex-direction: column !important;
        max-width: 100% !important;
    }
    
    .book-page .newsletter-input {
        min-width: auto !important;
    }
    
    .book-page .newsletter-button {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .book-page .footer-container {
        padding: 30px 0 !important;
    }
    
    .book-page .footer-content {
        padding: 0 15px !important;
        gap: 25px !important;
    }
    
    .book-page .main-title {
        font-size: 1rem !important;
    }
    
    .book-page .subtitle {
        font-size: 1rem !important;
    }
    
    .book-page .contact-title, .book-page .social-title {
        font-size: 1.3rem !important;
    }
}

.book-page .footer_new_container {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    color: #fff !important; /* ensure text is visible on black background */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: calc(0 * var(--global-margin));
    --footer-logo-offset: clamp(70px, 16vw, 150px);
}

.book-page .col-1 { 
    flex: 1 1 0; 
    min-width: 0; 
    align-self: stretch;
}
.book-page .col-2 { 
    flex: 1 1 0; 
    min-width: 0; 
    align-self: stretch;
}
.book-page .col-3 { 
    flex: 1 1 0; 
    min-width: 0; 
    align-self: stretch;
}
.book-page .col-4 { 
    flex: 1 1 0; 
    min-width: 0; 
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}



.book-page .footer_new.title1 {
    font-size:2.2vh;
    font-weight: 500;
    margin-top:  calc(10 * var(--global-margin));
    margin-left: calc(1 * var(--global-margin));
    padding-top: 1px;
}
.book-page .footer_new.title2 {
    font-size:2.5vh;
    font-weight: 500;
    margin-top:  calc(0 * var(--global-margin));
    margin-left: calc(4 * var(--global-margin));
    box-sizing: border-box;
}
.book-page .col-1 .footer_new.title2,
.book-page .col-2 .footer_new.title2,
.book-page .col-3 .footer_new.title2 {
    padding-top:  calc(2 * var(--global-margin));
    padding-right: calc(1 * var(--global-margin));
    padding-left: calc(3 * var(--global-margin));
    margin-left: 0 !important;
    width: 100%;
    box-sizing: border-box;
}
.book-page .col-1 .footer_new.title2,
.book-page .col-2 .footer_new.title2 {
    border-right: 2px dotted rgba(255,255,255,0.4);
}

.book-page .footer_new.description {
    font-size:1.8vh;
    line-height: 4.5vh;
    margin-left: calc(1 * var(--global-margin));
    font-weight: 200;
}



/* Ensure col-1 has equal width like other columns */
.book-page .footer_new_container .col-1 {
    flex: 1 1 0;
    min-width: 0;
}

/* Optional responsive size */
@media (max-width: 768px) {
  .book-page .footer_new_container .footer-logo .logo-image {
    width: 90px;
    max-width: 90px;
  }
}

/* Equal-width columns in the new footer block (Flex) */
.book-page .footer_new_container {
    display: flex;
    align-items: stretch;
  }
  
  /* All columns equal width */
  .book-page .footer_new_container .col-1,
  .book-page .footer_new_container .col-2,
  .book-page .footer_new_container .col-3,
  .book-page .footer_new_container .col-4 {
    flex: 1 1 0 !important;   /* equal widths */
    min-width: 0 !important;  /* prevents overflow from expanding column */
  }

  .book-page .footer_new_container .col-1 {
  padding-left: calc(4* var(--small-margin));
}

  .book-page .footer_new_container .col-1,
  .book-page .footer_new_container .col-2,
  .book-page .footer_new_container .col-3,
  .book-page .footer_new_container .col-4 {
    padding-top: calc(6.7* var(--small-margin));
    letter-spacing: 0em;
  }
  
/* Vertical dotted line with top AND bottom gaps - REMOVED */
/* .book-page .footer_new_container .col-1::after,
.book-page .footer_new_container .col-2::after {
  content: "";
  position: absolute;
  right: 0;
  top: var(--footer-logo-offset);
  bottom: 16px;
  border-right: 1px dotted rgba(255, 255, 255, 0.4);
  pointer-events: none;
} */
/* Optional: remove borders on small screens */
@media (max-width: 768px) {
  .book-page .footer_new_container .col-2,
  .book-page .footer_new_container .col-3 {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .book-page .footer_new_container .col-2,
  .book-page .footer_new_container .col-3,
  .book-page .footer_new_container .col-4 {
    padding-top: calc(2 * var(--global-margin));
  }
}

/* Smaller subtitle inside footer_new title2 only */
.book-page .footer_new_container .footer_new.title2 .subtitle {
    font-size: clamp(0.7rem, 0.9vw, 1rem) !important;
    line-height: 1.3;
  }
.book-page .footer_new_container .footer_new.title2 .subtitle_small {
    font-size: clamp(0.5rem, 0.8vw, 0.9rem) !important;
    line-height: 1;
    font-weight: 500;
    margin:0;
    margin-top: calc(1 * var(--small-margin));
    opacity: 0.7;
}

/* Place Instagram button nicely within column 2 */

.book-page .footer_new_container .footer_new.title2 .footer-cta {
    font-size: clamp(0.5rem, 0.8vw, 0.9rem) !important;
    align-items: center;
    gap: 8px;
    color: #fff;              /* not font-color */
    text-decoration: none;
    transition: all 0.3s ease;
}
.book-page .footer_new_container .footer_new.title2 .footer-cta:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.05);
}
  
.book-page .footer_new_container .col-2 { display: flex; flex-direction: column; }
.book-page .footer_new_container .col-2 .footer-cta { margin-top: auto; }

.book-page .footer-brand {
    font-size: 9rem;
    width: 100%;
    color: #fff;
    font-weight: 800;
    margin-top: calc(1 * var(--global-margin));
    margin-bottom: calc(0 * var(--menu-margin));
    padding-top: 1px;
    text-align: center;
    letter-spacing: 0.1;
}

/* Schedule container styling */
.book-page .schedule-container {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0;
}

.book-page .schedule-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2px;
    font-size: clamp(0.7rem, 0.9vw, 1rem);
    line-height: 1.5;
    opacity: 0.8 !important;
    color: white;
}

.book-page .schedule-row .day {
    width: 45px;
    flex-shrink: 0;
    font-weight: 500;
    opacity: 0.9;
}

.book-page .schedule-row .hours {
    flex: 1;
    opacity: 1;
    font-weight: 400;
}

/* Vertical dotted line with top AND bottom gaps - REMOVED */
/* .book-page .schedule-container .schedule-row::after {
  content: "";
  position: absolute;
  right: 0;
  top: var(--footer-logo-offset);
  bottom: 16px;
  border-right: 1px dotted rgba(255, 255, 255, 0.4);
  pointer-events: none;
} */

.footer_new_container .logo-image {
    max-width: 20%;
    height: auto !important;
    object-fit: contain !important;
    padding-top: calc(1 * var(--global-margin));
}

/* Social icons row - keep icons horizontal */
.book-page .footer_new_container .footer_new.title2 .social-icons-row {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: nowrap;
}

.book-page .footer_new_container .footer_new.title2 .social-icons-row .footer-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
    margin-top: 0 !important;
    gap: 0 !important;
    transition: all 0.3s ease;
}

.book-page .footer_new_container .footer_new.title2 .social-icons-row .logo-image {
    width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    padding-top: 0 !important;
    padding: 0 !important;
}

/* Privacy Policy Button */
.book-page .footer_new_container .footer-address .privacy-policy-btn,
.book-page .footer_new_container .footer_new.title2 .privacy-policy-btn {
    /* Reset all button defaults */
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    /* Typography */
    color: #fff !important;
    font-size: clamp(0.5rem, 0.8vw, 0.9rem) !important;
    font-weight: 200 !important;
    font-family: inherit;
    letter-spacing: 0.02em !important;
    line-height: 1.4;
    text-decoration-color: rgba(255, 255, 255, 0.5) !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    
    /* Layout */
    display: block !important;
    width: 20vh;
    text-align: left;
    padding: 0 !important;
    margin: 0 calc(3 * var(--global-margin)) 0 0 !important;
    border-radius: 4px;
    
    /* Interaction */
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-page .footer_new_container .footer-address .privacy-policy-btn:hover,
.book-page .footer_new_container .footer_new.title2 .privacy-policy-btn:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.05);
}

/* Let's Talk Button */
.book-page .footer_new_container .footer-address .lets-talk-btn,
.book-page .footer_new_container .footer_new.title2 .lets-talk-btn {
    /* Reset all button defaults */
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    /* Typography */
    color: #fff !important;
    font-size: clamp(0.5rem, 0.8vw, 0.9rem) !important;
    font-weight: 200 !important;
    font-family: inherit;
    letter-spacing: 0.02em !important;
    line-height: 1.4;
    text-decoration-color: rgba(255, 255, 255, 0.5) !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    
    /* Layout */
    display: block !important;
    width: 20vh;
    text-align: left;
    padding: 0 !important;
    margin: 0 0 calc(3 * var(--global-margin)) 0 !important;
    border-radius: 4px;
    
    /* Interaction */
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-page .footer_new_container .footer-address .lets-talk-btn:hover,
.book-page .footer_new_container .footer_new.title2 .lets-talk-btn:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.05);
}

/* Footer Address Link */
.book-page .footer_new_container .footer-address .footer-address-link {
    transition: all 0.3s ease;
}

.book-page .footer_new_container .footer-address .footer-address-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.05);
}

/* Privacy Policy Modal Styles */
#privacyPolicyModal .modal-rca-content {
    width: clamp(25vw, 70vw, 80vw);
    max-width: clamp(25vw, 80vw, 100vw);
    min-height: 20vh;
    max-height: 200vh;
    height: 80vh;
    padding: calc(3 * var(--global-margin));
    margin-top: calc(2 * var(--global-margin));
}

#privacyPolicyModal .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

#privacyPolicyModal .close-btn:hover {
    color: #666;
}

#privacyPolicyModal .privacy-policy-content {
    padding-top: 20px;
}

#privacyPolicyModal .privacy-policy-content h2 {
    margin-top: 0;
    margin-bottom: calc(2 * var(--global-margin));
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

#privacyPolicyModal .privacy-policy-text {
    color: #000;
    line-height: 1.6;
    font-size: 1rem;
}

#privacyPolicyModal .privacy-policy-text p {
    margin-bottom: 1rem;
}

#privacyPolicyModal .privacy-policy-text p:last-child {
    margin-bottom: 0;
}

/* Footer Inquiry Modal Styles */
#footerInquiryModal.modal.show {
    display: flex !important;
}

#footerInquiryModal .modal-content {
    background-color: #fefefe;
    margin: 0;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

#footerInquiryModal .modal-header {
    padding: 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

#footerInquiryModal .modal-header h2 {
    margin: 0;
    color: #333;
}

#footerInquiryModal .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

#footerInquiryModal .close:hover {
    color: #000;
}

#footerInquiryModal .modal-body {
    padding: 20px;
}

#footerInquiryModal .inquiry-selected {
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

#footerInquiryModal .form-group {
    margin-bottom: 15px;
}

#footerInquiryModal .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#footerInquiryModal .form-group input,
#footerInquiryModal .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

#footerInquiryModal .form-group input:focus,
#footerInquiryModal .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

#footerInquiryModal .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

#footerInquiryModal .form-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#footerInquiryModal .form-actions button[type="submit"] {
    background-color: #007bff;
    color: white;
}

#footerInquiryModal .form-actions button[type="submit"]:hover {
    background-color: #0056b3;
}

#footerInquiryModal .form-actions button[type="button"] {
    background-color: #6c757d;
    color: white;
}

#footerInquiryModal .form-actions button[type="button"]:hover {
    background-color: #545b62;
}

#footerInquiryModal .inquiry_msg {
    margin-top: 8px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}