.jb-suite-job-card {
    border: 1px solid #e5e1d9;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

button.jb-suite-favorite-remove {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
    cursor: pointer;
    height: fit-content;
}

.jb-suite-favorite-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jb-suite-job-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jb-suite-job-card h3 a,
.jb-suite-app-card h3 a {
    text-decoration: none;
    color: inherit;
}

.jb-suite-job-card h3 a:hover,
.jb-suite-job-card h3 a:focus,
.jb-suite-app-card h3 a:hover,
.jb-suite-app-card h3 a:focus {
    text-decoration: underline;
}

.jb-suite-job-meta {
    display: flex;
    gap: 12px;
    color: #6b7280;
    font-size: 13px;
    flex-wrap: wrap;
}

.jb-suite-job-sub {
    margin-top: 0;
    color: #6b7280;
    font-size: 12px;
}

.jb-suite-job-status {
    font-size: 12px;
    color: #1b5e20;
    font-weight: 600;
}

.jb-suite-job-status.is-danger {
    color: #b91c1c;
}

.jb-suite-job-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.jb-suite-app-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jb-suite-app-status {
    font-size: 12px;
    font-weight: 600;
    color: #1b5e20;
}

.jb-suite-app-status.is-pending {
    color: #b45309;
}

.jb-suite-app-status.is-danger {
    color: #b91c1c;
}

.jb-suite-app-actions {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    cursor: pointer;
}

.jb-suite-app-view {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jb-suite-job-actions-menu {
    position: relative;
}

.jb-suite-job-apps {
    color: #2563eb;
    font-weight: 600;
}

.jb-suite-job-actions {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    cursor: pointer;
}

.jb-suite-job-actions-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e5e1d9;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    display: none;
    min-width: 160px;
    z-index: 10;
    padding: 6px 0;
}

.jb-suite-job-actions-menu.is-open .jb-suite-job-actions-dropdown {
    display: block;
}

.jb-suite-job-actions-dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #1f2937;
    font-size: 13px;
}

.jb-suite-job-actions-dropdown a:hover {
    background: #f8fafc;
}

.jb-suite-auto-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.jb-suite-auto-share h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.jb-suite-auto-share p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.jb-suite-jobs-secondary {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 700px) {
    .jb-suite-job-card,
    .jb-suite-app-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .jb-suite-job-side,
    .jb-suite-app-side {
        align-items: center;
    }
}
