 

body {
    text-align: center;
    background-color: #121212;
    color: white;
    padding: 20px;
    font-family: "Quicksand", sans-serif;
    letter-spacing:0.8px;
    font-weight: 390;
}

#welcome-message {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #f8f9fa; /* Light color to match text-light */
    text-align: center;
    margin-bottom: 1rem;
}
 
  
   #reset-user-btn {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem; /* Big emoji */
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Circular button */
    background-color: black; /* Red-to-orange gradient */
    color: black;
    border: none;
    box-shadow: 0px 4px 8px rgba(255, 88, 88, 0.5); /* Red-tinted shadow */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Above other elements */
}

#reset-user-btn:hover {
    transform: scale(1.1); /* Grow on hover */
    box-shadow: 0px 6px 12px rgba(255, 88, 88, 0.7); /* Stronger shadow */
    background-image: linear-gradient(to top, #f09819 0%, #ff5858 100%); /* Reverse gradient */
}

#reset-user-btn:focus {
    outline: none;
    box-shadow: 0px 0px 0px 3px rgba(255, 88, 88, 0.3); /* Focus ring */
}

/* Update toast to avoid bottom-left overlap */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Move to bottom-right */
    background: linear-gradient(to top, #0fd850 0%, #f9f047 100%); /* Match Add Destination */
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1001; /* Above reset button */
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.destination {
    margin-top: 10px;
}
.destination-details img {
    vertical-align: middle;
}
.destination-card {
    background: #1e1e1e;
    padding: 12px;
    border-radius: 8px;
    margin: 10px auto;
    width: 80%;
    text-align: left;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

#map {
    width: 60%;
    /* Adjust width as needed */
    height: 400px;
    /* Set desired height */
    margin: auto;
    /* Center the map */
    border-radius: 10px;
    /* Optional rounded corners */
    border: 2px solid #488eda;
    /* Optional border */
}

.destination-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.destination-title {
    color: #ffcc00;
}

.destination-details p {
    margin: 2px 0;
    font-size: 0.9rem;
    color: #ddd;
}

.map {
    width: 10%;
    height: 300px;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}
 
 
 
/* Food Popup Container */
 
  
/* Food Popup Container */
#foodPopup {
    z-index: 1000;
    width: 98vw;
    text-align: left;
    padding: 10px; /* Increase padding for breathing room */
    max-height: 80vh; /* Cap height but allow scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
}
/* Food Popup Container */
.food-popup {
    background: linear-gradient(135deg, #fff7e6, #ffe6cc);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.food-body {
    max-height: calc(80vh - 70px); /* Adjust for header height (~70px) */
    padding: 20px;
    background: url('https://www.transparenttextures.com/patterns/food.png') repeat;
    background-size: 100px;
    overflow-y: auto;
    scrollbar-width: auto; /* Make scrollbar more visible */
    scrollbar-color: #ff9a8b #fff7e6;
}
.food-popup:not(.d-none) {
    animation: slideUp 0.5s ease-out forwards;
}

/* Header Styling */
.food-header {
    background: linear-gradient(to right, #ff6f61, #ff9a8b);
    padding: 15px 20px;
    border-bottom: 2px solid #ffcc99;
}

.food-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.food-close-btn {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    color: black;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
    padding: 0;
}

.food-close-btn span {
    font-size: 1.5rem;
    color: black;
    font-weight: bold;
    line-height: 1;
}

.food-close-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.food-close-btn:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}
 

.food-body h5 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #ff6f61;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.food-body p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
    padding-left: 5px;
}

/* Loader Styling */
.food-body .loader {
    border: 4px solid #ffcc99;
    border-top: 4px solid #ff6f61;
    width: 30px;
    height: 30px;
}

.food-body .pulse-text {
    font-size: 1.2rem;
    color: #ff9a8b;
}

/* Animation for Popup Entrance */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Food Card Styling (for each suggestion) */
.food-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 111, 97, 0.3);
}
.card-body {
    height: auto; /* Remove fixed height */
    max-height: calc(100vh - 120px); /* Max height with scroll */
    overflow-y: auto; /* Scroll if content overflows */
    padding: 15px; /* More padding for content */
}


.card-header {
    padding: 10px 15px;
}


.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.alarm-select {
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #444;
    padding: 8px 15px;
    margin-bottom: 10px;
}

.play-pause-btn {
    background-color: #ffcc00;
    border: none;
    color: black;
    padding: 8px 15px;
    margin-left: 10px;
    border-radius: 5px;
}

.star-btn {
    background: transparent;
    border: none;
    font-size: 30px;
    color: gold;
    cursor: pointer;
}

.favorite {
    border: 2px solid #ffd700;
}

@keyframes explodeDown {
    0% {
        top: -50px;
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        top: 40%;
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        top: 60%;
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes explodeUp {
    0% {
        bottom: -50px;
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        bottom: 40%;
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        bottom: 60%;
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes explodeRight {
    0% {
        left: -50px;
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        left: 40%;
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        left: 60%;
        opacity: 0;
        transform: scale(1);
    }
}

#reached-announcement {
    text-align: center;
    padding: 10px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    20% {
        opacity: 1;
        transform: scale(1);
    }

    80% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes explodeLeft {
    0% {
        right: -50px;
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        right: 40%;
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        right: 60%;
        opacity: 0;
        transform: scale(1);
    }
}


/* Full-screen chatbot styles */
.chatbot-fullscreen {
    width: 100vw !important;
    height: 70vh !important;
    bottom: 0 !important;
    right: 0  ;
    margin: 0 !important;
    z-index: 2000;
}

.chatbot-fullscreen .card-body {
    height: calc(100vh - 120px) !important;
}

#chatBox strong {
    font-weight: bold;
}
#chatBox ul {
    margin: 8px 0;
    padding-left: 20px; /* Space for bullets */
    list-style-type: disc; /* Ensure bullet points */
}

#chatBox li {
    margin-bottom: 4px; /* Space between items */
    padding-left: 5px; /* Align text with bullet */
    display: list-item; /* Force proper list rendering */
    text-align: left; /* Ensure left alignment */
    font-size: 1rem; /* Match surrounding text */
    line-height: 1.5; /* Prevent text wrapping issues */
}

#chatBox li::marker {
    color: #ffcc00; /* Gold bullets to match theme */
    font-size: 0.8rem; /* Slightly smaller bullet */
}
.weather-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.weather-box {
    display: flex;
    color: black;
    align-items: center;
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);/* Dark gradient */
     padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.4);
    width: 100%;
    max-width: 400px;
}

.weather-left {
    display: flex;
    align-items: center;
}

.weather-icon {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.weather-temp {
    font-size: 22px;
    font-weight: bold;
}

.weather-desc {
    font-size: 16px;
    opacity: 0.8;
}

.weather-details {
    margin-left: 15px;
}

.weather-details p {
    margin: 4px 0;
    font-size: 16px;
}
  /* Base styles for the movie popup */
    .movie-popup {
        width: 100vw;
        max-width: 600px; /* Limit width on larger screens */
        height: 450px; /* Slightly taller for better spacing */
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 245, 0.9));
        backdrop-filter: blur(10px); /* Glassmorphism effect */
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px 20px 0 0; /* Rounded top corners */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        animation: fadeIn 0.5s ease-in-out; /* Fade-in animation */
        overflow: hidden; /* Ensure content doesn’t overflow */
    }

    /* Header styles */
    .movie-popup-header {
        background: linear-gradient(90deg, #ff6a88, #ff8e53); /* Gradient header */
        padding: 15px 20px;
        border-bottom: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        position: relative;
    }

    .movie-popup-title {
        font-family: 'Quicksand', sans-serif;
        font-size: 1.8rem;
        font-weight: 700;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }

    /* Body styles */
    .movie-popup-body {
        height: 370px; /* Adjusted for taller popup */
        padding: 20px;
        background: url('https://www.transparenttextures.com/patterns/black-linen.png'); /* Subtle texture */
        background-size: cover;
        position: relative;
    }

    /* Fade-in animation for the popup */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive adjustments */
    @media (min-width: 768px) {
        .movie-popup {
            width: 500px;
            border-radius: 20px; /* Fully rounded on larger screens */
        }
    }
 
     /* Suggestion message */
    .movie-suggestion-message {
        text-align: left;
        font-style: italic;
        font-size: 1rem;
        color: #444;
        margin-bottom: 20px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Movie list container */
    .movie-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Individual movie card */
    .movie-card {
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        padding: 15px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .movie-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(255, 107, 107, 0.3); /* Subtle glow */
        background: rgba(255, 255, 255, 0.3);
    }

    /* Movie poster */
    .movie-poster {
        width: 70px;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
        margin-right: 15px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    /* Movie info */
    .movie-info {
        flex: 1;
    }

    .movie-title {
        margin: 0;
        font-family: 'Quicksand', sans-serif;
        font-size: 1.2rem;
        font-weight: 700;
        color: #222;
        line-height: 1.3;
    }

    .movie-snippet {
        margin: 5px 0 0;
        font-size: 0.9rem;
        color: #555;
        line-height: 1.4;
    }

    .movie-trailer-link {
        display: inline-block;
        margin-top: 8px;
        font-size: 0.9rem;
        color: #ff6a88;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .movie-trailer-link:hover {
        color: #ff3e68;
        text-decoration: underline;
    }
     .movie-close-btn {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.5rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .movie-close-btn:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: rotate(90deg);
    }
     .movie-popup-body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent 50%, rgba(0, 0, 0, 0.1));
        pointer-events: none; /* Ensure it doesn’t interfere with interactions */
    }

    /* Optional: Add film reel perforations on the sides */
    .movie-popup-body::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.3) 2px,
            transparent 2px,
            transparent 10px,
            rgba(0, 0, 0, 0.3) 10px,
            rgba(0, 0, 0, 0.3) 12px,
            transparent 12px
        );
        background-size: 14px 100%;
        pointer-events: none;
    }
 
    /* Slide-in animation for movie cards */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
 
    /* Popup Container */
#holidaysPopup {
    width: 100vw;
    height: 400px;
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%); /* Dark gradient to match app */
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 20px rgba(255, 215, 0, 0.2); /* Gold shadow */
    overflow: hidden;
    z-index: 1000;
}

/* Header */
#holidaysPopup .card-header {
    background: linear-gradient(to right, #ffcc00, #ffd700); /* Gold gradient */
    padding: 15px 20px;
    color: #121212; /* Dark text for contrast */
    font-size: 1.6rem;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Close Button */
#holidaysPopup .btn-close-white {
    filter: brightness(100%);
    opacity: 0.9;
    transition: opacity 0.3s;
}
#holidaysPopup .btn-close-white:hover {
    opacity: 1;
}

/* Intro Message */
.holidays-intro {
    padding: 15px 20px; /* Align with cards */
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff; /* White text to match theme */
    background: rgba(255, 215, 0, 0.1); /* Subtle gold tint */
    border-bottom: 1px solid #444;
    letter-spacing: 0.5px;
    position: static; /* Ensure it’s not fixed */
    text-align: left; /* Explicitly left-align */
}

/* Holidays List */
.holidays-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    height: calc(100% - 70px); /* Adjust for header and intro */
}

/* Holiday Card */
/* Holiday Card */
.holiday-card {
    background: linear-gradient(145deg, #2c2c2c, #1e1e1e);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #ffcc00;
    animation: holidaySlideIn 0.5s ease-out forwards;
    text-align: left; /* Ensure the card itself aligns text to the left */
}
.holiday-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

/* Holiday Card Content */
.holiday-card h6 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    color: #ffcc00;
    font-weight: 700;
    text-align: left; /* Explicitly left-align the holiday name */
}
.holiday-card .holiday-date {
    font-weight: 500;
    color: #ffd700;
    margin: 5px 0;
    font-size: 1rem;
    text-align: left; /* Left-align the date */
}
.holiday-card .holiday-desc {
    margin: 5px 0;
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
    text-align: left; /* Left-align the description */
}
.holiday-card .holiday-tip {
    margin: 5px 0;
    font-size: 1rem;
    color: #bbb;
    font-style: italic;
    text-align: left; /* Left-align the tip */
} 
 

/* No Holidays Message */
.no-holidays {
    font-size: 1.2rem;
    color: #888;
    text-align: left;
    padding: 20px;
    font-style: italic;
}

.holidays-intro {
    position: static !important;
    text-align: left !important;
}

 
@keyframes holidaySlideIn {
    0% { opacity: 0; transform: translateY(30px); }
    80% { opacity: 1; transform: translateY(-3px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Add to styles.css */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ffcc00; /* Match your text-warning color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  /* styles.css */
.skeleton {
    background: #e0e0e0;
    border-radius: 10px;
    height: 20px;
    margin: 5px 0;
    animation: pulse 1.5s infinite;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .pulse-text {
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }


  #features-btn {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Bottom-right instead of center */
    background: rgba(0, 0, 0, 0.7);
    color: whitesmoke;
    font-size: 18px;
    font-weight: bold;
    border: 4px solid gold;
    border-radius: 50px;
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    padding: 8px 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    box-shadow: 0px 4px 8px rgba(255, 215, 0, 0.8);
    animation: floatButton 2s infinite ease-in-out;

  }
  
  
@keyframes floatButton {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
  #features-btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(255, 215, 0, 0.6);
  }

  #openBot:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(255, 215, 0, 0.6);
  }
  
  /* Features Container */
  #features-container {
    position: fixed;
    bottom: 70px;
    right: 20px; /* Bottom-right */
    left: auto; /* Remove centering */
    transform: none; /* No transform needed */
    background: #1e1e1e;
    border-radius: 8px;
    width: 300px;
    padding: 10px;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  }
  
  .features-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    color: #ffcc00;
    font-weight: bold;
    font-size: 18px; /* Larger font for Features */
  }
  
  #features-close {
    font-size: 24px; /* Larger close icon */
  }
  
  .features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  
  /* Shared Button Styling (Based on #floating-food-btn) */
  .feature-btn {
    background: rgba(0, 0, 0, 0.7);
    color: whitesmoke;
    font-size: 18px;
    font-weight: bold;
    border: 4px solid gold;
    border-radius: 50px;
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    padding: 8px 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    height: 45px;
    line-height: 1;
    gap: 1px;
    white-space: nowrap;
    letter-spacing: -1px;
    box-shadow: 0px 4px 8px rgba(255, 215, 0, 0.8);
  }
  
  .feature-btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(255, 215, 0, 0.6);
  }
  
  .feature-btn span {
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
  }