/* TWT Job Board Plugin Styles */

/* Application success/error messages */
.twt-msg--success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.twt-msg--error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Loading spinner on buttons */
.twt-btn--loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.twt-btn--loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: twt-spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes twt-spin {
    to { transform: rotate(360deg); }
}

/* Job single page */
.twt-job-single {
    max-width: 800px;
    margin: 0 auto;
}

.twt-job-single__header {
    margin-bottom: 30px;
}

.twt-job-single__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.twt-job-single__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--twt-cream, #FAF8F5);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--twt-gray, #6B7280);
}

.twt-job-single__body {
    margin-bottom: 30px;
    line-height: 1.8;
}

.twt-job-single__body h2,
.twt-job-single__body h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.twt-job-single__sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .twt-job-single__sidebar {
        grid-template-columns: 1fr;
    }
}
