/* WorkBase - New Vacancies Page CSS */
/* Monochrome Theme: Only #ffffff and #000000 */

.vacancies-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    min-height: 100vh;
}

.vacancies-header {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vacancies-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

.vacancies-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.vacancies-subtitle {
    color: #000000;
    opacity: 0.6;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.9);
}

.quick-action-btn.secondary {
    background: transparent;
    color: #000000;
    border-color: rgba(0, 0, 0, 0.25);
}

.quick-action-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
    color: #000000;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 32px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    border-color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) translateY(-3px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #000000;
    opacity: 0.6;
    font-size: 0.9rem;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vacancy-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 32px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.vacancy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.vacancy-card:hover::before {
    transform: scaleX(1);
}

.vacancy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
    border-color: #000000;
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.vacancy-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.vacancy-company {
    color: #000000;
    opacity: 0.7;
    font-size: 1rem;
    font-weight: 600;
}

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    opacity: 0.6;
    font-size: 0.9rem;
}

.meta-item i {
    color: #000000;
    width: 16px;
}

.vacancy-description {
    color: #000000;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.vacancy-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skill-tag {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.skill-tag:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.vacancy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.vacancy-date {
    color: #000000;
    opacity: 0.6;
    font-size: 0.8rem;
}

.vacancy-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 0.5rem 1rem;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
    transform: translateY(-1px);
}

.action-btn.primary {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.action-btn.primary:hover {
    background: rgba(0, 0, 0, 0.9);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 999px;
    padding: 10px 20px;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: 600;
}

.pagination-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.pagination-btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #000000;
    opacity: 0.6;
}

.no-results-icon {
    font-size: 4rem;
    color: #000000;
    opacity: 0.4;
    margin-bottom: 1rem;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.no-results-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .vacancies-container {
        padding: 1rem;
    }

    .vacancies-title {
        font-size: 2rem;
    }

    .vacancies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quick-actions {
        flex-direction: column;
    }
}

