.company-list {
    cursor: pointer;
    border: unset;
    flex-direction: inherit;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 240px;
}

    .company-list:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .company-list .logo-container {
        width: 200px;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        background: #f8f9fa;
    }

        .company-list .logo-container img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

    .company-list .card-body {
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding-bottom: 0;
    }

.company-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.company-info p {
    margin-bottom: 5px;
    color: #7f8c8d;
}

.company-info .industry {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-right: 5px;
}

.company-info .size {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8em;
}

.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 15px;
}

    .filter-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

.btn-filter {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-filter:hover {
        background: #1a252f;
    }

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

    .pagination a {
        color: #2c3e50;
        padding: 8px 16px;
        text-decoration: none;
        border: 1px solid #ddd;
        margin: 0 4px;
    }

        .pagination a.active {
            background-color: #2c3e50;
            color: white;
            border: 1px solid #2c3e50;
        }

        .pagination a:hover:not(.active) {
            background-color: #ddd;
        }

.company-list .d-flex.justify-content-end.align-items-center.mt-3 {
    margin-top: auto;
    padding-bottom: 10px;
}

.company-list .view-detail {
    margin-top: auto;
    align-self: flex-end;
    padding: 8px 20px;
    font-size: 1rem;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

    .company-list .view-detail:hover {
        background: #1a252f;
        color: #fff;
        box-shadow: 0 4px 16px rgba(44, 62, 80, 0.12);
    }

/* Card doanh nghiệp hiện đại, hiệu ứng, responsive */
.company-card {
    background: #fff;
    border-radius: 18px;
    transition: box-shadow 0.25s, transform 0.22s;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

    .company-card:hover {
        box-shadow: 0 8px 32px rgba(44,62,80,0.18);
        transform: translateY(-6px) scale(1.025);
        z-index: 2;
    }

.company-card-inner {
    height: 100%;
}

.company-logo img {
    background: #f4f6fa;
    border-radius: 12px;
    padding: 8px;
    border: 1px solid #eaeaea;
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.company-logo-wrapper {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6fa;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(44,62,80,0.13);
    border: 2px solid #e3eaf5;
    transition: box-shadow 0.25s, border-color 0.22s, transform 0.18s;
    margin-bottom: 8px;
}

    .company-logo-wrapper:hover {
        box-shadow: 0 8px 32px rgba(44,62,80,0.22);
        border-color: #2563eb;
        transform: scale(1.045) translateY(-4px);
        background: #eaf2fb;
    }

.company-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 16px;
    background: transparent;
    transition: transform 0.18s;
}

.company-logo-wrapper:hover .company-logo-img {
    transform: scale(1.07) rotate(-2deg);
}

.btn-detail {
    background: linear-gradient(90deg,#2563eb 60%,#3498db 100%);
    color: #fff !important;
    border-radius: 22px;
    border: none;
    transition: background 0.18s, box-shadow 0.18s, text-decoration 0.18s;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    font-weight: 600;
    font-size: 1.05em;
    text-decoration: none;
}

    .btn-detail:hover, .btn-detail:focus {
        background: linear-gradient(90deg,#3498db 60%,#2563eb 100%);
        color: #fff !important;
        box-shadow: 0 6px 18px rgba(44,62,80,0.16);
        text-decoration: none !important;
    }

.company-info-list {
    font-size: 0.98em;
}

@media (max-width: 991.98px) {
    .company-card {
        min-height: 440px;
    }
}

@media (max-width: 767.98px) {
    .company-card {
        min-height: 380px;
    }

    .company-logo img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 575.98px) {
    .company-card {
        min-height: 320px;
    }

    .company-logo img {
        width: 54px;
        height: 54px;
    }
}

/* --- EditJob (Chỉnh sửa việc làm) --- */
.edit-card {
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
    border: none;
    background: #fff;
}

.edit-header {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border-radius: 18px 18px 0 0;
    padding: 24px 32px 16px 32px;
    text-align: center;
}

    .edit-header h3 {
        font-weight: 700;
        font-size: 2rem;
        margin: 0;
    }

.edit-info {
    padding: 32px 40px 32px 40px;
}

.form-label {
    font-weight: 500;
    color: #222;
}

.form-control {
    border-radius: 8px;
    min-height: 44px;
    font-size: 1rem;
}

    .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0,123,255,0.10);
    }

.btn-custom {
    background: #007bff;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 32px;
    border: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}

    .btn-custom:hover, .btn-custom:focus {
        background: #0056b3;
        color: #fff;
        box-shadow: 0 4px 16px rgba(0,86,179,0.12);
    }

.btn-secondary {
    border-radius: 8px;
    font-weight: 500;
}

.invalid-feedback, .text-danger {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .edit-info {
        padding: 18px 8px;
    }
}

.btn-contact {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
}

    .btn-contact:hover {
        background: linear-gradient(135deg, #2980b9, #3498db);
        transform: translateY(-2px);
    }

/* Modal Liên hệ đẹp */
.contact-modal-content {
    border-radius: 18px;
    box-shadow: 0 8px 32px #007bff1a;
    border: 1.5px solid #007bff20;
    overflow: hidden;
    background: #fff;
}

.contact-modal-header {
    background: linear-gradient(90deg, #2563eb 0%, #3498db 80%);
    border-bottom: 1px solid #e5e9f2;
    padding: 24px 32px 14px 32px;
    border-radius: 18px 18px 0 0;
}

    .contact-modal-header .modal-title {
        color: #fff;
        font-weight: 700;
        font-size: 1.32rem;
        letter-spacing: 1px;
    }

.company-name {
    color: #000;
    font-weight: 700;
}

.contact-textarea {
    border-radius: 10px;
    min-height: 120px;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px #00308710;
}

    .contact-textarea:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 2px #2563eb22;
    }

.btn-contact {
    background: linear-gradient(90deg,#2563eb 60%,#3498db 100%);
    color: #fff !important;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    transition: background 0.18s, box-shadow 0.18s, text-decoration 0.18s;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    font-size: 1.07em;
    text-decoration: none;
}

    .btn-contact:hover, .btn-contact:focus {
        background: linear-gradient(90deg,#3498db 60%,#2563eb 100%);
        color: #fff !important;
        box-shadow: 0 6px 18px rgba(44,62,80,0.14);
        text-decoration: none !important;
    }

@media (max-width: 768px) {
    .contact-modal-header {
        padding: 14px 8px 10px 8px;
        font-size: 1rem;
    }

    .contact-modal-content {
        border-radius: 10px;
    }

    .contact-textarea {
        min-height: 70px;
        font-size: 1rem;
    }
}

body.modal-open .company-card:hover,
body.modal-open .company-list:hover,
body.modal-open .company-logo-wrapper:hover {
    transform: none !important;
    box-shadow: none !important;
}
