/* jobalert.css - Unique Job Alert Gradient Card */

.job-alert-card {
    max-width: 600px;
    margin: 18px auto;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f172a 0%, #0b1220 30%, #0b3b6f 60%, #0b6f8f 100%);
    color: #f8fafc;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform .18s ease, box-shadow .18s ease;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.job-alert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.65);
}

.job-alert-icon {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.job-alert-icon svg {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.job-alert-body {
    flex: 1;
    min-width: 0;
}

.job-alert-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.job-alert-title {
    color: #fff !important;

    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.2px;
}
h3
{
        color: #fff !important;
}

.job-alert-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.job-alert-badge {
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.job-alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd166;
    box-shadow: 0 2px 6px rgba(255, 209, 102, 0.25);
}

.job-alert-message {
    margin: 12px 0 8px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

.job-alert-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.95;
}

.job-alert-location {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.job-alert-apply {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    justify-content: center;
}

.job-alert-btn {
    background: linear-gradient(90deg, #ffd166, #ff8c42);
    color: #081127;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.18);
    transition: transform .12s ease;
}

.job-alert-btn:hover {
    transform: translateY(-3px);
}

.job-alert-small {
    font-size: 12px;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width:640px) {
    .job-alert-card {
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .job-alert-apply {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .job-alert-icon {
        margin: 0 auto;
    }

    /* Mobile font adjustments */
    .job-alert-title {
        font-size: 16px;
    }

    .job-alert-message {
        font-size: 14px;
    }

    .job-alert-badge {
        font-size: 12px;
        padding: 5px 8px;
    }

    .job-alert-small {
        font-size: 11px;
    }
}