.tc-time-card-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.tc-tabs-nav {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #ecf0f1;
    margin-bottom: 25px;
}

.tc-tab-link {
    padding: 12px 20px;
    text-decoration: none;
    color: #7f8c8d;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.tc-tab-link:hover {
    color: #34495e;
    border-bottom: 2px solid #bdc3c7;
}

.tc-tab-link.active {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
}

.tc-tab-content {
    padding: 20px 0;
}

.tc-button-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
    display: flex;
    gap: 15px;
}

/* 2. Time Card - Time Card Tab
   ========================================================================== */
   .tc-compensation-info {
    font-size: 1.1em;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
}
.salary-badge, .hourly-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: white;
    margin-right: 10px;
}
.salary-badge {
    background-color: #2271b1;
}
.hourly-badge {
    background-color: #5b9dd9;
}
.time-value-note {
    font-size: 12px;
    font-style: italic;
    color: #666;
    margin-top: 5px;
    margin-bottom: 20px;
}
.salary-note {
    font-size: 12px;
    font-style: italic;
    color: #666;
}

/* 3. Time Card - Profile Tab
   ========================================================================== */
   .tc-profile-content {
    max-width: 800px;
    margin: 0 auto;
}
.tc-profile-section {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.tc-profile-section h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.form-table th {
    width: 200px;
    padding: 15px 10px 15px 0;
    text-align: left;
    vertical-align: top;
}
.form-table td {
    padding: 15px 10px;
}
.salary-badge {
    background-color: #2271b1;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: normal;
}
.hourly-badge {
    background-color: #5b9dd9;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: normal;
}

/* 4. Time Card - Salary History
   ========================================================================== */
   .current-rate-section {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.current-rate-display {
    margin-top: 10px;
    display: flex;
    align-items: center;
}
.rate-amount {
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
    margin-left: 10px;
}
.rate-label {
    margin-left: 5px;
    color: #666;
}
.employee-type-badge {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 14px;
    color: white;
    font-weight: normal;
}
.employee-type-badge.small {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 5px;
}
.salary-badge {
    background-color: #2271b1;
}
.hourly-badge {
    background-color: #5b9dd9;
}
.salary-history-section {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
}
.tc-salary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.tc-salary-table th,
.tc-salary-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}
.tc-salary-table th {
    background: #f8f9fa;
    font-weight: 600;
}
.positive-change {
    color: #28a745;
    font-weight: 500;
}
.negative-change {
    color: #dc3545;
    font-weight: 500;
}
.start-rate {
    color: #666;
    font-style: italic;
}
.no-history {
    color: #666;
    font-style: italic;
    padding: 20px 0;
}

/* 5. Time Card - Credit Card Tab
   ========================================================================== */
.yearly-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.yearly-totals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.yearly-total-item {
    background: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yearly-total-item.grand-total {
    grid-column: 1 / -1;
    background: #2271b1;
    color: white;
}

.year-section {
    margin-bottom: 30px;
}

.tc-expense-table {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.expense-header {
    background: #f5f5f5;
    font-weight: bold;
    display: flex;
}

.expense-row {
    display: flex;
    border-top: 1px solid #ddd;
}

.expense-cell {
    padding: 12px;
    flex: 1;
}

.expense-cell.amount {
    text-align: right;
}

.expense-footer {
    display: flex;
    background: #f5f5f5;
    font-weight: bold;
    border-top: 2px solid #ddd;
}