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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f7f8fa;
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
}

.view {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.view.hidden {
    display: none;
    opacity: 0;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffffff;
}

.login-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.login-form-container h2 {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.login-subtitle {
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
}

.login-form {
    margin-bottom: 24px;
}

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

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.login-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1a1a1a;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #2563eb;
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-footer {
    text-align: center;
}

.btn-reset {
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
}

.btn-reset:hover {
    color: #2563eb;
}

.signup-info {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #2563eb;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    border: 1px solid #fecaca;
}

.success-message {
    background: #f0fdf4;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    border: 1px solid #bbf7d0;
}

/* Main Container */
.main-container {
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    padding: 24px 40px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Main Content */
.main-content {
    display: flex;
    flex: 1;
    gap: 24px;
    padding: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Toolbar */
.toolbar {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin-bottom: 20px;
}

.toolbar-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.toolbar-row:last-child {
    margin-bottom: 0;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.search-icon svg {
    display: block;
}

.filter-dropdown {
    position: relative;
}

.filter-btn {
    padding: 10px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.filter-btn svg,
.sort-btn svg {
    display: block;
}

.filter-btn:hover {
    background: #f9fafb;
    border-color: #3b82f6;
}

.filter-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 12px;
    min-width: 200px;
    z-index: 100;
    display: none;
}

.filter-menu.show {
    display: block;
}

.filter-section {
    margin-bottom: 12px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-option:hover {
    background: #f9fafb;
}

.filter-option input[type="checkbox"] {
    margin: 0;
    transform: scale(1.1);
}

.filter-option label {
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    margin: 0;
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    padding: 10px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.sort-btn:hover {
    background: #f9fafb;
    border-color: #3b82f6;
}

.sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 200px;
    z-index: 100;
    display: none;
}

.sort-menu.show {
    display: block;
}

.sort-option {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: #374151;
}

.sort-option:hover {
    background: #f9fafb;
}

.sort-option.active {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 600;
}

.completed-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s ease;
}

.completed-toggle:hover {
    background: #f3f4f6;
}

.completed-toggle input[type="checkbox"] {
    margin: 0;
    transform: scale(1.1);
}

/* Control Panel */
.control-panel {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    width: 320px;
    height: fit-content;
    position: sticky;
    top: 144px;
}

.email-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.email-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7280;
    background: #f9fafb;
}

.logout-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.btn-icon {
    margin-right: 8px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.btn-icon svg {
    display: block;
}

.summary-stats {
    margin-bottom: 24px;
}

.stat-item {
    margin-bottom: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-value.payout {
    color: #059669;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-success {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #ef4444;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

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

/* Employee Cards Container */
.employee-cards-container {
    flex: 1;
    min-width: 0;
}

.employee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    align-content: start;
}

/* Employee Card */
.employee-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.employee-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.employee-card.completed {
    border: 2px solid #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.employee-card.completed:hover {
    border-color: #059669;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.employee-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: #fef2f2;
    opacity: 1;
}

.delete-btn svg {
    display: block;
}

.card-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.metric-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.metric-value.earnings {
    color: #059669;
    font-weight: 700;
}

/* Empty State */
.empty-state {
    text-align: center;
    color: #6b7280;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Container for other views */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

h1 {
    color: #1a1a1a;
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 600;
}

/* Rate Configuration */
.rate-config {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.rate-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rate-config h3 {
    color: #1a1a1a;
    margin: 0;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.rates-table th {
    background-color: #f9fafb;
    color: #374151;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.rates-table td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.rates-table .rate-label {
    background-color: #f9fafb;
    font-weight: 500;
    text-align: left;
    padding-left: 16px;
    color: #374151;
}

.rates-table input {
    width: 100%;
    border: none;
    background: transparent;
    text-align: center;
    padding: 8px;
    font-size: 15px;
}

.rates-table input:focus {
    outline: 2px solid #3b82f6;
    background-color: #fff;
    border-radius: 6px;
}

.overtime-config {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    color: #374151;
}

.overtime-config input {
    width: 70px;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
}

/* Timesheet Styles */
.timesheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.timesheet-notes {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1e40af;
}

.timesheet-notes svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.timesheet-notes kbd {
    display: inline-block;
    padding: 2px 6px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.totals-summary {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.total-item {
    text-align: center;
}

.total-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.total-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.timesheet-grid {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

#timesheetTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#timesheetTable th {
    background-color: #f9fafb;
    color: #374151;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 1px solid #e5e7eb;
}

#timesheetTable td {
    padding: 12px 8px;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Column widths */
.date-col { width: 90px; }
.day-col { width: 50px; }
.holiday-col { width: 60px; }
.time-col { width: 80px; }
.hours-col { width: 70px; }
.rate-col { width: 70px; }
.overtime-col { width: 70px; }
.earnings-col { width: 80px; }
.actions-col { width: 60px; }

#timesheetTable tr:hover {
    background-color: #f9fafb;
}

.time-input {
    border: none;
    background: transparent;
    font-size: 14px;
    padding: 4px 2px;
    width: 100%;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.time-input:focus {
    outline: 1px solid #3b82f6;
    background-color: #fff;
    border-radius: 4px;
}

.total-hours {
    font-weight: 600;
    color: #3b82f6;
    font-size: 14px;
}

.overtime-hours {
    font-weight: 500;
    color: #ef4444;
    font-size: 14px;
}

.holiday-checkbox {
    transform: scale(1.1);
    cursor: pointer;
}

.rate-display {
    font-weight: 500;
    color: #f59e0b;
    font-size: 14px;
}

.earnings-display {
    font-weight: 600;
    color: #059669;
    font-size: 14px;
}

/* User Setup Page Styles */
.reconfigure-section {
    margin-bottom: 24px;
    text-align: center;
}

.btn-reconfigure {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-reconfigure:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.setup-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: #1f2937;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.setup-config-section {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.setup-config-section h3 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.section-description {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

.fields-list-container {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.fields-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.field-item:hover {
    border-color: #3b82f6;
}

.field-item.default-field {
    border-left: 3px solid #10b981;
}

.field-item.custom-field {
    border-left: 3px solid #3b82f6;
}

.field-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-info input[type="text"] {
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    padding: 0;
}

.field-info input[type="text"]:focus {
    outline: 1px solid #3b82f6;
    background-color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
}

.field-status {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

.field-item input[type="checkbox"] {
    transform: scale(1.3);
    margin: 0 15px;
}

.remove-field-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.remove-field-btn:hover {
    background-color: #fef2f2;
}

.remove-field-btn svg {
    display: block;
}

.add-field-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 20px;
}

.add-field-section h4 {
    color: #1a1a1a;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.add-field-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.add-field-form input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}

.setup-actions {
    text-align: center;
    padding: 24px 0;
}

.setup-actions .btn-primary,
.setup-actions .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
    margin: 0 8px;
}

/* Bulk User Table Styles */
.bulk-table-container {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.bulk-user-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.bulk-user-table th {
    background-color: #f9fafb;
    color: #374151;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 1px solid #e5e7eb;
}

.bulk-user-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f3f4f6;
}

.bulk-user-table input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.bulk-user-table input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
}

.bulk-user-table .delete-row-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bulk-user-table .delete-row-btn:hover {
    background: #fef2f2;
}

.bulk-user-table .delete-row-btn svg {
    display: block;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.bulk-actions .btn-secondary {
    padding: 10px 16px;
}

.rate-toggle-section {
    margin-bottom: 20px;
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.rate-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

.rate-toggle-label input[type="checkbox"] {
    width: 40px;
    height: 20px;
    cursor: pointer;
}

.toggle-text {
    color: #6b7280;
    font-weight: 400;
}

.export-options, .column-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.export-options label, .column-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #f9fafb;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.export-options label:hover, .column-options label:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.export-options input[type="checkbox"], .column-options input[type="checkbox"] {
    margin: 0;
}

.add-hours-btn, .remove-hours-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 1px;
    transition: background 0.2s ease;
}

.add-hours-btn:hover {
    background-color: #2563eb;
}

.remove-hours-btn {
    background-color: #ef4444;
}

.remove-hours-btn:hover {
    background-color: #dc2626;
}

.actions-col {
    white-space: nowrap;
}

/* Excel Export Page Styles */
.export-config-section {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.export-config-section h3 {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.export-options {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    background-color: #eff6ff;
    border-color: #3b82f6;
}

.option-card input[type="checkbox"] {
    margin: 0;
    transform: scale(1.3);
}

.option-content {
    flex: 1;
}

.option-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.option-description {
    font-size: 13px;
    color: #6b7280;
}

.column-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.column-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.column-option:hover {
    background-color: #eff6ff;
    border-color: #3b82f6;
}

.column-option input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}

.export-actions {
    text-align: center;
    padding: 24px 0;
}

.export-actions .btn-success,
.export-actions .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
    margin: 0 8px;
}

.date-range-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-input-group label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.date-input-group input[type="date"] {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.date-input-group input[type="date"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.modal-warning-symbol {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-warning-symbol svg {
    display: block;
}

.modal-content h3 {
    color: #1a1a1a;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

.modal-content p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-close-modal {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-close-modal:hover {
    background: #2563eb;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.modal-actions .btn-danger,
.modal-actions .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
    flex: 1;
    max-width: 200px;
}

/* Fixed Footer */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #C21E1B;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    z-index: 1000;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.fixed-footer a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
}

.fixed-footer a:hover {
    opacity: 0.9;
}

.fixed-footer .arrow {
    display: inline-block;
    transform: translateY(1px);
}

/* Add padding to body to prevent content from being hidden behind footer */
body {
    padding-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 16px;
    }
    
    .control-panel {
        width: 100%;
        position: static;
    }
    
    .employee-cards {
        grid-template-columns: 1fr;
    }
    
    .main-header {
        padding: 16px;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .timesheet-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .timesheet-header h1 {
        margin-bottom: 0;
    }
    
    #timesheetTable {
        font-size: 13px;
    }
    
    #timesheetTable th,
    #timesheetTable td {
        padding: 8px 4px;
    }
    
    .time-input {
        font-size: 13px;
    }
    
    .column-options {
        grid-template-columns: 1fr;
    }
    
    .setup-actions .btn-primary,
    .setup-actions .btn-secondary,
    .export-actions .btn-success,
    .export-actions .btn-secondary {
        width: 100%;
        margin: 5px 0;
    }
    
    .setup-tabs {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        text-align: left;
    }
    
    .bulk-actions {
        flex-direction: column;
    }
    
    .bulk-actions .btn-secondary {
        width: 100%;
    }
    
    .add-field-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .add-field-form input[type="text"] {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .btn-primary, .btn-secondary, .btn-success {
        width: 100%;
        margin: 5px 0;
    }
    
    #timesheetTable {
        font-size: 12px;
    }
    
    #timesheetTable th,
    #timesheetTable td {
        padding: 6px 2px;
    }
    
    .date-col { width: 70px; }
    .day-col { width: 40px; }
    .holiday-col { width: 45px; }
    .time-col { width: 65px; }
    .hours-col { width: 55px; }
    .rate-col { width: 55px; }
    .overtime-col { width: 55px; }
    .earnings-col { width: 65px; }
    .actions-col { width: 50px; }
}
