﻿
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR850JMxQFvjdSqlLSSD6QfdzdN705QEuBORQ&s');
    background-size: cover;
    background-position: center;
    min-height: 380px; /* reduced height */
    color: white;
    position: relative;
}

.hero-content {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.search-box {
    max-width: 720px; /* narrower bar */
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 50px;
    padding: 0.35rem 0.5rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}

.form-control {
    border: none;
    background: transparent;
    font-size: 0.95rem; /* smaller input text */
    height: 2.4rem; /* shorter inputs */
    padding: 0.5rem 0.75rem;
}

    .form-control:focus {
        box-shadow: none;
    }

.input-group-text {
    background: transparent;
    border: none;
    color: #6c757d;
    padding: 0.5rem 0.75rem;
}

.btn-search {
    padding: 0.5rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px !important;
    height: 2.4rem;
    line-height: 1;
}

h1 {
    font-weight: 700;
    font-size: 2.1rem; /* much smaller headline */
    letter-spacing: -0.4px;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.05rem; /* smaller subtitle */
    font-weight: 400;
    opacity: 0.92;
    margin-bottom: 1.5rem;
}

.form-select {
    font-size: 0.95rem;
    height: 2.4rem;
    padding: 0.4rem 2.25rem 0.4rem 0.75rem;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 340px;
    }

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .search-box {
        border-radius: 16px;
        padding: 0.4rem;
    }

    .input-group, .btn-search {
        margin: 0.4rem 0;
    }

    .btn-search {
        width: 100%;
    }
}

body {
    background-color: #f8f9fa;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.job-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    transition: all 0.15s ease;
    cursor: pointer;
}

    .job-card:hover {
        border-color: #adb5bd;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

.job-title {
    font-size: 1.18rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.company-name {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 0.75rem;
}

.job-meta {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
}

    .job-meta i {
        width: 1.4rem;
        text-align: center;
    }

.apply-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.save-link {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
}

    .save-link:hover {
        color: #0d6efd;
    }

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.nav-tabs .nav-link {
    color: #495057;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
}

    .nav-tabs .nav-link.active {
        color: #0d6efd;
        border-bottom: 3px solid #0d6efd;
        background: transparent;
    }

.detail-panel {
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.detail-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.detail-company {
    font-size: 1.05rem;
    color: #0d6efd;
    margin-bottom: 1.25rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

    .detail-section h6 {
        font-weight: 600;
        color: #495057;
        margin-bottom: 0.6rem;
    }

    .detail-section p {
        font-size: 0.95rem;
        color: #6c757d;
        margin: 0;
    }

.no-selection {
    text-align: center;
    color: #6c757d;
    padding: 4rem 1rem;
}

@media (max-width: 991px) {
    .detail-panel {
        margin-top: 2rem;
    }
}


.top-nav {
    background: #0d6efd;
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

    .top-nav a {
        color: rgba(255,255,255,0.9);
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 6px;
    }

        .top-nav a:hover,
        .top-nav a.active {
            background: rgba(255,255,255,0.18);
            color: white;
        }

.main-card {
    max-width: 1400px;
    margin: 24px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(13,110,253,0.12);
    overflow: hidden;
}

.row.g-0 > div {
    padding: 32px 28px;
}

.left-col {
    background: #f9fcff;
    border-right: 1px solid #e5e9f2;
}

.middle-col {
    background: white;
}

.right-col {
    background: #f8f9fa;
    border-left: 1px solid #e5e9f2;
}

h4.section-title {
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    display: block;
}

    .form-label.required::after {
        content: " *";
        color: #e74c3c;
        font-weight: bold;
    }

.form-control,
.form-select {
    border: 2px solid #ced4da !important;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    height: 50px;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.18) !important;
        outline: none;
    }

    .form-control::placeholder {
        color: #adb5bd;
        opacity: 1;
    }

textarea.form-control {
    height: auto !important;
    min-height: 110px;
}

.file-input-wrapper {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

    .file-input-wrapper:hover {
        border-color: #0d6efd;
        background: rgba(13,110,253,0.03);
    }

.btn-submit {
    background: #0d6efd;
    border: none;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s;
}

    .btn-submit:hover {
        background: #0b5ed7;
        transform: translateY(-2px);
    }

.progress {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.status-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .left-col, .right-col {
        border: none !important;
        border-top: 1px solid #e5e9f2 !important;
        border-bottom: 1px solid #e5e9f2 !important;
    }
}