body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
}

#file-upload {
    margin-bottom: 20px;
}

#drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 480px;
    padding: 20px;
    text-align: center;
}

#drop-area.highlight {
    border-color: purple;
}

#fileInput {
    display: none;
}

button {
    padding: 10px 20px;
    margin: 10px 0;
    cursor: pointer;
}

#schedule-display {
    margin-top: 20px;
}

#rule-violations {
    margin-top: 20px;
    color: red;
}

.table-container {
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.attribute-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.attribute-pill {
    background-color: #e0e0e0;
    border-radius: 16px;
    padding: 4px 8px;
    font-size: 12px;
    white-space: nowrap;
}

.data-table td {
    vertical-align: top;
}

#schedule-container {
    margin-top: 20px;
}

#schedule-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.schedule-date {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
}

.schedule-date h3 {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.schedule-date ul {
    list-style-type: none;
    padding-left: 0;
}

.schedule-date li {
    margin-bottom: 5px;
}

.date-violations {
    margin-top: 10px;
    padding: 5px;
    background-color: #fff0f0;
    border: 1px solid #ffcccb;
    border-radius: 3px;
}

.date-violations li {
    margin-bottom: 5px;
    font-size: 0.9em;
}

.date-violations strong {
    color: #d32f2f;
}

#global-violations {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
}

#global-violations h3 {
    margin-top: 0;
    color: #333;
}

#global-violations ul {
    list-style-type: none;
    padding-left: 0;
}

#global-violations li {
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

#global-violations li:last-child {
    border-bottom: none;
}

#global-violations strong {
    color: #d32f2f;
}

/* ... existing styles ... */

.rule-type-helper {
    cursor: pointer;
    color: #007bff;
    font-weight: bold;
}

.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
}

#closeModal {
    margin-top: 20px;
}