/**
 * WLJP Modern Job Portal Styles (Skin Only - preserving layout)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.wljp {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: #1e293b;
    line-height: 1.6;
}

/* Container & Section styling */
.wljp-job {
    background: transparent;
    padding: 30px 0;
}

/* Header / Heading Section */
.wljp-job-heading {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05), 0 8px 30px -10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid #f1f5f9;
}

.wljp-job-heading h1.page-header {
    border-bottom: none !important;
    font-weight: 700;
    color: #0f172a;
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

/* Navigation Links (Right aligned) */
.wljp-navigation-link {
    color: #64748b !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-bottom: 1.5px solid #e2e8f0 !important;
    padding-bottom: 4px;
    display: inline-block;
    font-size: 0.9rem;
}

.wljp-navigation-link:hover {
    color: #4f46e5 !important;
    border-bottom-color: #4f46e5 !important;
    transform: translateX(-3px);
}

/* Meta Data Pills */
.wljp-job-meta-data {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.wljp-job-meta-data span {
    background: #f8fafc;
    color: #475569 !important;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #f1f5f9;
    font-weight: 500;
}

.wljp-job-meta-data i {
    color: #4f46e5;
    font-size: 1rem;
}

/* Skills & Posted Date Section */
.wljp-job-skills-posted-date {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wljp-skill {
    font-weight: 600;
    color: #1e293b;
}

.wljp-job-skill-link {
    background: #eef2ff;
    color: #4f46e5 !important;
    border-radius: 4px;
    padding: 2px 8px;
    margin-left: 4px;
    font-size: 0.85rem;
    text-decoration: none !important;
}

.wljp-job-skill-link:hover {
    background: #4f46e5;
    color: #ffffff !important;
}

.wljp-job-posted-date {
    font-size: 0.85rem;
    color: #94a3b8 !important;
}

/* Apply Section */
.wljp-job-apply {
    margin-top: 30px;
}

#wljp-job-apply-button {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
    transition: all 0.3s ease;
}

#wljp-job-apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
}

.wljp-job-apply-date {
    padding: 12px 20px;
    background: #f0fdf4;
    color: #166534 !important;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Content Area */
#wljp-job-content-area {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid #f1f5f9;
}

/* Job Portal - Search Bar Modernization */
.wljp-job-search-nav .input-group {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.wljp-search-job-input {
    border: none !important;
    padding: 15px 25px !important;
    font-size: 1rem;
}

.wljp-search-job-button {
    background: #4f46e5 !important;
    color: #fff !important;
    width: 60px;
    border: none !important;
    transition: all 0.2s ease;
}

.wljp-search-job-button:hover {
    background: #4338ca !important;
}

/* Job Portal - Listing Cards */
.wljp-jobs article {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.05), 0 10px 25px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block !important;
}

.wljp-jobs article:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(79, 70, 229, 0.1);
    border-color: #e2e8f0;
}

.wljp-jobs article .wljp-job-heading {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    margin-bottom: 0 !important;
}

.wljp-jobs article h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px !important;
}

.wljp-jobs article h2 a {
    color: #0f172a !important;
    text-decoration: none !important;
}

.wljp-jobs article h2 a:hover {
    color: #4f46e5 !important;
}

.wljp-jobs article .wljp-job-meta-data {
    margin-bottom: 15px;
}

.wljp-jobs article .wljp-job-skills-posted-date {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    margin-top: 15px;
}

/* Account Page - Modern Skin (Preserving Layout) */
.wljp .card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.05), 0 10px 25px -10px rgba(0, 0, 0, 0.05) !important;
    padding: 25px !important;
    margin-top: 1.5rem !important;
}

.wljp .card-header, 
.wljp-cv-heading, 
.wljp-account-heading {
    border-bottom: 1.5px solid #f1f5f9;
    margin-bottom: 20px;
    padding-bottom: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 1.25rem !important;
    background: transparent !important;
    text-align: left !important;
}

.wljp-cv-section-heading {
    font-weight: 600;
    color: #4f46e5;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    display: block;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 5px;
}

/* Form Elements */
.wljp form label {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.wljp form input[type="text"],
.wljp form input[type="email"],
.wljp form input[type="password"],
.wljp form input[type="date"],
.wljp form input[type="tel"],
.wljp form input[type="number"],
.wljp form select,
.wljp form textarea {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    width: 100%;
}

.wljp form input:focus,
.wljp form select:focus,
.wljp form textarea:focus {
    background: #ffffff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

/* Specific Buttons */
.wljp-cv-update-submit,
.wljp-account-submit,
.wljp-cv-submit,
.wljp-get-otp-submit {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.wljp-cv-update-submit:hover,
.wljp-account-submit:hover,
.wljp-cv-submit:hover,
.wljp-get-otp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
}

.wljp_row_add_more {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border: 1px dashed #4f46e5 !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    margin-top: 15px !important;
    font-weight: 500 !important;
}

.wljp_row_add_more:hover {
    background: #4f46e5 !important;
    color: #ffffff !important;
}

/* Applied Jobs Table */
#wljp-job-application-table {
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 20px;
}

#wljp-job-application-table thead th {
    border: none;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 15px;
}

#wljp-job-application-table tbody tr {
    background: #f8fafc;
    transition: all 0.2s ease;
}

#wljp-job-application-table tbody tr:hover {
    background: #f1f5f9;
    transform: scale(1.005);
}

#wljp-job-application-table tbody td,
#wljp-job-application-table tbody th {
    padding: 18px 15px;
    border: none;
    vertical-align: middle;
}

#wljp-job-application-table tbody td:first-child,
#wljp-job-application-table tbody th:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

#wljp-job-application-table tbody td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

#wljp-job-application-table a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

#wljp-job-application-table a:hover {
    text-decoration: underline;
}

/* Alerts */
.wljp .alert-info {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0369a1 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    font-weight: 500 !important;
}

.wljp .alert-info a {
    color: #0284c7 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Remove Labels */
.candidate_remove_label {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px !important;
    cursor: pointer;
    font-weight: 900;
}

/* Recruiter Details Card */
.wljp-recruiter-details {
    margin-top: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.wljp-recruiter-details .card-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 25px;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

.wljp-recruiter-details .card-body {
    padding: 25px;
}

.wljp-recruiter-details ul.list-group {
    padding: 0;
    margin: 0;
}

.wljp-recruiter-details ul li {
    background: transparent !important;
    border: none !important;
    padding: 8px 0;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.wljp-recruiter-details ul li strong {
    min-width: 140px;
    color: #64748b;
}

.wljp-recruiter-details ul li span {
    color: #0f172a;
    font-weight: 500;
}

/* Fix sidebar alignment for Bootstrap 4 */
.text-right.wljp-navigation {
    margin-bottom: 10px;
}
