/**
 * Manipal TRUtest Careers - Single Job Opening Styles
 */

/* Breadcrumbs Bar */
.career-breadcrumbs-bar {
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding: 14px 0;
    margin-bottom: 30px;
}

.career-breadcrumbs-inner {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.career-breadcrumbs-inner a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.career-breadcrumbs-inner a:hover {
    color: #004b9b;
}

.career-breadcrumbs-inner .fa-angle-right {
    font-size: 11px;
    color: #94a3b8;
}

.career-breadcrumbs-inner .current-item {
    color: #0b192c;
    font-weight: 600;
}

/* Single Wrapper */
.career-single-wrapper {
    padding-bottom: 80px;
}

.career-single-row {
    display: flex;
    align-items: flex-start;
    gap: 45px;
}

/* Left Column */
.career-single-main {
    flex: 1 1 63%;
    min-width: 0;
}

.career-single-header {
    margin-bottom: 24px;
}

.career-single-eyebrow {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0BB7AE;
    margin-bottom: 8px;
}



.career-single-header h1.career-single-title {
    font-size: 56px;
    font-weight: 700;
    color: #034EA2;
    margin: 0;
    line-height: 1.25;
}

.career-single-content h2.vc_do_custom_heading {
    font-size: 33px;
    font-weight: 600;
    color: #034EA2;
    margin: 0;
    line-height: 1.25;
    margin-bottom: 20px;
}

.career-single-content h3.vc_do_custom_heading {
    font-size: 26px;
  line-height: 100%;
  color: #04264e;
  text-align: center;
  font-weight: 600;
}

/* 4 Quick-Meta Badges Card */
.career-meta-badges-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 18px 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    box-sizing: border-box;
}

.career-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: solid 1px #CDE0F4;
}

.career-badge-item:last-child{
    border-right: 0px;
}

.career-badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.badge-icon-blue {
    background: #e8f4fd;
    color: #0088ff;
}

.badge-icon-green {
    background: #eaf7ec;
    color: #16a34a;
}

.badge-icon-purple {
    background: #f3effb;
    color: #8b5cf6;
}

.badge-icon-pink {
    background: #fdf0f4;
    color: #ec4899;
}

.career-badge-info {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 16px;
    font-weight: 600;
    color: #04264E;
    text-transform: capitalize;
    line-height: 1.2;
    margin-bottom: 2px;
}

.badge-value {
    font-size: 14px;
    font-weight: 500;
    color: #0b192c;
    line-height: 1.3;
}

/* Action Buttons Row */
.career-single-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 35px;
    position: relative;
}

.career-btn-support {
    background: #00b5ad;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 181, 173, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.career-btn-support:hover {
    background: #009e97;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 181, 173, 0.35);
}

.career-btn-share {
    background: #ffffff;
    color: #004b9b;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.career-btn-share:hover {
    background: #f8fafc;
    border-color: #004b9b;
    color: #004b9b;
}

.career-share-toast {
    position: absolute;
    left: 240px;
    top: 50%;
    transform: translateY(-50%);
    background: #0b192c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    animation: fadeIn 0.25s ease;
}

.career-share-toast i {
    color: #10b981;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-40%); }
    to { opacity: 1; transform: translateY(-50%); }
}

/* Job Description Typography */
.career-single-content {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.8;
}

.career-single-content p {
    margin-bottom: 20px;
}

.career-single-content h2,
.career-single-content h3,
.career-single-content h4 {
    color: #0b192c;
    font-weight: 700;
    margin: 32px 0 12px 0;
    line-height: 1.35;
}

.career-single-content h2 { font-size: 24px; }
.career-single-content h3 { font-size: 20px; }
.career-single-content h4 { font-size: 17px; }

.career-single-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.career-single-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #4a5568;
}

.career-single-content ul li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #00b5ad;
    font-size: 14px;
}

/* Right Column / Sticky Application Card */
.career-single-sidebar {
    flex: 0 0 37%;
    max-width: 440px;
    position: sticky;
    top: 100px;
}

.career-apply-card {
    background: #004b9b;
    background: linear-gradient(155deg, #004b9b 0%, #003673 100%);
    border-radius: 24px;
    padding: 38px 30px;
    box-shadow: 0 20px 45px rgba(0, 75, 155, 0.22);
    box-sizing: border-box;
}

.career-apply-card-header {
    text-align: center;
    margin-bottom: 26px;
}

.career-apply-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

h3.career-apply-title {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

.career-single-content .wpb-content-wrapper .vc_column-inner{padding-left:0px; padding-right:0px;}

/* Application Form Fields */
.career-form-field {
    margin-bottom: 16px;
}

.career-input {
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    color: #1a202c;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.career-input:focus {
    border-color: #00b5ad;
    box-shadow: 0 0 0 3px rgba(0, 181, 173, 0.35);
}

.career-textarea {
    height: 85px;
    padding: 12px 16px;
    resize: vertical;
}

/* Resume Upload Styling */
.career-resume-label {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.career-file-input-wrapper {
    position: relative;
}

.career-hidden-file {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.career-file-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 8px;
    height: 48px;
    padding: 5px 6px 5px 16px;
    box-sizing: border-box;
}

.career-file-name {
    font-size: 13px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
    flex: 1;
}

.career-file-btn {
    background: #002d62;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    height: 38px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.career-file-btn:hover {
    background: #001c40;
}

.career-file-hint {
    display: block;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    line-height: 1.4;
}

/* Submit Button */
.career-form-submit {
    margin-top: 20px;
}

.career-submit-btn {
    width: 100%;
    height: 50px;
    background: #00b5ad;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 181, 173, 0.35);
}

.career-submit-btn:hover {
    background: #009e97;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 181, 173, 0.45);
}

/* CF7 Form Integration Overrides inside .career-apply-card */
.career-apply-card .wpcf7-form p {
    margin-bottom: 16px;
}

.career-apply-card .wpcf7-form .wpcf7-text,
.career-apply-card .wpcf7-form .wpcf7-textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1a202c;
    box-sizing: border-box;
}

.career-apply-card .wpcf7-form .wpcf7-submit {
    width: 100%;
    height: 50px;
    background: #00b5ad;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.career-apply-card .wpcf7-form input[type="file"] {
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 8px 6px 14px;
    font-size: 13px;
    color: #0b192c;
    box-sizing: border-box;
    cursor: pointer;
}

.career-apply-card .wpcf7-form input[type="file"]::file-selector-button {
    background: #002d62;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    height: 36px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-right: 12px;
    transition: background 0.2s ease;
}

.career-apply-card .wpcf7-form input[type="file"]::file-selector-button:hover {
    background: #001c40;
}

.career-apply-card .wpcf7-form .wpcf7-submit:hover {
    background: #009e97;
}

.career-apply-card .wpcf7-not-valid-tip {
    color: #fecdd3;
    font-size: 12px;
    margin-top: 4px;
}

.career-apply-card .wpcf7-response-output {
    border-radius: 8px;
    font-size: 13px;
    padding: 12px;
    margin-top: 16px;
}

/* Status message */
.career-form-status {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.career-form-status.success {
    background: #dcfce7;
    color: #166534;
}

.career-form-status.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Responsive Single Template */
@media (max-width: 991px) {
    .career-single-row {
        flex-direction: column;
    }
    .career-single-main,
    .career-single-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    .career-single-sidebar {
        position: static;
        margin-top: 30px;
    }
    .career-meta-badges-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .career-single-title {
        font-size: 28px;
    }
    .career-meta-badges-card {
        grid-template-columns: 1fr;
    }
    .career-apply-card {
        padding: 26px 18px;
    }
}
