.cm-applied-jobs-wrapper {
    font-family: Arial, sans-serif;
    color: #111;
}

.cm-applied-jobs-filters {
    margin-bottom: 15px;
    display: flex;
    max-width : 550px;
}

.cm-applied-jobs-filters input,
.cm-applied-jobs-filters select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    margin-right: 10px;
}

/* Header Row */
.cm-job-header {
    display: flex;
    background: #f5f5f5;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    margin-bottom: 6px;
}

.cm-job-header .cm-job-main {
    flex: 2 1 300px;
}

.cm-job-header .cm-job-column {
    flex: 1 1 120px;
}

.cm-applied-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cm-job-row {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    align-items: flex-start;
}

.cm-job-main {
    flex: 2 1 300px;
    margin-bottom: 8px;
}

.cm-job-title {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.cm-job-deadline {
    font-size: 13px;
    color: #555;
}

.cm-job-column {
    flex: 1 1 120px;
    font-size: 13px;
    margin-bottom: 8px;
}

.cm-job-action {
    flex: 1 1 150px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cm-btn {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: #064e3b;
    color: #fff;
}

.cm-applied {
    background: #9ca3af;
    cursor: not-allowed;
}


/*=====Apllied Message===== */

/* Modal overlay */
.cm-confirm-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.cm-confirm-modal.active {
    display: flex;
}


/* Modal content */
.cm-confirm-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    font-family: sans-serif;
    position: fixed; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); z-index:9999;
}

.cm-confirm-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Modal buttons */
.cm-confirm-buttons .cm-btn {
    padding: 8px 20px;
    margin: 0 10px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
}

.cm-confirm-buttons .confirm-yes {
    background-color: #16a34a;
    color:#fff;
}

.cm-confirm-buttons .confirm-no {
    background-color: #f87171;
    color:#fff;
}

/* Messages */
#cm-job-messages {
    position: fixed;
    bottom: 20px;
    left:50%;
    transform: translateX(-50%);
    z-index:9999;
}

.cm-job-msg {
    background: #16a34a;
    color:#fff;
    padding:10px 20px;
    border-radius:6px;
    margin-top:10px;
    font-weight:bold;
    opacity:0;
    transition: opacity 0.5s ease-in-out;
}

.cm-job-msg.show {
    opacity:1;
}
.cm-job-msg.error { background:#ef4444; }
.cm-job-msg.warning { background:#facc15; color:#000; }

.cm-confirm-modal {
    display: none;
}