@import url('../shared/fonts/fonts.css');


body {
    font-family: "PManrope-Medium";
    background-color: #292C34;
    color: white;
    margin: 0;
    overflow: hidden;
}

#header {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, .5);
    padding: 10px;
    gap: 20px;
    margin: 10px;
    border: .5px solid rgba(255, 255, 255, .5);
}

.nav-box {
    display: flex;
    flex-direction: row;
    align-items: space-between;
    gap: 15px;
}

.nav-item {
    background-color: #292C34;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

@media (max-width: 800px) {
    #header {
        flex-direction: column;
        gap: 10px;
    }

    .nav-box {
        height: 40px;
        gap: 10px;
        justify-content: center;
    }

    #selected-editor {
        display: none;
    }
}

#logo-box {
    background-color: #292C34;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 10px 20px;
    font-family: "PManrope-Bold";
}

.nav-button {
    border: none;
    padding: 0px 10px 0px 10px;
    background-color: #8E9C89;
    color: white;
    cursor: pointer;
}

#selected-editor {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    background-color: rgba(0, 0, 0, .5);
    padding: 10px;
    height: 40px;
    margin: 10px;
    border: .5px solid rgba(255, 255, 255, .5);
}

#calendar-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    margin: 10px;
    border: .5px solid rgba(255, 255, 255, .5);
    background-color: rgba(0, 0, 0, .5);
    height: 90vh;
    overflow: scroll;
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
}

.container::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

#month-selector {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    margin: 10px 0px 10px 0px;
}

.month-selector-button {
    padding: 5px 10px;
    margin: 0 10px;
    border: none;
    background-color: #8E9C89;
    color: white;
    cursor: pointer;
    font-family: monospace, sans-serif;
    height: 100%;
}

button:hover {
    background-color: #c14d30;
}



#calendar-table th,
#calendar-table td {
    border-right: 1px dotted rgba(255, 255, 255, .2);
    border-left: 1px dotted rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding: 5px;
}

#calendar-table td {
    height: 47px;
}

#calendar-table {
    border-collapse: collapse;
    width: 100%;
}

#header-gear {
    text-align: left;
    width: 25%;
    min-width: 320px;
}

.header-date {
    width: 30px;
    text-align: center;
    color: #C1BBA3;
    font-weight: 100;
}

.td-gear-name {
    text-align: left;
}

#calendar-table th {
    background-color: #292C34;
}

.booked {
    background-color: red;
    color: white;
    font-weight: bold;
    text-align: center;
}

.logistics {
    background-color: rgba(255, 0, 0, 0.5);
}

.tag {
    font-size: 0.8em;
    background-color: #eee;
    color: #151619;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 4px;
    margin: 0px 10px 0px 5px;
}


/* Add these rules to your style.css file */

/* Sticky header row */
#calendar-table th {
    position: sticky;
    top: 0;
    background-color: #292C34;
    /* Use your header background color */
    z-index: 2;
}

/* Sticky first column (gear names) */
#calendar-table td.td-gear-name {
    position: sticky;
    left: 0;
    background-color: #292C34;
    /* Set a solid background color so content doesn't show through */
    z-index: 1;
}