body { margin:0; padding:0; background-color: #f4f4f9;}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 20px;
    background-color: #333;
    color: white;
    font-family: sans-serif;
}
.header .logo {
    display: flex;
    align-items: center;
}
.header .logo img {
    height: 40px;
    margin-right: 10px;
}
.header .links a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}
#container {
    display: flex;
    width: 100%;
    height: calc(100vh - 54px);
}
#map {
    width: 70%;
    height: 100%;
}
#info {
    width: 30%;
    height: 100%;
    padding: 10px;
    overflow-y: none;
    box-sizing: border-box;
    border-left: 1px solid #ccc;
}
#generate-btn {
    background-color: grey;
    color: white;
    padding: 10px;
    border: none;
    margin-top: 20px;
    width: 100%;
    font-size: 16px;
    cursor: not-allowed;
}
#generate-btn.active {
    background-color: red;
    cursor: pointer;
}
#generate-btn.generating {
    background-color: amber;
    cursor: not-allowed;
}
#generate-btn.mint {
    background-color: green;
    cursor: not-allowed;
}
#site-image {
    display: none;
    margin-top: 20px;
    width: 100%;
    height: auto;
}
#tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    position: static;
}
.tab-button {
    background-color: grey;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}
.tab-button.active {
    background-color: red;
}
.tab-content {
    display: none;
    overflow-y: auto;
    height: calc(100vh - 120px);
}
.tab-content.active {
    display: block;
}
#site-data {
    width: 100%;
    height: 300px;
}
.my-projects {
    width: 100%;
    /*height: calc(100vh - 180px);*/
    /*overflow-y: auto;*/
}
.project-container {
    /*padding: 5px;*/
    margin-bottom: 20px;
    background-color: #f9f9f9;
    /*border: 1px solid #ccc;*/
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.2; /* Reduce line spacing */
}
.project-container p {
    margin: 8px 0;
}
.project-container.selected {
    border: 1px solid #ccc;
    background-color: #f0f0f0;
}
.project-info {
    width: 100%; 
    display: block;
    margin-bottom: 0;
    cursor: pointer;
}
.project-name span {
    margin: 5px 0;
    font-weight: bold;
    font-size: 18px;
    color: #333;
}
.project-name a img {
    height: 16px;
    margin-top: 3px;
    margin-left: 4px;
    vertical-align: top;
}
.site-list {
    width: 100%;
    /* overflow-y: auto; */
    /* height: calc(100vh - 60px); */
}
.site-container {
    padding: 5px;
    background-color: #f9f9f9;
    /* border-bottom: 1px solid #ccc; */
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.0; /* Reduce line spacing */
    width: 98%;
}
.site-container:nth-child(odd) {
    background-color: #e8e8e8;
}
.site-container p {
    margin: 5px 0;
}
.site-container.selected {
    background-color: #cdc;
}
.mandala img {
    width: 80%;
    height: auto;
    padding-right: 20px;
}
.project-state {
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 10px;
}
.mint-button {
    background-color: green;
    color: white;
    border: none;
    border-radius: 14px;
    padding: 2px;
    margin: 0 20px;
    cursor: pointer;
    height: 26px;
    width: 80px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Justify content to the right */
}
#hex-info {
    display: none; /* Hide hex-info initially */
    margin-bottom: 2px;
    /*padding: 10px;*/
    background-color: #f9f9f9;
    /*border: 1px solid #ccc;*/
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.2;
}
#hex-info p {
    margin: 5px 0;
}
#new-hex {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
#new-project {
    margin-top: 15px;
}
#new-project label {
    display: block;
    margin-bottom: 5px;
    font-family: sans-serif;
    font-size: 14px;
}
#new-project input[type="text"],
#new-project textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 14px;
}
#new-project-btn {
    background-color: grey;
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}
#new-project-btn.active {
    background-color: red;
}
#new-project-btn.active:hover {
    background-color: rgb(248, 32, 32);
}
.loading-container {
    text-align: center;
}
.inline-spinner {
    display: inline-flex;
    width: 20px;
    height: 20px;
    border: 4px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}
.spinner {
    margin: 30px auto 20px;
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.loading-container p {
    font-family: sans-serif;
    font-size: 16px;
    color: #333;
}