/* ==========================================================================
   Global Header & Footer Layout Styles
   Extracted from resources/views/frontend/partials/header.blade.php & footer.blade.php
   ========================================================================== */

/* --- Header Responsive & User Nav Styling --- */
@media (max-width: 1051.98px) {
    header.header, .header {
        display: none !important;
    }
    header.mobi-header {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1040 !important;
    }
}
.header-right-user-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1050 !important;
}
.header-right-user-nav > li,
.header-right-user-nav > div {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
.candidate-profile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    overflow: visible !important;
    padding: 0 !important;
}
.candidate-profile img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #E2E8F0 !important;
    display: block !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}
.available-alert-header {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: #2ecc71 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
    z-index: 2 !important;
}

/* --- User Profile Dropdown Styling --- */
.user-profile-dropdown {
    border-radius: 16px !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
    padding: 10px !important;
    min-width: 230px !important;
    background: #FFFFFF !important;
    margin-top: 10px !important;
}

.user-profile-header {
    padding: 8px 12px 12px 12px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

.user-profile-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.user-profile-role {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #64748B !important;
    margin-top: 2px !important;
    text-transform: capitalize !important;
}

.user-profile-dropdown .dropdown-item {
    padding: 9px 12px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.2s ease !important;
    margin-bottom: 3px !important;
    text-decoration: none !important;
    background: transparent !important;
}

.user-profile-dropdown .dropdown-item i {
    font-size: 18px !important;
    color: #64748B !important;
    transition: color 0.2s ease !important;
}

.user-profile-dropdown .dropdown-item:hover,
.user-profile-dropdown .dropdown-item.active {
    background-color: #EFF6FF !important;
    color: #0A65CC !important;
}

.user-profile-dropdown .dropdown-item:hover i,
.user-profile-dropdown .dropdown-item.active i {
    color: #0A65CC !important;
}

.user-profile-dropdown .dropdown-item-logout {
    color: #DC2626 !important;
    margin-top: 4px !important;
    border-top: 1px solid #F1F5F9 !important;
    padding-top: 10px !important;
    border-radius: 0 0 10px 10px !important;
}

.user-profile-dropdown .dropdown-item-logout i {
    color: #DC2626 !important;
}

.user-profile-dropdown .dropdown-item-logout:hover {
    background-color: #FEF2F2 !important;
    color: #DC2626 !important;
}

.user-profile-dropdown .dropdown-item-logout:hover i {
    color: #DC2626 !important;
}

/* --- General Footer Styling --- */
.footer-logo img {
    max-width: 200px;
}

.rt-site-footer {
    background-color: #F5F5F5;
    padding: 30px 20px;
}

/* --- Mobile-First Layout (Applies to all screens < 1053px by default) --- */
.new_footer_container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.col-brand {
    display: flex;
    flex-direction: column;
}

.footer-title-styled {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo-shine {
    font-size: 28px;
    font-weight: 800;
    color: #ffb800;
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}
.footer-logo-shine img {
    width: 120px;
    height: auto;
}

.new_footer_container a, .new-footer-links li a {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.6;
}
.new-footer-links li a:hover {
    color: #007bff;
}

.new-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
}
.new-footer-links li {
    list-style: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.download-app-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 15px;
}
.app-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 0px !important;
}
.app-icons a {
    display: inline-block;
}
.app-icons img {
    height: 35px;
    width: auto;
}

.contact-info {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.contact-info a {
    color: #333;
    font-weight: 600;
}
.social-links-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}
.social-link-icon {
    height: 24px;
    width: 24px;
    color: #333;
}

.apply-on-the-go {
    display: none !important;
}

/* --- Tablet/Mid-Screen Layout --- */
@media (min-width: 768px) and (max-width: 1052px) {
    .new_footer_container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .col-brand {
        grid-column: 1 / 3;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }
    .download-app-section {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .download-app-text {
        margin-top: 0;
        margin-bottom: 5px;
    }
    .footer-logo-shine {
        margin-bottom: 0;
    }
    .app-icons {
        margin-bottom: 0 !important;
    }
    .rt-single-widget:nth-child(3),
    .rt-single-widget:nth-child(4),
    .rt-single-widget:nth-child(5) {
        grid-column: span 1;
    }
}

/* --- Desktop Layout (min-width: 1053px) --- */
@media (min-width: 1053px) {
    .new-footer {
        display: block;
        margin: 0;
    }
    .new_footer_container {
        display: grid;
        grid-template-columns: 1.2fr repeat(4, minmax(100px, 1fr));
        gap: 30px;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .col-brand {
        grid-column: 1 / 2;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .rt-single-widget {
        width: 100% !important;
    }
    .footer-title-styled {
        font-size: 14px;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .footer-logo-shine {
        font-size: 28px;
        font-weight: 800;
        color: #ffb800;
        text-decoration: none;
        margin-bottom: 20px;
    }
    .footer-logo-shine img {
        width: 150px;
    }
    .download-app-text {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
        margin-top: 0;
    }
    .app-icons a {
        display: inline-block;
        margin-right: 10px;
    }
    .app-icons img {
        height: 30px;
        width: auto;
    }
    .new_footer_container a, .new-footer-links li a {
        color: #333;
        font-size: 12px;
        text-decoration: none;
        line-height: 1.8;
    }
    .new-footer-links li a:hover {
        color: #007bff;
    }
    .social-links-container {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-top: 10px;
    }
    .contact-info {
        font-size: 12px;
        color: #333;
        margin-top: 10px;
    }
    .contact-info a {
        color: #333;
        font-weight: 600;
    }
    .social-link-icon {
        height: 20px;
        width: 20px;
    }
}

/* --- Bottom Footer Strip --- */
.footer-bottom {
    background-color: #f7f3fb;
    border-top: 1px solid #e0e0e0;
}
.footer-bottom div {
    color: #555;
    font-size: 12px;
}
.footer-bottom .row {
    padding: 5px 0;
}
.footer-bottom .container {
    margin: 0 auto;
}
.rt-site-footer .footer-bottom {
    padding: 0px !important;
    border-radius: 5px;
}

#scrollUp {
    display: none !important;
}

/* Job Card (.jjc_card) */
.jjc_card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 16px 20px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}
.jjc_card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.jjc_card_link { text-decoration: none; color: inherit; display: block; max-width: 100%; overflow: hidden; }
.jjc_header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 12px;
}
.jjc_title_company{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
.jjc_title_company .jjc_company{
    font-size:14px; 
    color:#555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.jjc_title {
  font-size: 16px; font-weight: 600; color: #18191C; margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.jjc_company_logo { flex-shrink: 0; }
.jjc_company_logo img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.jjc_logo_placeholder { width:50px;height:50px;border-radius:8px;background:#eee;
  display:flex;align-items:center;justify-content:center;font-weight:600; }
.jjc_company_row { font-size:14px; color:#555; margin-bottom:8px; }
.jjc_meta_row { display:flex; flex-wrap:wrap; gap:16px; font-size:13px; color:#666; margin-bottom:8px; }
.jjc_meta{
    display: flex;
    align-items: center;
}
.jjc_meta i { margin-right:4px; }
.jjc_description {
    font-size: 13px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jjc_tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; max-width: 100%; }
.jjc_tag {
  background:#f5f5f5; padding:4px 8px; border-radius:4px; font-size:12px; color:#333;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jjc_footer { display:flex; justify-content:space-between; align-items:center; font-size:12px; color:#888; flex-wrap: wrap; gap: 6px; }
.jjc_bookmark { color:#C8CCD1; cursor:pointer; }
.jjc_bookmark:hover { color:#0A65CC; }


/* Top Job Card (.mjc-*) */
.mjc-card {
    background: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 100% !important;
    min-height: 255px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    text-align: left !important;
    position: relative !important;
}

.mjc-card:hover {
    transform: translateY(-4px) !important;
    border-color: #0A65CC !important;
    box-shadow: 0 12px 28px -4px rgba(10, 101, 204, 0.15) !important;
}

.mjc-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.mjc-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.mjc-logo-box {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    flex-shrink: 0 !important;
    padding: 2px !important;
    box-sizing: border-box !important;
}

.mjc-logo-box img {
    width: 100% !important;
    height: 100% !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

.mjc-company-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-align: left !important;
    flex: 1 !important;
}

.mjc-company-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1.3 !important;
}

.mjc-location {
    color: #64748B !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 2px !important;
}

.mjc-location span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.mjc-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-align: left !important;
    flex: 1 !important;
    margin-bottom: 12px !important;
}

.mjc-title {
    color: #0F172A !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 8px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: left !important;
}

.mjc-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
    margin-bottom: 4px !important;
}

.mjc-pill {
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
}

.mjc-pill-type {
    background-color: #EFF6FF !important;
    color: #1D4ED8 !important;
}

.mjc-pill-mode {
    background-color: #ECFDF5 !important;
    color: #047857 !important;
}

.mjc-salary {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #059669 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 4px !important;
}

.mjc-btn {
    width: 100% !important;
    border-radius: 10px !important;
    background-color: #F1F5F9 !important;
    color: #0A65CC !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    border: none !important;
    margin-top: auto !important;
}

.mjc-card:hover .mjc-btn {
    background-color: #0A65CC !important;
    color: #ffffff !important;
}

/* Top Company Card (.mcc-*) */
.mcc-card {
    background: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 100% !important;
    min-height: 230px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    text-align: left !important;
    position: relative !important;
}

.mcc-card:hover {
    transform: translateY(-4px) !important;
    border-color: #0A65CC !important;
    box-shadow: 0 12px 28px -4px rgba(10, 101, 204, 0.15) !important;
}

.mcc-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.mcc-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin-bottom: 14px !important;
}

.mcc-logo-box {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    flex-shrink: 0 !important;
    padding: 2px !important;
    box-sizing: border-box !important;
}

.mcc-logo-box img {
    width: 100% !important;
    height: 100% !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

.mcc-company-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-align: left !important;
    flex: 1 !important;
}

.mcc-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1.3 !important;
}

.mcc-location {
    color: #64748B !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 3px !important;
}

.mcc-location span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.mcc-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: left !important;
    flex: 1 !important;
    margin-bottom: 14px !important;
}

.mcc-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
}

.mcc-pill {
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
}

.mcc-pill-industry {
    background-color: #EFF6FF !important;
    color: #1D4ED8 !important;
}

.mcc-pill-positions {
    background-color: #ECFDF5 !important;
    color: #047857 !important;
}

.mcc-btn {
    width: 100% !important;
    border-radius: 10px !important;
    background-color: #F1F5F9 !important;
    color: #0A65CC !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    border: none !important;
    margin-top: auto !important;
}

.mcc-card:hover .mcc-btn {
    background-color: #0A65CC !important;
    color: #ffffff !important;
}

/* Subscribe Newsletter (.footer-container) */
    .footer-container{
        width:100%;
        max-width:1092px;
        margin-left:50%;
        transform:translateX(-50%);
        display:flex;
        justify-content:space-evenly;
        align-items:center;
        gap:50px;

        .subscribe-inputbox-1{
            display:flex;
            border-radius:30px;
            overflow:hidden;
            box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

            .subscribe-inputbox-field{
                border:none;

                .fromGroup{
                    input{
                        border:none!important;
                        font-size:0.9rem;
                    }
                }
            }
            .newsButton{
                border-radius:0px!important;
                margin:0px;
                span{
                    font-size:0.9rem;
                }
            }
        }

        .counter{
            font-size:1.5rem;
            font-weight:600;
            text-align:center;
            color:var(--gray-900);
        }
    }
    @media (max-width:1052px) {
        .footer-container{
            padding:0px 10px;
            justify-content:space-between;
            max-width:696px!important;
        }
    }
    @media (max-width:475px){
        .footer-container{
            flex-direction:column;
            .subscribe-inputbox-1{
                .newsButton{
                    margin:0px;
                }
            }
        }
    }