:root {
    --primary-color: #2196f3;
    --secondary-color: #1976d2;
    --background-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.employee-info {
    margin-bottom: 20px;
    text-align: center;
}

.employee-name-input {
    padding: 8px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

.employee-name-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.month-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.month-navigation button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.month-navigation button:hover {
    background: var(--secondary-color);
}

.actions {
    margin-top: 30px;
    text-align: center;
}

.pdf-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.pdf-button:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(33, 150, 243, 0.3);
}

.pdf-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}

.pdf-button::before {
    content: '📄';
    margin-right: 8px;
    font-size: 20px;
}

.hours-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

td input[type="time"] {
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    width: 105px;
}

td input[type="time"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

tfoot td {
    font-weight: bold;
    background-color: #f8f8f8;
}

tr:nth-child(even) {
    background-color: #f8f8f8;
}

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

.weekend {
    background-color: #fff0f0; /* Cor mais destacada para domingos */
    color: #666;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    th, td {
        padding: 8px;
    }
    
    td input[type="time"] {
        width: 95px;
    }

    .employee-name-input {
        max-width: 100%;
    }
}
