/* ============================================
   Job Board Styles
   ============================================ */

.job-filters {
    margin-bottom: 2rem;
}

.job-filters .form-control,
.job-filters .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.job-filters .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.job-filters .form-control:focus,
.job-filters .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--dotnet-accent);
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
    color: #fff;
    outline: none;
}

.job-filters .form-select option {
    background: var(--dotnet-dark);
    color: #fff;
}

/* Job Card */
.job-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--dotnet-accent);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
}

.job-card-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.job-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.job-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.job-card-company {
    color: var(--dotnet-accent);
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.job-card-company i {
    margin-right: 8px;
}

.job-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.job-detail {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.job-detail i {
    margin-right: 4px;
}

.job-card-salary {
    color: #4ade80;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.job-card-salary i {
    margin-right: 4px;
}

.job-card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.job-card-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: auto;
}

.job-card-footer small {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
}

.job-card-footer small i {
    margin-right: 4px;
}

/* Tech Tags */
.tech-tag {
    background: rgba(139, 92, 246, 0.2);
    color: var(--dotnet-accent);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--dotnet-accent);
}

/* Button Styles */
.btn-primary {
    background: var(--dotnet-accent);
    border-color: var(--dotnet-accent);
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #5e30a8;
    border-color: #5e30a8;
    transform: translateX(4px);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Empty State */
.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 24px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .job-card {
        padding: 20px;
    }

    .job-card-title {
        font-size: 1.1rem;
    }

    .job-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .job-card-footer .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .job-filters .col-md-4 {
        margin-bottom: 12px;
    }
}

/* Animation for cards entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: fadeInUp 0.5s ease-out;
}
