/* General Form Styles - Minimal, let theme handle most styling */
.tc-form-group {
    margin-bottom: 20px;
}

.tc-form-group label {
    display: block;
    margin-bottom: 8px;
}

.tc-form-group input[type="text"],
.tc-form-group input[type="email"],
.tc-form-group input[type="password"],
.tc-form-group input[type="tel"],
.tc-form-group textarea,
.tc-form-group select {
    width: 100%;
}

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

/* Button - Let theme style it */
.tc-button {
    /* Theme will handle button styling */
}

/* Alert/Message Styles */
.tc-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.tc-alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.tc-alert-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.tc-alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.tc-alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* Field-specific error messages */
.tc-field-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Dashboard Styles (will be expanded in Phase 5) */
.tc-dashboard {
    padding: 30px;
}

.tc-dashboard-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tc-dashboard-header h2 {
    margin: 0;
    color: #333;
}

/* Job Card Styles */
.tc-job-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.tc-job-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tc-job-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.tc-job-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.tc-job-meta span {
    margin-right: 15px;
}

/* Application List Styles */
.tc-applications-list {
    margin-top: 20px;
}

.tc-application-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
}

.tc-application-item.unread {
    background: #e7f3ff;
    border-left-color: #ff9800;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .tc-dashboard {
        padding: 15px;
    }
}

/* Loading Spinner */
.tc-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: tc-spin 1s linear infinite;
}

@keyframes tc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hidden class */
.tc-hidden {
    display: none !important;
}
