/* Common Styles */
.tc-employee-profile,
.tc-performance-reviews {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
}
.tc-file-uploads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-file-input {
    padding: 8px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background: #f8f9fa;
}

.tc-file-input::-webkit-file-upload-button {
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}
/* Employee Profile Styles */
.tc-profile-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.tc-profile-info {
    display: grid;
    gap: 1rem;
}

.tc-profile-info p {
    margin: 0;
    padding: 10px 0;
}

.tc-profile-info strong {
    color: #34495e;
    min-width: 120px;
    display: inline-block;
}

/* Performance Reviews Styles */
.tc-review-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.tc-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tc-review-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.tc-rating {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}
.positive-rating {
    color: #2ecc71;
    font-weight: bold;
}

.negative-rating {
    color: #e74c3c;
    font-weight: bold;
}

/* Reviews Table Styles */
.tc-reviews-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.tc-reviews-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

.tc-reviews-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.tc-reviews-table tr:last-child td {
    border-bottom: none;
}

.tc-reviews-table tr:hover {
    background-color: #f8f9fa;
}

.sort-link {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sort-link:hover {
    color: #3498db;
}

.sort-link:after {
    content: "↕";
    margin-left: 5px;
    font-size: 0.8em;
}

.positive-rating {
    color: #2ecc71;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.negative-rating {
    color: #e74c3c;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    display: inline-block;
}

/* Responsive Table */
@media (max-width: 768px) {
    .tc-reviews-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tc-reviews-table th,
    .tc-reviews-table td {
        padding: 12px;
    }
}
.tc-review-content {
    color: #555;
}

.tc-review-notes {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tc-reviewer {
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tc-employee-profile,
    .tc-performance-reviews {
        margin: 1rem;
        padding: 15px;
    }

    .tc-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tc-rating {
        align-self: flex-start;
    }
}
/* Add these styles to your existing CSS file */
.tc-frontend-review-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 25px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.tc-frontend-review-form h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.tc-form-field {
    margin-bottom: 1.5rem;
}

.tc-form-field label {
    display: block;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tc-form-field select,
.tc-form-field input[type="number"],
.tc-form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.tc-form-field select:focus,
.tc-form-field input[type="number"]:focus,
.tc-form-field textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
    background: #fff;
}

.tc-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.tc-form-submit {
    margin-top: 2rem;
}

.tc-form-submit input[type="submit"] {
    background: #3498db;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tc-form-submit input[type="submit"]:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tc-form-submit input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tc-frontend-review-form {
        margin: 1rem;
        padding: 15px;
    }
    
    .tc-form-field select,
    .tc-form-field input[type="number"],
    .tc-form-field textarea {
        padding: 10px;
    }
}