body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 15px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #1a73e8;
    text-align: center;
    font-size: 1.8em;
    font-weight: 500;
    margin: 15px 0;
}

.debug-info {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-bottom: 10px;
}

.filter-section {
    margin-bottom: 20px;
    text-align: center;
}

.filter-section form {
    display: inline-block;
}

.filter-section select {
    padding: 10px;
    font-size: 1em;
    width: 100%;
    max-width: 250px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    transition: border-color 0.3s;
}

.filter-section select:focus {
    border-color: #1a73e8;
    outline: none;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}

th {
    background-color: #1a73e8;
    color: #fff;
    font-weight: 500;
}

tr:hover {
    background-color: #f5f7fa;
}

a.whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

a.whatsapp-link:hover {
    color: #128c7e;
    text-decoration: underline;
}

.drag-button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.drag-button:hover {
    background-color: #1557b0;
}

.draggable-container {
    position: relative;
    cursor: move;
}

.calendar-section {
    margin: 20px 0;
}

.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar th {
    background-color: #1a73e8;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 0.9em;
}

.calendar td {
    border: 1px solid #e0e0e0;
    padding: 8px;
    text-align: center;
    height: 80px;
    vertical-align: top;
    position: relative;
    font-size: 0.85em;
}

.calendar td.today {
    background-color: #ffeb3b;
}

.calendar td.birthday {
    background-color: #e8f0fe;
}

.birthday-names {
    font-size: 0.75em;
    color: #d81b60;
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-section {
    margin: 20px 0;
    text-align: center;
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    height: 300px;
}

@media screen and (max-width: 600px) {
    body {
        padding: 10px;
        font-size: 14px;
    }

    h1, h2 {
        font-size: 1.4em;
    }

    .filter-section select {
        max-width: 100%;
    }

    th, td {
        padding: 8px;
        font-size: 0.8em;
    }

    .calendar td {
        height: 50px;
        font-size: 0.7em;
    }

    .birthday-names {
        font-size: 0.65em;
    }

    .chart-container {
        height: 200px;
    }

    a.whatsapp-link {
        font-size: 0.8em;
    }

    .drag-button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}