body {
    /* Updated: Lightest blue for the overall page background */
    background-color: #9090fa; 
    
    font-family: Arial, sans-serif;
    margin: 0; 
    display: flex; 
    justify-content: center;
    align-items: center; 
    min-height: 100vh;
}

.container {
    display: flex;
    width: 90%; 
    max-width: 1200px;
    /* Keeping a subtle shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
    border-radius: 10px;
    overflow: hidden; 
}

/* Image Section Styling */
.image-section {
    flex: 2; 
    background-color: #ffffff; /* Keeping this white so the image stands out */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    max-width: 100%;
    height: auto; 
    display: block; 
}

/* Sidebar Section Styling */
.sidebar-section {
    flex: 1;
    /* Updated: Mid-dark blue for the sidebar background */
    background-color: #5d5de2; 
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-tile {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    /* Keeping tiles white for contrast, but you could change this */
    background-color: #ffffff; 
    /* Updated: Lighter blue for the tile border */
    border: 1px solid #b1b1ff; 
    border-radius: 25px;
    text-decoration: none; 
    /* Updated: Darkest blue for the tile text */
    color: #484877; 
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.nav-tile:hover {
    /* Updated: Mid-light blue for the hover background */
    background-color: #7676e9; 
    /* Changing text color on hover for better visibility */
    color: #ffffff; 
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tile-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Responsive adjustments for smaller screens (keep this for mobile) */
@media (max-width: 768px) {
    .container {
        flex-direction: column; 
        width: 100%; 
        border-radius: 0; 
        box-shadow: none; 
    }

    .image-section {
        flex: auto;
    }

    .sidebar-section {
        flex: auto;
        padding: 15px;
    }

    .nav-tile {
        padding: 10px 15px;
        border-radius: 20px;
    }
}
/* --- Worship Team Hub Page Styles --- */
    
/* For Footers*/
.footer {
    flex-grow: 1; /* Takes up all remaining space */
    padding: 10px;
    text-align: left;
    height: 2vh;
    }

/* Override for the main-page-container to suit the hub layout */
.hub-container {
    padding: 0; /* Remove padding from main-page-container for this specific layout */
    text-align: left; /* Ensure text alignment is left within the hub */
    display: flex; /* Make it a flex container */
    flex-direction: column; /* Stack header, content, and back link vertically */
    height: 90vh; /* Set a specific height for the hub container */
    
}

.hub-header {
    background-color: #ffffff; /* White background for the header */
    padding: 20px 40px 10px 10px; /* Top, Right, Bottom, Left padding */
    border-bottom: 2px solid #5d5de2; /* Blue line under the header */
    margin-bottom: 0; /* Remove margin from bottom */
}

.hub-header h1 {
    color: #484877; /* Darkest blue for the header text */
    margin: 0; /* Remove default margin */
    border-bottom: none; /* Remove underline from h1 in header */
    padding-bottom: 0;
}

.hub-header hr { /* Styling for the horizontal rule */
    border: none;
    border-top: 1px solid #5d5de2; /* The blue line */
    margin-top: 10px;
    margin-bottom: 0;
}

.hub-content {
    display: flex; /* Enables sidebar and main area side-by-side */
    flex-grow: 1; /* Allows content area to fill remaining vertical space */
    background-color: #f8f8ff; /* A very light off-white/blue for the content background */
}

.hub-sidebar {
    flex: 0 0 300px; /* Fixed width sidebar, not growing or shrinking */
    padding: 20px;
    border-right: 1px solid #b1b1ff; /* Light blue separator line */
    background-color: #e0f2f7; /* Very light blue background for sidebar */
    overflow-y: auto; /* Allow scrolling if many songs */
    min-height: 500px;
}

.hide-scrollbar {
    /* For IE and Edge */
    -ms-overflow-style: none;
    /* For Firefox */
    scrollbar-width: none; 
}

/* For Chrome, Safari, and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.song-list-scroll-container {
    /* 1. Enable vertical scrolling if content exceeds height */
    overflow-y: auto; 
    
    /* 2. Set a maximum height. 
       Use a fixed value (e.g., 300px) or use calc() 
       for a more dynamic approach if the parent's height is defined. 
       
       A fixed pixel value is the simplest start: */
    max-height: 300px; /* Adjust this value as needed for your layout */
    
    /* Optional: Add some padding to the top/bottom of the scrollable area */
    padding-top: 5px;
    padding-bottom: 5px;
}

.hub-sidebar h2, .hub-sidebar h3 {
    color: #484877; /* Darkest blue for sidebar headings */
    border-bottom: none; /* No underline for sidebar headings */
    padding-bottom: 0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.search-box {
    margin-bottom: 20px;
}

.search-input {
    width: calc(100% - 20px); /* Adjust width for padding */
    padding: 10px;
    border: 1px solid #b1b1ff; /* Lighter blue border */
    border-radius: 5px;
    font-size: 0.9em;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.song-list {
    list-style-type: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
}

.song-list li {
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px dashed #cce7eb; /* Subtle separator */
    color: #484877;
}

.song-list li:last-child {
    border-bottom: none; /* No dash for the last item */
}

.song-list a.song-title {
    color: #5d5de2; /* Mid-dark blue for song titles */
    text-decoration: none;
    font-weight: bold;
}

.song-list a.song-title:hover {
    text-decoration: underline;
}

.song-artist {
    display: block; /* Puts artist on a new line */
    font-size: 0.85em;
    color: #7676e9; /* Mid-light blue for artist name */
    margin-left: 20px; /* Indent artist name a bit */
}

.edit-icon {
    margin-right: 5px;
    font-size: 1em;
    cursor: pointer; /* Indicates it's clickable */
}

.hub-main-area {
    flex-grow: 1; /* Takes up all remaining space */
    padding: 0;
    background-color: #f0f8ff; /* Very light blue background for the main content */
    overflow-y: auto; /* Allow scrolling if content is long */
}

/* Back link specific position for the hub */
.hub-container > .back-link {
    text-align: right;
    padding: 15px 40px;
    background-color: #ffffff;
    border-top: 1px solid #e0f2f7; /* Light border above back button */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hub-container {
        height: auto; /* Auto height on small screens */
        min-height: 100vh;
    }
    .hub-content {
        flex-direction: column; /* Stack sidebar and main content vertically */
    }
    .hub-sidebar {
        flex: auto; /* Sidebar takes natural height */
        border-right: ;
        border-bottom: 1px solid #b1b1ff; /* Separator for bottom */
    }
    .hub-header, .hub-container > .back-link {
        padding-left: 20px;
        padding-right: 20px;
    }

    
    
    
    
    
    
    
    
    
    