body {
    margin: 0;
    overflow: hidden; /* Prevents scrollbars */
    background-color: #000;
}

.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 250px;
    height: 100%;
    background: #111;
    transition: 0.3s;
    z-index: 20;
    color: rgb(165, 165, 165);
    padding: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.menu-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    padding-bottom: 30px;
    color: white;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.option-row p {
    margin: 0;
    font-size: 16px;
}

.icon-btn {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
    width: 5px; 
    height: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.MenuImg{
     width: 40px; 
     height: 30px;
}

#closeBtn {
    position: absolute;
    bottom: 50px;
    left: 40px;
    padding: 10px 20px;
    cursor: pointer;
}







.countryinfo{
    position: fixed;
    right: -450px;
    top: 70px;
    width: 350px;
    height: 80%;
    background: #11111100;
    border: 1px solid rgba(255, 255, 255, 0.363);
    transition: right 0.3s ease-out; /* The animation magic */
    z-index: 20;
    color: rgb(165, 165, 165);
    padding: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

/* This class triggers the slide when added by JS */
#countryinfo.show {
  right: 60px;
}

.scroll-container {
    width: 100%;
    height: 200px; /* Adjust based on how much room you have */
    overflow-y: auto; /* Adds vertical scrollbar when needed */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 squares per row */
    gap: 10px;
    padding-right: 5px;
    margin-top: 10px;
}

.photo-square {
    aspect-ratio: 1 / 1; /* Keeps it a perfect square */
    background: #22222200; /* Dark placeholder color */
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.363);
    background-size: cover;
    background-position: center;
}

/* Optional: Make the scrollbar look sleek and dark */
.scroll-container::-webkit-scrollbar {
    width: 6px;
}
.scroll-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}
.tabiconclose-btn{
    position: absolute;
    top: 8px;
    right: 35px;
    z-index: 10;
    width: 1px; 
    height: 2px;
    background: none;
    border: none;
    cursor: pointer;
}
.summaryEdit-btn{
    z-index: 10;
    width: 5px; 
    height: 5px;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}






.editSummary {
    position: fixed;
    top: 69.5%;
    left: 58%;
    display: none;
    
    width: 300px; /* Adjust this to make it wider/narrower */
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 10000;
    border: 1px solid rgba(255, 255, 255, 0.363);
    
    /* This aligns the buttons to the right */
    text-align: right; 
}

#summaryInput {
    width: 100%;
    height: 120px;
    background: #171928;
    color: white;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.363);
    box-sizing: border-box; /* Keeps padding inside the width */
    margin-bottom: 15px;
    resize: none;
}

/* Button spacing */
.saveSummary-btn, .cancelSummary-btn {
    margin-left: 10px;
    padding: 5px 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.363);
    cursor: pointer;
    color: white;
    font-family: 'Orbitron';
}