/* Timeclock Reports Styles */

.timeclock-form {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.timeclock-form h3 {
    margin-top: 0;
    color: #333;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: inline-block;
    width: 120px;
    font-weight: bold;
}

.form-row input[type="date"],
.form-row input[type="text"],
.form-row select {
    width: 200px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.timeclock-report {
    margin-top: 20px;
}

.timeclock-report h4 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.timeclock-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.timeclock-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.timeclock-table tr:hover {
    background-color: #f9f9f9;
}

.timeclock-table .minutes-late {
    font-weight: bold;
    color: #d63638;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-row label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .timeclock-table {
        font-size: 14px;
    }
    
    .timeclock-table th,
    .timeclock-table td {
        padding: 8px;
    }
}

/* Loading states */
.timeclock-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.timeclock-error {
    background: #ffebe8;
    border: 1px solid #d63638;
    color: #d63638;
    padding: 10px;
    border-radius: 3px;
    margin: 10px 0;
}

.timeclock-success {
    background: #e8f5e8;
    border: 1px solid #00a32a;
    color: #00a32a;
    padding: 10px;
    border-radius: 3px;
    margin: 10px 0;
}
