* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

h1 {
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #388e3c;
    color: white;
    font-size: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    height: 92vh;
    padding: 10px;
    gap: 10px;
}

.left-side {
    width: 50%;
    height: 92vh;
    overflow-y: auto;
    border-right: 2px solid #ddd;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}


#name-list {
    overflow-y: auto; /* Allow scrolling if content exceeds height */
    margin-bottom: 10px;
    height: 365px;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

#notice-type {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}


.absences h2,
.notices h2 {
    font-size: 18px;
    margin-top: 15px;
    color: #4CAF50;
}

#notice-list,
#absence-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin-bottom: 10px;
}

#notice-list li,
#absence-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#notice-list li:hover,
#absence-list li:hover {
    background-color: #e0e0e0;
}

#notice-list .remove-notice,
#absence-list .remove-absence {
    cursor: pointer;
    color: red;
    font-weight: bold;
    transition: color 0.3s ease;
}

#notice-list .remove-notice:hover,
#absence-list .remove-absence:hover {
    color: darkred;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

#new-entry {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

#new-entry:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

#add-entry {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#add-entry:hover {
    background-color: #45a049;
}

#search {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

#search:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.left-side ul {
    list-style: none;
}

.left-side li {
    padding: 10px;
    margin: 5px 0;
    background-color: #f0f0f0;
    cursor: grab;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.left-side  #name-list li:hover {
    background-color: #e0e0e0;
    transform: translateX(5px);
}

.right-side {
    width: 50%;
    height: 92vh;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    justify-content: space-around;
}

.column {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;

}

.placeholder-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.date.active {
    background: #FF9800;
}
.placeholder {
    border: 2px dashed #ccc;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    position: relative;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.placeholder.dragover {
    border-color: #4CAF50;
    background-color: #e8f5e9;
}

.placeholder .remove {
    cursor: pointer;
    color: red;
    font-weight: bold;
    transition: color 0.3s ease;
}

.placeholder .remove:hover {
    color: darkred;
}

.team-block {
    height: 50px;
    width: 100%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-block.active {
    background: #FF9800;
}

/* style.css */
.additional-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.additional-options .tabs-tabs-section {
    width: 100%;
    display: flex;
    gap: 10px;
    justify-items: left;
}

.additional-options .tabs-tabs-section > div[id^="tab-"] {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.additional-options .tabs-tabs-section > div[id^="tab-"]:hover {
    background-color: #45a049;
}

.additional-options .tabs-tabs-section > div[id^="tab-"].active {
    background-color: #388e3c;
}

.additional-options .tabs-content-section > div[rel] {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: none;
}

.additional-options .tabs-content-section > div[rel] ul {
    list-style: none;
    padding: 0;
}

.additional-options .tabs-content-section > div[rel] ul li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.additional-options .tabs-content-section > div[rel] ul li:last-child {
    border-bottom: none;
}

.additional-options .tabs-content-section > div[rel] p {
    margin: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
}