/* Career Portal Frontend Styles - Simple & Clean Design */
.post-entry ul li {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 400!important;
    line-height: 0.6em!important;
    color: var(--e-global-color-text);
}
.job-post h3{
	color:#111!important;
}
.cpp-job-detail-meta span{
	color:#111!important;
	font-weight:500!important;
}
.post-entry h3, {
    color: #fff!important;
}
.cpp-form-group input,
.cpp-form-group textarea {
    width: 100%;
    max-width: 100%;
    
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;

    font-size: 14px;
}
.cpp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
/* Header container */
.job-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;

}

/* Title */
.job-modal-title {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #111!important;
}


.cpp-career-portal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: transparent;
}


/* Page Title */
.cpp-page-title {
    text-align: center;
    padding: 40px 20px 30px;
    background: transparent;
}

.cpp-page-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

/* Search Section */
.cpp-search-section {
    background: transparent;
    padding: 20px 0 30px;
}

.cpp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cpp-search-bar {
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.cpp-search-input-group {
    flex: 1;
    position: relative;
}

.cpp-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #64748b;
}

.cpp-search-input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

.cpp-search-input:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.1);
}

.cpp-location-select-group {
    min-width: 220px;
}

.cpp-location-select {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.cpp-location-select:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.1);
}

/* Jobs Section */
.cpp-jobs-section {
    padding: 20px 0 50px;
    background: transparent;
}

.cpp-jobs-list {
    display: grid;
    gap: 20px;
}

/* Job Card - Simple & Clean Design */
.cpp-job-card {
    background: #4B0F24;
    padding: 20px 25px;
    border-radius: 30px;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border: 1px solid #5a1a2e;
}

.cpp-job-card:hover {
    border-color: #6b2438;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.cpp-job-header {
    flex: 1;
}

.cpp-job-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 0 0!important;
	margin-bottom:6px!important;
    color: #e5e7eb;
}

.cpp-job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cpp-job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d1d5db;
    font-size: 14px;
}

.cpp-job-meta-item i {
    font-size: 14px;
    color: #fbbf24;
}

.cpp-job-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Buttons */
.cpp-btn {
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cpp-btn-view {
    background: #fbbf24;
    color: #1e293b;
    padding: 10px 14px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
    border: 2px solid transparent;
}

.cpp-btn-view:hover {
    background: transparent;
    color: #FFCB05 !important;
    border-color: #FFCB05!important;
    transform: scale(1.05);
}

.cpp-btn-view i {
    transition: all 0.3s ease;
}

.cpp-btn-apply {
    background: #fbbf24;
    color: #1e293b;
    min-width: 100px;
	padding :8px!important;
    border: 2px solid transparent;
}

.cpp-btn-apply:hover {
    background: transparent;
    color: #FFCB05 !important;
    border-color: #FFCB05;
    transform: scale(1.05);
}

.cpp-btn-primary {
    background: #0f766e;
    color: #fff;
}

.cpp-btn-primary:hover {
    background: #115e59;
}

.cpp-btn-secondary {
    background: #e2e8f0;
    color: #475569;
}

.cpp-btn-secondary:hover {
    background: #cbd5e1;
}

/* Modal */
.cpp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.cpp-modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cpp-modal-close {
    color: #111!important;
    float: right;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.cpp-modal-close:hover {
    color: #1e293b;
}

.cpp-modal h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #1e293b;
    font-size: 28px;
}

/* Application Form */
.cpp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cpp-form-group {
    display: flex;
    flex-direction: column;
}

.cpp-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.cpp-form-group input,
.cpp-form-group select,
.cpp-form-group textarea {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.cpp-form-group input:focus,
.cpp-form-group select:focus,
.cpp-form-group textarea:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.cpp-full-width {
    grid-column: 1 / -1;
}

.cpp-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
}

/* Success Message */
.cpp-success-message {
    text-align: center;
    padding: 40px 20px;
}

.cpp-success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

.cpp-success-message h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.cpp-success-message p {
    color: #64748b;
    margin-bottom: 30px;
}

/* Job Detail Modal with Slider */
.cpp-job-detail-content {
    max-width: 900px;
    max-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Fixed Header */
.cpp-job-detail-fixed-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 0px 30px!important;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
	border-radius: 30px 30px 0px 0px!important;
}

.cpp-job-detail-fixed-header h2 {
    margin: 10px!important;
    font-size: 20px!important;
    color: #111!important;
    font-weight: 600;
}

.cpp-job-detail-fixed-header .cpp-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: all 0.3s;
}

.cpp-job-detail-fixed-header .cpp-modal-close:hover {
    color: #1e293b;
    transform: rotate(90deg);
}

/* Scrollable Body */
.cpp-job-detail-body-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 0 30px 20px;
}

/* Custom scrollbar for body */
.cpp-job-detail-body-wrapper::-webkit-scrollbar {
    width: 8px;
}

.cpp-job-detail-body-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.cpp-job-detail-body-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.cpp-job-detail-body-wrapper::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Fixed Footer */
.cpp-job-detail-fixed-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 10px 30px!important;
    border-top: 1px solid #e5e7eb;
    text-align: right!important;
    z-index: 10;
	border-radius: 0px 0px 30px 30px;
}

.cpp-job-detail-fixed-footer .cpp-btn {
    min-width: 200px;
    padding: 12px 30px;
    font-size: 16px;
}

.cpp-job-detail-header {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.cpp-job-detail-header h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #111!important;
    font-weight: 700;
}

.cpp-job-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.cpp-job-detail-meta span {
    color: #64748b;
    font-size: 14px;
}

.cpp-job-detail-meta strong {
    color: #1e293b;
}

.cpp-job-detail-body {
    margin-bottom: 30px;
}

.cpp-job-section {
    margin-bottom: 30px;
}

.cpp-job-section h4 {
    color: #111!important;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cpp-job-content {
    color: #475569;
    line-height: 1.8;
}

.cpp-job-content ul,
.cpp-job-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.cpp-job-content li {
    margin-bottom: 8px;
}

/* No Jobs / No Results */
.cpp-no-jobs,
.cpp-no-results {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
}

.cpp-no-jobs h3,
.cpp-no-results {
    color: #475569;
    margin-bottom: 10px;
}

.cpp-no-jobs p {
    color: #94a3b8;
}

/* Loading State */
.cpp-loading {
    text-align: center;
    padding: 40px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .cpp-page-title h1 {
        font-size: 28px;
    }
    
    .cpp-search-bar {
        flex-direction: column;
    }
    
    .cpp-location-select-group {
        width: 100%;
    }
    
    .cpp-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cpp-job-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .cpp-form-grid {
        grid-template-columns: 1fr;
    }
    
    .cpp-modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
    
    .cpp-job-detail-meta {
        grid-template-columns: 1fr;
    }
    
    .cpp-job-detail-content {
        padding: 20px;
    }
}
