/* Jobs Page Styles */

/* Text Content Decorative Shapes */
.text-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.text-shape-1 {
    width: 80px;
    height: 80px;
    background: #6366f1;
    top: -40px;
    left: 5%;
    animation: float 7s ease-in-out infinite;
}

.text-shape-2 {
    width: 60px;
    height: 60px;
    background: #8b5cf6;
    top: 30%;
    right: -50px;
    animation: pulse 5s ease-in-out infinite;
}

.text-shape-3 {
    width: 70px;
    height: 70px;
    background: #a78bfa;
    bottom: 25%;
    left: -60px;
    animation: float 6s ease-in-out infinite reverse;
}

.text-shape-4 {
    width: 40px;
    height: 40px;
    background: #6366f1;
    bottom: -50px;
    right: 35%;
    animation: pulse 4s ease-in-out infinite reverse;
}

.text-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    opacity: 0.2;
    z-index: 0;
}

.text-line-1 {
    width: 150px;
    height: 2px;
    top: 25%;
    left: -75px;
    animation: slideIn 4s ease-in-out infinite;
}

.text-line-2 {
    width: 120px;
    height: 2px;
    bottom: 35%;
    right: -60px;
    animation: slideIn 5s ease-in-out infinite reverse;
}

/* Hero Decorative Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.shape-top-left {
    width: 80px;
    height: 80px;
    background: #6366f1;
    top: -40px;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-top-right {
    width: 60px;
    height: 60px;
    background: #8b5cf6;
    top: -35px;
    right: 8%;
    animation: float 7s ease-in-out infinite reverse;
}

.shape-bottom-left {
    width: 50px;
    height: 50px;
    background: #a78bfa;
    bottom: -35px;
    left: 12%;
    animation: float 5s ease-in-out infinite;
}

.shape-bottom-right {
    width: 70px;
    height: 70px;
    background: #6366f1;
    bottom: -40px;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-center-left {
    width: 45px;
    height: 45px;
    background: #a78bfa;
    top: 30%;
    left: -50px;
    animation: pulse 4s ease-in-out infinite;
}

.shape-center-right {
    width: 55px;
    height: 55px;
    background: #8b5cf6;
    top: 65%;
    right: -55px;
    animation: pulse 5s ease-in-out infinite reverse;
}

.hero-square {
    position: absolute;
    opacity: 0.2;
    z-index: 0;
    border: 2px solid #6366f1;
    animation: rotate 8s linear infinite;
}

.square-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: -55px;
}

.square-2 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: -50px;
    animation: rotate 10s linear infinite reverse;
}

.hero-triangle {
    position: absolute;
    opacity: 0.15;
    z-index: 0;
    width: 0;
    height: 0;
    animation: float 6s ease-in-out infinite;
}

.triangle-1 {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #6366f1;
    top: 35%;
    right: -60px;
}

.triangle-2 {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid #8b5cf6;
    bottom: 35%;
    left: -50px;
    animation: float 7s ease-in-out infinite reverse;
}

.hero-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    opacity: 0.3;
    z-index: 0;
}

.line-1 {
    width: 200px;
    height: 2px;
    top: 15%;
    left: -110px;
    animation: slideIn 3s ease-in-out infinite;
}

.line-2 {
    width: 150px;
    height: 2px;
    bottom: 15%;
    right: -95px;
    animation: slideIn 4s ease-in-out infinite reverse;
}

.line-3 {
    width: 180px;
    height: 2px;
    top: 50%;
    left: -100px;
    animation: slideIn 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

.search-filter-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 0;
    margin-top: 80px;
}

.search-wrapper {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advanced-filters {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f3f4f6;
    animation: slideDown 0.3s ease;
}

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

.advanced-filters .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.results-info {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
}

.results-info strong {
    color: #6366f1;
    font-weight: 700;
}

.search-input-group {
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
    font-size: 18px;
}

.search-input-group input {
    padding-left: 45px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.search-input-group input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Jobs Listing Section */
.jobs-listing-section {
    padding: 80px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.section-header .section-desc {
    font-size: 18px;
    color: #6b7280;
}

/* Job Card Styles */
.job-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover state removed */

.job-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: contain;
    background: #f3f4f6;
    padding: 8px;
}

.job-info {
    flex: 1;
}

.job-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    margin-bottom: 5px;
}

.company-name {
    font-size: 14px;
    color: #6b7280;
}

.job-type {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.job-tags span {
    background: #f3f4f6;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.job-description {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #f3f4f6;
}

.job-salary {
    color: #6366f1;
    font-weight: 600;
    font-size: 16px;
}

.job-salary i {
    margin-right: 5px;
}

.job-deadline {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.job-deadline i {
    margin-right: 5px;
}

.job-card .btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Pagination Wrapper */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

/* Pagination Styles */
.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
/* Hover disabled */

.page-item.active .page-link {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: #6366f1;
}

.page-link i {
    font-size: 16px;
}

/* Load More Link */
.load-more-text {
    margin-top: 10px;
}

.load-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #6366f1;
    border-radius: 25px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
/* Hover disabled */

.load-more-link i {
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    
    padding: 60px 0;
    margin-top: 0px;
}

.cta-wrapper {
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
}

.cta-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-wrapper p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-wrapper .btn-light {
    background: white;
    color: #6366f1;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* Hover disabled */

/* Responsive Design */
@media (max-width: 768px) {
    .search-wrapper {
        padding: 20px;
    }

    .search-wrapper .row {
        flex-direction: column;
    }

    .search-wrapper .col-lg-4,
    .search-wrapper .col-lg-3,
    .search-wrapper .col-lg-2 {
        width: 100%;
    }

    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .job-footer .btn {
        width: 100%;
    }

    .section-header .section-title {
        font-size: 32px;
    }

    .cta-wrapper {
        padding: 40px 25px;
    }

    .cta-wrapper .row {
        flex-direction: column;
        text-align: center;
    }

    .cta-wrapper .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }

    .cta-wrapper .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .job-header {
        flex-wrap: wrap;
    }

    .job-type {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .section-header .section-title {
        font-size: 24px;
    }

    .cta-wrapper h2 {
        font-size: 24px;
    }

    .pagination {
        gap: 6px;
    }

    .page-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .load-more-link {
        padding: 10px 20px;
        font-size: 14px;
    }

    .search-wrapper {
        padding: 15px;
    }

    .search-wrapper .row {
        flex-direction: column;
    }

    .search-wrapper .col-lg-4,
    .search-wrapper .col-lg-3,
    .search-wrapper .col-lg-2 {
        width: 100%;
    }

    .jobs-listing-section {
        padding: 40px 0;
    }

    .section-header .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .section-header .section-desc {
        font-size: 14px;
    }

    .job-card {
        padding: 20px;
    }

    .job-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .job-info h4 {
        font-size: 16px;
    }

    .job-type {
        order: 3;
        width: 100%;
        text-align: center;
        padding: 5px 10px;
        font-size: 11px;
    }

    .job-tags {
        gap: 8px;
    }

    .job-tags span {
        font-size: 11px;
        padding: 4px 8px;
    }

    .job-description {
        font-size: 13px;
    }

    .job-footer {
        flex-direction: column;
        gap: 10px;
    }

    .job-salary {
        font-size: 14px;
    }

    .job-card .btn {
        width: 100%;
        padding: 10px 15px;
        font-size: 13px;
    }

    .cta-wrapper {
        padding: 30px 20px;
    }

    .cta-wrapper h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .cta-wrapper p {
        font-size: 14px;
    }

    .cta-wrapper .btn-light {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ==========================================
   List View Mode & View Switcher Card Styles
   ========================================== */
.job-list-wrapper {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.job-list-item {
    padding: 25px;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.job-list-item:last-child {
    border-bottom: none;
}

/* Hover state removed */

.job-list-main {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.job-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-list-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.job-list-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.job-list-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}
/* Hover disabled */

.job-list-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: none;
}

.job-list-badge.badge-new {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.job-list-time {
    font-size: 13px;
    color: #9ca3af;
}

.job-list-company-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #4b5563;
}

.company-name-link {
    font-weight: 600;
    color: #4f46e5;
}

.meta-dot {
    color: #d1d5db;
}

.job-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-list-tags span {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.tag-type {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.tag-spec {
    background: #f3f4f6;
    color: #4b5563;
}

.tag-exp {
    background: #eef2ff;
    color: #4338ca;
}

.job-list-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-list-salary {
    font-size: 14px;
    color: #374151;
}

.job-list-salary strong {
    font-weight: 600;
}

.job-list-logo-wrapper {
    flex-shrink: 0;
}

.job-list-logo {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    object-fit: contain;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 8px;
}

.job-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.job-list-deadline {
    font-size: 13px;
    color: #6b7280;
}

.job-list-deadline i {
    color: #ef4444;
    margin-right: 4px;
}

/* View Switcher Styles */
.view-switcher .btn {
    border-radius: 8px;
    padding: 6px 12px;
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    transition: all 0.3s ease;
}
/* Hover disabled */

.view-switcher .btn.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

/* Responsive adjust for list card */
@media (max-width: 768px) {
    .job-list-main {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .job-list-logo {
        width: 60px;
        height: 60px;
    }
    
    .job-list-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
    
    .job-list-footer .btn {
        width: 100%;
    }
}

/* ==========================================
   Sidebar Filter Layout Styles
   ========================================== */
.filter-sidebar-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.filter-sidebar-title {
    font-size: 1.1rem;
    color: #1f2937;
}

.filter-group .form-label {
    margin-bottom: 6px;
    font-size: 13px;
}

.filter-group .form-select,
.filter-group .form-control {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    font-size: 14px;
}

.filter-group .form-select:focus,
.filter-group .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-box-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.results-info-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.job-list-badge.badge-expired {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.job-is-expired {
    border-color: #fecaca !important;
    background: linear-gradient(180deg, #fff, #fffafa) !important;
}

.job-list-deadline.is-expired,
.job-deadline.is-expired {
    color: #b91c1c !important;
    font-weight: 700;
}

.btn-view-expired {
    color: #475569 !important;
    background: #fff !important;
    border: 1px solid #cbd5e1 !important;
}

.btn-view-expired:hover {
    color: #6d28d9 !important;
    border-color: #8b5cf6 !important;
    background: #f5f3ff !important;
}

/* Responsive Results Info Bar */
@media (max-width: 576px) {
    .results-info-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .results-info-controls {
        width: 100% !important;
        justify-content: space-between !important;
    }
}

