.leave-section {
    margin-top: 2.5rem;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(183,28,28,0.06);
}

.leave-section h2 {
    color: #b71c1c;
    margin-bottom: 1.2rem;
}

#submit-leave-btn {
    background: #b71c1c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.8rem 1.5rem;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 1.5rem;
}

#submit-leave-btn:hover {
    background: #d32f2f;
}

#leave-list table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

#leave-list th, #leave-list td {
    border: 1px solid #e0e0e0;
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 1rem;
}

#leave-list th {
    background: #b71c1c;
    color: #fff;
    font-weight: 600;
}

#leave-list .withdraw-btn {
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.2s;
}

#leave-list .withdraw-btn:hover {
    background: #e67e22;
}

#leave-list .withdraw-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#leave-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#leave-form label {
    font-weight: bold;
    color: #333;
}

#leave-form input, #leave-form select {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

#leave-form button {
    padding: 0.8rem 1.5rem;
    background-color: #b71c1c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1em;
    align-self: flex-end;
}

#leave-form button:hover {
    background-color: #d32f2f;
}
