/*
 * FIEM CMS – Public Extra Styles
 * ─────────────────────────────────────────────────────────────────
 * This file adds styles for CMS-specific public UI elements that
 * are not present in the original HTML design files.
 * Your original CSS files (custom.css, style.css, etc.) take
 * priority — do NOT delete them.
 */

/* ── Job Listing Cards ─────────────────────────────────────── */
.job-listing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    transition: box-shadow .2s, transform .2s;
}
.job-listing-card:hover {
    box-shadow: 0 8px 24px rgba(200,16,46,.1);
    transform: translateY(-3px);
}
.badge-job-type {
    background: #fee2e2;
    color: #c8102e;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
}
.job-tag {
    background: #f3f4f6;
    color: #374151;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 1.2rem;
}
.btn-apply {
    background: #e35e0c;
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}
.btn-apply:hover { background: #a50d26; }

/* ── Job Detail Card ───────────────────────────────────────── */
.job-detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px;
}
.apply-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
}

/* ── Contact Page ──────────────────────────────────────────── */
.contact-icon-box {
    width: 44px;
    height: 44px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8102e;
    flex-shrink: 0;
    font-size: 1.6rem;
}
.contact-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
}

/* ── Director Modal ────────────────────────────────────────── */
.director-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

/* ── Admin Area Namespace ──────────────────────────────────── */
/* Admin styles are loaded separately via _AdminLayout.cshtml   */
.careerForm {
    position: relative;
    top: -21rem;
    z-index: 2;
}

.careerForm h5 {
    font-size: 2.2rem;
}

    .careerForm .form-label {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
        display: block;
        letter-spacing: -0.5px;
    }

    .careerForm .form-control {
        min-height: 45px;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 2.4rem;
        width: 100%;
        height: 45px;
        border-radius: 10px;
        border: 1px solid #ddd;
        padding: 0.8rem 1.5rem;
        outline: none;
        background: transparent;
    }

.careerForm button.btn-send {
    background: var(--black);
    color: var(--white);
}

@media (max-width: 991.98px) {
    .careerForm {
        top: 0px !important;
    }
}

/* ── Product Grid Image Boxes ──────────────────────────────── */
.productSec1 .product-img-box {
    background: #fff;
    border: 0.1rem solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    padding: 10px;
    overflow: hidden;
}

.productSec1 .product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Investor Section – Board Member Cards (Template 7) ────── */
.committeeBlock .director-card {
    min-height: 300px;
/*    height: 300px;*/
}

.committeeBlock .director-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.committeeBlock .member-label {
    padding: 0.8rem 0 0;
    text-align: center;
}

.committeeBlock .member-label h6 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--black);
}

.committeeBlock .member-label p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
}