.csa-job-wrapper {
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Title */
.csa-job-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 0px;
}

.csa-job-description h3 {
    font-size: larger;
    font-weight: 700;
    color: #2d2d2d !important;
    margin-bottom: 1.6em;
    margin-top: 1.6em;
}

.csa-job-meta p {
    margin-bottom: 0px;
}


/* Company */
.csa-job-company {
    font-size: 14px;
    color: #555;
}

/* Divider */
.csa-divider {
    border-bottom: 2px solid #e4e2e0;
    margin: 20px 0;
}

/* Buttons */
.csa-main-btn {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csa-apply-btn {
    background: #2d5fa7;
    color: #fff;
    border: none;
}

.csa-copy-btn {
    background: #e4e2e0;
    color: #070707;
    border: none;
    border-radius: 2px;
}

/* Layout */
.csa-action-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csa-bottom-actions {
    margin-top: 20px;
}

/* Icon */
.csa-copy-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.csa-btn-icon img {
    width: 18px;
    height: 18px;
}

/* SUCCESS MESSAGE */
.csa-copy-success {
    display: none; /* FIX SPACE ISSUE */

    align-items: center;
    gap: 10px;

    background: #d4edda;
    color: #155724;

    padding: 12px;
    margin-top: 10px;

    border-radius: 6px;
    font-size: 14px;

    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.csa-copy-success.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.csa-success-icon {
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
}

/* FIXED APPLY */
.csa-fixed-apply {
    position: fixed;
    bottom: 0;
    left: 30px;
    right: 30px;

    z-index: 999999;
    padding: 10px;

    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.csa-fixed-apply.active {
    transform: translateY(0);
    opacity: 1;
}

.csa-desktop-apply {
    display: block;
}

@media (max-width: 768px) {
    .csa-desktop-apply {
        display: none;
    }
}

/* DESKTOP */
@media (min-width: 769px) {
    .csa-fixed-apply {
        display: none;
    }
    .csa-bottom-actions {
        display: none;
    }
}

/* ========================= */
/* DEFAULT (DESKTOP FIRST) */
/* ========================= */

/* Hide mobile sticky button on desktop */
.csa-fixed-apply {
    display: none;
}

/* Show desktop button by default */
.csa-job-header .csa-apply-btn {
    display: block;
}


/* ========================= */
/* MOBILE VIEW */
/* ========================= */
@media (max-width: 768px) {

    /* Hide desktop apply button */
    .csa-job-header .csa-apply-btn {
        display: none !important;
    }

    /* Show mobile sticky apply */
    .csa-fixed-apply {
        display: block;
    }

    body.csa-modal-open .csa-fixed-apply {
        display: none !important;
    }
}

body.csa-modal-open .csa-fixed-apply {
    display: none !important;
}

.csa-badge-container {
    width: 100%;
}

.csa-detail-badge {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csa-detail-badge-label {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 16px;
    font-weight: 600;
    color: #555;
}

.csa-detail-badge-value {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
}