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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #333;
    padding-bottom: 15px;
}

.header h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 5px;
}

.company-name {
    color: #666;
    font-size: 14px;
}

.user-info {
    text-align: right;
    color: #666;
}

.timer-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.timer-section h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.timer-display {
    font-size: 64px;
    font-weight: bold;
    color: #999;
    text-align: center;
    margin: 30px 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 5px;
}

.timer-display.active {
    color: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.timer-info {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.timer-info p {
    margin: 5px 0;
}

.export-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.export-section h2 {
    color: #333;
    margin-bottom: 15px;
}

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

.form-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.form-row .form-group {
    flex: 1;
}

.month-total {
    background: white;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.entries-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.entries-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.entries-table thead {
    background: #333;
    color: white;
}

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

.entries-table th {
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
}

.entries-table tbody tr:hover {
    background: #f8f9fa;
}

.entries-table tbody tr:last-child td {
    border-bottom: none;
}

.no-entries {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

.form-control-sm {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    margin-right: 5px;
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-start {
    background: #28a745;
    color: white;
    font-size: 18px;
    padding: 15px 40px;
}

.btn-start:hover {
    background: #218838;
}

.btn-stop {
    background: #dc3545;
    color: white;
    font-size: 18px;
    padding: 15px 40px;
}

.btn-stop:hover {
    background: #c82333;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    display: block;
}

.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Login Page Styles */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.login-box h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info {
        text-align: center;
        margin-top: 15px;
    }
    
    .timer-display {
        font-size: 48px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .entries-table {
        font-size: 12px;
    }
    
    .entries-table th,
    .entries-table td {
        padding: 8px 4px;
    }
}
/* Better Mobile Table */
@media (max-width: 768px) {
    .entries-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Make buttons stack vertically */
    .inline-form {
        flex-direction: column;
        gap: 8px;
    }
    
    .form-control-sm {
        width: 100%;
        margin-right: 0;
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 44px;
    }
}
.manual-entry-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.manual-entry-section h2 {
    color: white;
    margin-bottom: 20px;
}

.manual-form {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
}

.manual-entry-section .form-control {
    background: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.manual-entry-section .form-control:focus {
    border-color: white;
}

.manual-entry-section label {
    color: white;
}

