@charset "UTF-8";
/* Events Page Styling */

/* Main container style */
.events-container {
  background-color: transparent;
  margin: 30px auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Accordion styling */
.events-accordion {
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 0;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid #28a745;
  transition: all 0.3s ease;
}

/* Override default accordion styling */
.events-accordion .accordion-button {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.1), transparent) !important;
  color: #28a745 !important;
  font-weight: bold;
  font-size: calc(1.1rem + 0.2vw);
  padding: 15px 25px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.events-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.2), transparent) !important;
  color: #218838 !important;
}

.events-accordion .accordion-button:hover {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.2), transparent) !important;
}

.events-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: #28a745;
}

.events-accordion .accordion-button::after {
  color: #28a745;
}

.events-accordion .accordion-body {
  padding: 25px !important;
  background-color: #fff;
}

/* Sub-accordion styling */
.events-subaccordion .accordion-button {
  font-size: 1rem;
  padding: 12px 20px;
  background: linear-gradient(to right, rgba(40, 167, 69, 0.05), transparent) !important;
}

.events-subaccordion .accordion-body {
  padding: 20px !important;
}

/* Event table styling */
.events-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.events-table th {
  background: linear-gradient(to right, #28a745, #20c997);
  color: white;
  padding: 15px 12px;
  text-align: center;
  font-weight: 600;
  border: none;
}

.events-table td {
  padding: 12px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.events-table tr:hover td {
  background-color: rgba(40, 167, 69, 0.05);
}

.events-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* Remove border from last row */
.events-table tr:last-child td {
  border-bottom: none;
}

/* Event actions button styling */
.event-action-btn {
  background: linear-gradient(to right, #28a745, #20c997);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.event-action-btn:hover {
  background: linear-gradient(to right, #218838, #1a9c77);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.event-action-btn i {
  font-size: 1.1em;
}

.event-action-btn.outline {
  background: transparent;
  border: 2px solid #28a745;
  color: #28a745;
}

.event-action-btn.danger.outline {
  background: transparent;
  border: 2px solid #dc3545;
  color: #dc3545;
}

.event-action-btn.outline:hover {
  background-color: rgba(40, 167, 69, 0.1);
}

.event-action-btn.danger {
  background: linear-gradient(to right, #dc3545, #c82333);
}

.event-action-btn.danger:hover {
  background: linear-gradient(to right, #bd2130, #a71d2a);
}

.event-action-btn.warning {
  background: linear-gradient(to right, #ffc107, #ffb400);
  color: #212529;
}

.event-action-btn.warning:hover {
  background: linear-gradient(to right, #e0a800, #d39e00);
}

/* Form inputs styling */
.event-form-control {
  border: 2px solid #ced4da;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.event-form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  outline: none;
}

/* Event name styling */
.event-name {
  color: #28a745;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.event-name:hover {
  color: #218838;
  text-decoration: underline;
}

.event-name.archived {
  color: #6c757d;
}

/* Event name clickable styling */
.event-name-link {
  display: inline-block;
  position: relative;
  color: #28a745;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-name-link:hover {
  color: #218838;
  background-color: rgba(40, 167, 69, 0.08);
  text-decoration: underline;
}

.event-name-link:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

/* Event date styling */
.event-date {
  display: flex;
}

.event-date-label {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 4px;
}

.event-date-value {
  font-weight: 600;
  color: #343a40;
}

/* Event status badges */
.event-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-status.public {
  background-color: rgba(40, 167, 69, 0.2);
  color: #218838;
}

.event-status.private {
  background-color: rgba(108, 117, 125, 0.2);
  color: #495057;
}

.event-status.archived {
  background-color: rgba(255, 193, 7, 0.2);
  color: #d39e00;
}

/* Event actions container */
.event-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Add event button */
.add-event-btn {
  margin: 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(to right, #28a745, #20c997);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-event-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Event Form Styling */
.event-form-container {
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  overflow-y: auto;
  border-left: 5px solid #28a745;
  transition: all 0.3s ease;
  width: 90%;
  max-width: 1200px;
}

.event-form-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.event-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  margin-bottom: 10px;
}

.event-form-group {
  flex: 1 1 calc(50% - 15px);
  min-width: 250px;
}

.event-form-group-full {
  flex: 1 1 100%;
}

.event-form-label {
  display: block;
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

.event-form-input {
  border: 2px solid #ced4da;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.event-form-input:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  outline: none;
}

.event-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.event-form-button {
  background: linear-gradient(to right, #28a745, #20c997);
  color: white;
  border: none;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-self: center;
  margin-top: 15px;
  width: auto;
}

.event-form-button-cancel {
  background-color: transparent !important;
  color: red !important;
  border: 2px solid red !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 600;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-self: center;
  margin-top: 15px;
  width: auto;
}

.event-form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(to right, #218838, #1a9c77);
}

/* Folder Tree Component Styling */
#folder-tree {
  background-color: #f8f9fa;
  border-radius: 15px !important;
  padding: 15px !important;
  margin: 20px auto !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid #28a745 !important;
  transition: all 0.3s ease;
  max-width: 1200px;
  max-height: 30vh !important; /* 30% of the viewport height */
  overflow-y: auto !important; /* Enable vertical scrolling */
}

/* JSTree node styling */
.jstree-default .jstree-anchor {
  color: #28a745 !important;
  font-weight: 500;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.jstree-default .jstree-anchor:hover {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.1), transparent) !important;
  border-radius: 4px;
}

.jstree-default .jstree-clicked {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.2), transparent) !important;
  box-shadow: none !important;
  border-radius: 4px;
  color: #218838 !important;
  font-weight: bold;
}

.jstree-default .jstree-hovered {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.1), transparent) !important;
  box-shadow: none !important;
  border-radius: 4px;
}

/* JSTree folder icon styling */
.jstree-default .jstree-icon {
  color: #28a745 !important;
}

/* JSTree node insertion styling */
.jstree-default .jstree-anchor.jstree-search {
  color: #218838 !important;
  font-weight: bold;
}

/* Wholerow plugin styling */
.jstree-default .jstree-wholerow-clicked {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.15), transparent) !important;
}

.jstree-default .jstree-wholerow-hovered {
  background: linear-gradient(to right, rgba(40, 167, 69, 0.05), transparent) !important;
}

/* Responsive styles for folder-tree */
@media (max-width: 768px) {
  #folder-tree {
    margin: 15px 10px !important;
    padding: 10px !important;
    border-radius: 10px !important;
    max-height: 40vh !important; /* Slightly higher on mobile for better usability */
    width: 95% !important; /* Full width on mobile */
  }
  
  .jstree-default .jstree-anchor {
    font-size: 0.9rem;
    padding: 6px 8px;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .events-container {
    margin: 20px 10px;
    border-radius: 10px;
  }
  
  .events-accordion .accordion-button {
    font-size: 1rem;
    padding: 12px 15px;
  }
  
  .events-accordion .accordion-body {
    padding: 5px !important;
  }
  
  .event-action-btn {
    min-width: auto;
    padding: 6px 12px;
  }
    /* Mobile-specific event name link styling */
  .event-name-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 5px 0;
    padding: 8px 12px !important;
    background-color: rgba(40, 167, 69, 0.05);
    border-left: 3px solid #28a745;
    border-radius: 0 4px 4px 0;
    width: 100%;
  }
  
  
  .event-name-link::after {
    content: '\f105'; /* Arrow icon for mobile */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    opacity: 1;
    color: #28a745;
  }
    .event-name-link:active {
    background-color: rgba(40, 167, 69, 0.15);
    transform: translateX(2px);
  }
  
}

@media (max-width: 576px) {
  .event-actions {
    flex-direction: column;
    gap: 5px;
  }
  
  .add-event-btn {
    width: 100%;
  }
}

/* Enhanced mobile styles for events-table */
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1025px) {
  /* Events table mobile styling */
  .events-table {
    border-radius: 0;
    box-shadow: none;
    border: none;
    width: 100%;
  }

  .events-table tr {
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: block;
    background-color: #fff;
    border: none;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }
  
  /* Slight animation on touch/tap */
  .events-table tr:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }


  .events-table td {
    display: block;
    border: none;
    position: relative;
    padding: 12px 15px;
    text-align: left;
    min-height: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .events-table td:before {
    content: attr(name);
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: #28a745;
    font-size: 0.9rem;
  }

  /* Styling for expandable rows */
  .events-table tr:not(:has(td:nth-child(3).hidden)) td:first-child {
    background: linear-gradient(to right, rgba(40, 167, 69, 0.05), transparent);
  }

  /* Hidden row animation */
  .events-table td.hidden {
    padding: 0 !important;
    margin: 0;
    height: 0;
    min-height: 0 !important;
    opacity: 0;
    transform: translateY(-10px);
    transition: height 0.3s ease, opacity 0.2s ease, transform 0.3s ease, padding 0.3s ease;
  }
  /* Row that is visible but was previously hidden */
  .events-table td:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    transition: height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
  }
  
  /* Enhanced transition effects */
  .events-table tr {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                margin 0.3s ease;
  }
  
  /* Row expand state */
  .events-table tr:has(td:not(.hidden)) {
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
  }

  .events-table td .row {
    display: flex;
    align-items: center;
  }

  .events-table td .col-md-12 {
    width: 100% !important;
    padding: 0;
  }

  .events-table td .col-md-0 {
    width: 36px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* First column specific styling */
  .events-table td:first-child {
    background: linear-gradient(to right, rgba(40, 167, 69, 0.1), transparent);
    padding-top: 16px;
    padding-bottom: 16px;
    cursor: pointer;
    position: relative;
  }

  /* Visual indicator for expandable content */
  .events-table td:first-child:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #28a745;
    opacity: 0.7;
  }
  .events-table td:first-child .fa-arrow-up,
  .events-table td:first-child .fa-arrow-down {
    transition: transform 0.4s ease, color 0.3s ease, background-color 0.3s ease;
    color: #28a745;
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(40, 167, 69, 0.15);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.2);
    margin-left: auto;
  }
  
  /* Improved icon state for better visibility */
  .events-table td:first-child .fa-arrow-down {
    background-color: rgba(40, 167, 69, 0.25);
    transform: scale(1.1);
  }
  
  /* Active state for touch feedback */
  .events-table td:first-child .fa-arrow-up:active,
  .events-table td:first-child .fa-arrow-down:active {
    transform: scale(0.9);
    background-color: rgba(40, 167, 69, 0.3);
  }


  .events-table td button {
    width: 100%;
    margin-top: 8px;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
  }

  .events-table td button:active {
    transform: scale(0.97);
  }

  /* Improved hover state for mobile */
  .events-table td.hover-underline {
    position: relative;
  }

  .events-table td.hover-underline:active:after {
    opacity: 1;
  }
  
  /* Better touch areas for mobile */
  .events-table td:first-child .first-col {
    min-height: 44px; /* Larger touch target */
  }
  
  /* Enhanced visual cues for expandable rows */
  .events-table td:first-child {
    position: relative;
  }
  
}

/* Login Page Specific Styles */

/* Toggle Login Buttons Styling */
#normalUser, #hostUser {
    min-width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#normalUser span, #hostUser span {
    white-space: nowrap;
    text-overflow: ellipsis;
}

#normalUser:hover, #hostUser:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

#normalUser.outline:hover, #hostUser.outline:hover {
    background-color: rgba(40, 167, 69, 0.08);
}

/* Equal height/width container for the toggle buttons */
.login-toggle-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Login links styling */
.login-links-container {
    text-align: left;
    border-top: 1px solid rgba(40, 167, 69, 0.1);
    padding-top: 15px;
    transition: all 0.3s ease;
}

.login-links-container a.event-name-link {
    display: inline-flex;
    align-items: center;
    margin: 5px 2px;
    padding: 5px 10px;
    border-radius: 5px;
}

.login-links-container a.event-name-link:hover {
    background-color: rgba(40, 167, 69, 0.1);
    text-decoration: none;
}

.login-footer-links {
    margin-top: 10px;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9em;
}

/* Responsive styling for login toggle buttons */
@media (max-width: 768px) {
    #normalUser, #hostUser {
        margin-bottom: 10px;
        margin-top: 10px;
        height: 50px;
    }
    
    /* Stack buttons vertically on mobile */
    .d-flex.justify-content-center[style*="gap: 15px"] {
        flex-direction: column !important;
        align-items: center;
    }
}
/* Back to Top Button from login.css */
#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#backToTopBtn:hover {
    background: linear-gradient(to right, #218838, #1a9c77);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Ask AI Button from login.css */
#askAIBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #28a745;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#askAIBtn:hover {
    background: linear-gradient(to right, #218838, #1a9c77);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1025px) {
    #backToTopBtn, #askAIBtn {
        bottom: 11vh;
    }
    
    /* Improve form layout on mobile and tablet */
    .event-form-input {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .event-form-group {
        margin-bottom: 15px;
    }
    
    .event-form-label {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 15px !important;
    }
    
    /* Adjust login page specific elements */
    #normalUserLogin, #hostUserLogin {
        width: 100%;
        padding: 0;
    }
    
    /* Mobile styling for login links */
    .login-links-container {
        padding: 10px 5px;
    }
    
    .login-links-container a.event-name-link {
        padding: 8px;
        margin: 5px 0;
        display: inline-block;
        font-size: 0.9em;
    }
    
    .login-footer-links {
        padding: 10px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Tablet-specific styles for login page */
@media only screen and (min-width: 768px) and (max-width: 1025px) {
    /* Improve login container layout for tablets */
    .vh-80 .container.py-5.h-100 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Adjust image container size on tablets */
    .events-accordion .col-md-6.col-lg-5 img {
        height: 100%;
        object-fit: cover;
    }
    
    /* Improve form spacing and layout on tablets */
    .accordion-body.p-4.p-lg-5 {
        padding: 20px !important;
    }
    
    /* Optimize toggle buttons for tablet display */
    .login-toggle-container {
        flex-wrap: wrap;
    }
    
    #normalUser, #hostUser {
        min-width: 160px;
        height: 55px;
        font-size: 0.95rem;
        margin: 0 5px 10px;
    }
    
    /* Improve input fields for tablet touch targets */
    .event-form-input {
        height: 48px;
        margin-bottom: 15px;
    }
    
    /* Better spacing for the form buttons on tablet */
    .pt-1.mb-4 .event-form-button {
        padding: 10px 24px;
        min-width: 180px;
    }
    
    /* Ensure the logo and title are properly sized */
    .d-flex.align-items-center.mb-3.pb-1 img {
        max-width: 50px;
        height: auto;
    }
    
    .d-flex.align-items-center.mb-3.pb-1 .h1 {
        font-size: 1.8rem;
    }
    
    /* Optimize footer links spacing for tablet */
    .login-footer-links {
        display: flex;
        justify-content: space-around;
        padding: 15px 0;
        width: 100%;
    }
    
    /* Improve layout of forms within accordion on tablet */
    .events-accordion .row.g-0 {
        min-height: 550px;
    }
    
    /* Enhanced tablet-specific login form layout */
    #normalUserLogin, #hostUserLogin {
        padding: 0 10px;
    }
    
    /* Improve tablet landscape mode */
    @media (orientation: landscape) {
        .events-accordion .row.g-0 {
            min-height: 450px;
        }
        
        .login-toggle-container {
            flex-direction: row;
            justify-content: center;
        }        #normalUser, #hostUser {
            min-width: 200px;
        }
    }
}

/* Policy Pages Styling */
.policy-header {
    background: linear-gradient(to right, #28a745, #20c997);
    color: white;
    padding: 25px 0;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-header h1 {
    text-align: center;
    font-size: calc(1.8rem + 1.2vw);
    margin: 0;
    font-weight: 700;
}

.policy-header p {
    color: white;
    padding: 0 15px;
    text-align: center;
    margin-top: 10px;
    font-size: calc(0.9rem + 0.3vw);
}

.policy-section {
    background-color: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #28a745;
    margin-top: 10px;
}

.section-title {
    color: #28a745;
    font-size: calc(1.3rem + 0.6vw);
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-section h3 {
    color: #28a745;
    font-size: calc(1rem + 0.3vw);
    margin: 15px 0 10px;
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list-item, .policy-list-item-list  {
    background-color: #f8f9fa;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #28a745;
}

.policy-list-number {
    display: flex;
    align-items: center;
}

/* Adding a green dot instead of numbers */
.policy-list-number::before {
    content: '';
    background: linear-gradient(to right, #28a745, #20c997);
    width: 12px;
    height: 12px;
    margin-right: 15px;
    border-radius: 50%;
    display: block;
}

ol.policy-list {
    /* Removed counter-reset to stop numbering */
    list-style: none;
}

.feature-item, .feature-item-list{
    background-color: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #28a745;
}

.feature-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
}

.feature-item-list {
    background-color: #e1e1e182;
    border-left: 3px solid #28a745;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 47%);
    margin-bottom: 15px;
    padding: 15px;
} 

.feature-list .feature-item-list {
    background-color: #e1e1e194;
    border-left: 3px solid #28a745;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 47%);
    margin-bottom: 15px;
    padding: 15px;
}

.feature-list .feature-item {
    background-color: #ffffffb3;
    border-left: 3px solid #28a745;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    padding: 15px;
}

@media (max-width: 768px) {
    .policy-header {
        padding: 15px 0;
    }
    
    .policy-header h1 {
        font-size: calc(1.5rem + 0.8vw);
    }
    
    .policy-section, .feature-item {
        padding: 15px;
    }
    
    .section-title {
        font-size: calc(1.1rem + 0.4vw);
    }
}

/* Registration Page Specific Styles */
#adminUser, #user {
    min-width: 180px;
    padding: 10px 15px;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#adminUser span, #user span {
    white-space: nowrap;
    text-overflow: ellipsis;
}

#adminUser:hover, #user:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

#adminUser.outline:hover, #user.outline:hover {
    background-color: rgba(40, 167, 69, 0.08);
}

#nomeFile {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

/* Responsive registration form styling */
@media (max-width: 768px) {
    #registration-toggle .login-toggle-container {
        flex-direction: column;
        align-items: center;
    }
    
    #adminUser, #user {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .events-container .row .col-md-8 .events-accordion {
        padding: 10px;
    }
}

/* About Us Page Specific Styles */
.sub-feature-list {
    padding-left: 20px;
    margin-top: 15px;
}

.feature-item.sub-item {
    border-left: 3px solid rgba(40, 167, 69, 0.5);
    margin-bottom: 10px;
    background-color: rgba(248, 249, 250, 0.7);
}

.feature-item h3 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sub-feature-list {
        padding-left: 10px;
    }
    
    .feature-item h3 {
        font-size: 1.3rem;
    }
}

/* Inline group for select + button (no border-radius between) */
.event-inline-group {
  display: flex;
  align-items: stretch;
}
.event-inline-group .event-form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: -2px; /* overlap border */
}
.event-inline-group .event-action-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
  height: 100%;
  white-space: nowrap;
}

#top-div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(40,167,69,0.08);
  border-left: 5px solid #28a745;
  padding: 24px 32px 18px 32px;
  margin-bottom: 10px;
  margin-top: 10px;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
  z-index: 10;
}
#top-div.fixed {
  box-shadow: 0 8px 24px rgba(40,167,69,0.18), 0 1.5px 8px rgba(0,0,0,0.08);
  border-color: #218838;
  background: #f8f9fa;
  border-radius: 0 0 18px 18px;
  padding-top: 16px;
  padding-bottom: 12px;
  margin-top: 0px !important;
}
@media (max-width: 768px) {
  #top-div, #top-div.fixed {
    padding: 12px 8px 8px 8px;
    border-radius: 10px;
  }
}


/* Menu Table Styling - Beautiful & Cohesive Design */
.menu-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  background: white;
}

/* Menu category header styling */
.menu-category-header {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  border: none;
  position: relative;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.menu-category-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

/* Menu item rows */
.menu-category-row {
  background-color: white;
  transition: all 0.3s ease;
}

.menu-category-row:hover {
  background-color: rgba(40, 167, 69, 0.03);
  transform: translateX(2px);
}

.menu-category-row:nth-child(even) {
  background-color: #fafafa;
}

.menu-category-row:nth-child(even):hover {
  background-color: rgba(40, 167, 69, 0.05);
}

.menu-category-row td {
  border: none;
  padding: 14px 20px;
  font-size: 15px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.menu-category-row:last-of-type td {
  border-bottom: none;
}

/* Menu item name styling */
.menu-category-row td:first-child {
  font-weight: 500;
  color: #2c3e50;
  position: relative;
}

.menu-category-row td:first-child::before {
  content: '•';
  color: #28a745;
  font-weight: bold;
  margin-right: 8px;
  font-size: 18px;
}

/* Menu item price styling */
.menu-category-row td:last-child {
  text-align: right;
  font-weight: 600;
  color: #28a745;
  font-size: 16px;
}

/* Add subtle animation for category headers */
.menu-category-header {
  animation: slideInFromLeft 0.5s ease-out;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .menu-category-header {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .menu-category-row td {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .menu-category-row td:first-child::before {
    font-size: 16px;
  }
}

/* Icon items styling for selectable icon grid */
.icon-items {
  width: 15%;
  height: auto;
  margin: 8px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  object-fit: contain;
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: inline-block;
  vertical-align: top;
}

.icon-items:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  border-color: #28a745;
  background-color: rgba(40, 167, 69, 0.05);
}

/* Selected state - this will be applied when border is set to black in JavaScript */
.icon-items.selected {
  border: 3px solid #28a745 !important;
  background-color: rgba(40, 167, 69, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

/* Container for icon results */
#resultsIcons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  max-height: 300px;
  overflow-y: auto;
  margin-top: 10px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .icon-items {
    width: 15%;
    height: auto;
    margin: 6px;
    padding: 6px;
  }

  .icon-items:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: transparent;
    background-color: #f8f9fa;
  }
  
  #resultsIcons {
    padding: 10px;
    max-height: 250px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .icon-items {
    width: 15%;
    height: auto;
    margin: 4px;
    padding: 4px;
  }
  
  #resultsIcons {
    padding: 8px;
    gap: 2px;
  }
}


footer .google-auto-placed {
  display: none !important;
}