/**
 * Company Pages Styles
 * Applies to: /cong-ty (list), /cong-ty/:slug (detail)
 * Uses CSS variables from components.css
 */

/* ==========================================================================
   COMPANY HERO SECTION
   ========================================================================== */

.company-hero {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}

.company-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.company-hero__content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.company-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.company-hero__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Search */
.company-hero__search {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper svg {
    position: static;
    color: var(--color-text-muted);
    flex-shrink: 0;
    margin-right: 12px;
    z-index: 1;
}

.search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 15px;
    background: transparent;
    color: #1f2937;
}

.search-input::placeholder {
    color: #9ca3af;
}

.company-hero__search .ant-btn {
    padding: 0 28px;
    height: auto;
    border-radius: 12px;
    font-weight: 600;
}

/* Hero Stats */
.company-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: fit-content;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   COMPANY LAYOUT
   ========================================================================== */

.company-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding-top: 32px;
}

/* ==========================================================================
   FILTER SIDEBAR (Reused pattern from order.css)
   ========================================================================== */

.company-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.filter-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--color-text);
}

.filter-card__header svg {
    color: var(--color-primary);
}

.filter-reset {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
}

.filter-reset:hover {
    text-decoration: underline;
}

.filter-form {
    padding: 16px 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label-row {
    margin-bottom: 12px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.filter-label svg {
    color: var(--color-text-muted);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options--inline {
    flex-direction: row;
    flex-wrap: wrap;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--color-bg-subtle);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.filter-option:hover {
    background: #e6f4ff;
    border-color: var(--color-primary-light);
}

.filter-option.active {
    background: #e6f4ff;
    border-color: var(--color-primary);
}

.filter-option input {
    display: none;
}

.filter-option__flag {
    font-size: 18px;
}

.filter-option__text {
    font-size: 14px;
    color: var(--color-text);
}

/* CTA Card */
.filter-cta-card {
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: white;
}

.filter-cta-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.filter-cta-card__icon svg {
    stroke: white;
}

.filter-cta-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: white;
}

.filter-cta-card__desc {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0 0 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.filter-cta-card .ant-btn {
    background: white;
    color: var(--color-primary);
    border: none;
    font-weight: 600;
}

.filter-cta-card .ant-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   COMPANY RESULTS
   ========================================================================== */

.company-results {
    min-width: 0;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.results-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.results-count {
    padding: 4px 12px;
    background: var(--color-primary);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.results-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-dropdown label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.sort-dropdown select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* ==========================================================================
   COMPANY GRID
   ========================================================================== */

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ==========================================================================
   COMPANY CARD
   ========================================================================== */

.company-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.company-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.company-card__body {
    padding: 24px;
    text-align: center;
    flex: 1;
}

.company-card__logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 2px solid var(--color-border);
}

.company-card__logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #667eea 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.company-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}

.company-card__title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-card__title a:hover {
    color: var(--color-primary);
}

.company-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.company-card__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.company-card__meta-item svg {
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.company-card__footer {
    padding: 16px 24px;
    background: var(--color-bg-subtle);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-card__stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-card__stat {
    font-size: 13px;
    color: var(--color-text-muted);
}

.company-card__stat strong {
    color: var(--color-primary);
    font-weight: 700;
}

.company-card__footer .ant-btn {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   COMPANY DETAIL PAGE
   ========================================================================== */

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    margin-top: 24px;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Company Profile Card */
.company-profile {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.company-profile__logo {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #667eea 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.company-profile__info h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--color-text);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
    border-radius: 16px;
    margin-bottom: 24px;
}

.info-grid__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-grid__label {
    font-size: 13px;
    color: var(--color-text-muted);
}

.info-grid__value {
    font-weight: 600;
    color: var(--color-text);
}

.info-grid__value--highlight {
    color: var(--color-primary);
}

/* Address Block */
.address-block {
    margin-bottom: 20px;
}

.address-block__label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.address-block__value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-block__value svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Description Block */
.description-block__label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.description-block__content {
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Contact Card */
.contact-card {
    border: 2px solid var(--color-primary) !important;
    text-align: center;
}

.contact-card__icon {
    margin-bottom: 12px;
}

.contact-card__icon svg {
    stroke: var(--color-primary);
}

.contact-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--color-text);
}

.contact-card__phone {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 4px;
}

.contact-card__email {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0 0 20px;
}

/* Quick Info Card */
.info-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.info-list__item:last-child {
    border-bottom: none;
}

.info-list__label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.info-list__value {
    font-weight: 600;
    color: var(--color-text);
}

.info-list__value--highlight {
    color: var(--color-primary);
}

/* Trust Badge Card */
.trust-badge-card {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%) !important;
    color: white;
    text-align: center;
}

.trust-badge-card__icon {
    margin-bottom: 8px;
}

.trust-badge-card__title {
    font-weight: 600;
    margin: 0 0 4px;
}

.trust-badge-card__desc {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

/* Order List in Detail Page */
.list-stack {
    display: flex;
    flex-direction: column;
}

.list-stack > div {
    padding: 20px;
    border-bottom: 1px solid var(--color-border-light);
    transition: background 0.2s ease;
}

.list-stack > div:last-child {
    border-bottom: none;
}

.list-stack > div:hover {
    background: var(--color-bg-subtle);
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-state__icon {
    margin-bottom: 16px;
}

.empty-state__icon svg {
    width: 64px;
    height: 64px;
}

.empty-state__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--color-text);
}

.empty-state__desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0 0 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .company-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }

    .two-column-layout {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .two-column-layout aside {
        order: -1;
    }
}

@media (max-width: 768px) {
    .company-hero {
        padding: 32px 0 40px;
    }

    .company-hero__search {
        flex-direction: column;
        padding: 12px;
    }

    .company-hero__search .ant-btn {
        width: 100%;
    }

    .company-hero__stats {
        flex-wrap: wrap;
        padding: 16px 20px;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .company-layout {
        grid-template-columns: 1fr;
    }

    .company-filters {
        order: -1;
    }

    .filter-card {
        display: none; /* Hide on mobile, show as modal/drawer instead */
    }

    .filter-cta-card {
        display: block;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        align-items: stretch;
    }

    .results-actions {
        justify-content: space-between;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .company-hero__title {
        font-size: 1.5rem;
    }

    .company-card__body {
        padding: 20px;
    }

    .company-card__footer {
        padding: 12px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .company-card__footer .ant-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-card {
    animation: fadeInUp 0.4s ease forwards;
}

.company-card:nth-child(1) { animation-delay: 0.05s; }
.company-card:nth-child(2) { animation-delay: 0.1s; }
.company-card:nth-child(3) { animation-delay: 0.15s; }
.company-card:nth-child(4) { animation-delay: 0.2s; }
.company-card:nth-child(5) { animation-delay: 0.25s; }
.company-card:nth-child(6) { animation-delay: 0.3s; }
.company-card:nth-child(7) { animation-delay: 0.35s; }
.company-card:nth-child(8) { animation-delay: 0.4s; }
.company-card:nth-child(9) { animation-delay: 0.45s; }

/* ==========================================================================
   COMPANY DETAIL HERO
   ========================================================================== */

.company-detail-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #667eea 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.company-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.company-detail-hero__content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}

.company-detail-hero__logo {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.company-detail-hero__info {
    flex: 1;
}

.company-detail-hero__name {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
}

.company-detail-hero__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Company Badge */
.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.company-badge--verified {
    background: rgba(82, 196, 26, 0.3);
}

/* ==========================================================================
   COMPANY DETAIL CARD
   ========================================================================== */

.company-detail-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.company-detail-card__header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-detail-card__body {
    padding: 24px;
}

.company-detail-card__body--flush {
    padding: 0;
}

/* Company Info Grid */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.company-info-item__label {
    font-size: 13px;
    color: #8c8c8c;
    margin-bottom: 4px;
}

.company-info-item__value {
    font-weight: 600;
    color: #262626;
}

.company-info-item__value--primary {
    color: var(--color-primary);
}

/* Company Address */
.company-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.company-address__icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.company-address__label {
    font-size: 13px;
    color: #8c8c8c;
    margin-bottom: 4px;
}

.company-address__text {
    margin: 0;
}

/* Company Description */
.company-description {
    line-height: 1.8;
    color: #595959;
}

.company-description__label {
    font-size: 13px;
    color: #8c8c8c;
    margin-bottom: 12px;
}

.company-description__empty {
    color: #8c8c8c;
}

/* ==========================================================================
   COMPANY ORDERS LIST
   ========================================================================== */

.company-orders-list {
    padding: 0;
}

.company-order-item {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.company-order-item:hover {
    background: #fafafa;
}

.company-order-item:last-child {
    border-bottom: none;
}

.company-order-item__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.company-order-item__quantity {
    color: #8c8c8c;
    font-size: 13px;
}

.company-order-item__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px;
}

.company-order-item__title a {
    color: #262626;
    text-decoration: none;
    transition: color 0.2s;
}

.company-order-item__title a:hover {
    color: var(--color-primary);
}

.company-order-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-order-item__salary {
    font-weight: 700;
    color: #fa541c;
    font-size: 15px;
}

/* Country Tag */
.country-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #e6f4ff;
    color: var(--color-primary);
    border-radius: 4px;
    font-size: 13px;
}

/* ==========================================================================
   SIDEBAR CARD (Detail Page)
   ========================================================================== */

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.sidebar-card--highlight {
    border: 2px solid var(--color-primary);
}

.sidebar-card--success {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: #fff;
}

.sidebar-card__header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    font-size: 15px;
}

.sidebar-card__body {
    padding: 20px;
}

.sidebar-card__body--flush {
    padding: 0 20px;
}

/* Contact Card */
.company-contact-card {
    text-align: center;
}

.company-contact-card__icon {
    margin-bottom: 12px;
    color: var(--color-primary);
}

.company-contact-card__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.company-contact-card__phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.company-contact-card__email {
    color: #8c8c8c;
    margin-bottom: 20px;
}

/* Info List Item */
.info-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.info-list-item__label {
    color: #8c8c8c;
    font-size: 14px;
}

.info-list-item__value {
    font-weight: 600;
    color: #262626;
}

.info-list-item__value--primary {
    color: var(--color-primary);
}

/* Verified Card */
.verified-card {
    text-align: center;
    padding: 24px 20px;
}

.verified-card__icon {
    margin-bottom: 8px;
}

.verified-card__title {
    font-weight: 600;
    margin-bottom: 4px;
}

.verified-card__desc {
    font-size: 13px;
    opacity: 0.9;
}

/* Status Tag */
.status-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.status-tag--success {
    background: #f6ffed;
    color: #52c41a;
}

.status-tag--default {
    background: #fafafa;
    color: #8c8c8c;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #0958d9;
    transform: translateY(-1px);
}

.btn-primary--block {
    width: 100%;
}

.btn-primary--lg {
    padding: 14px 24px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

/* ==========================================================================
   BREADCRUMB (Detail Hero)
   ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb__link:hover {
    color: #fff;
}

.breadcrumb__sep {
    opacity: 0.6;
}

.breadcrumb__current {
    color: #fff;
}

/* Empty Orders State */
.company-orders-empty {
    padding: 48px 24px;
    text-align: center;
}

.company-orders-empty__icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.company-orders-empty__text {
    color: #8c8c8c;
    margin: 0;
}

/* ==========================================================================
   COMPANY DETAIL LAYOUT
   ========================================================================== */

.company-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
}

.company-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   RESPONSIVE (Detail Page)
   ========================================================================== */

@media (max-width: 1024px) {
    .company-detail-layout {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .company-detail-layout {
        grid-template-columns: 1fr;
    }

    .company-detail-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .company-detail-hero {
        padding: 32px 0;
    }

    .company-detail-hero__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-detail-hero__name {
        font-size: 24px;
    }

    .company-detail-hero__badges {
        justify-content: center;
    }

    .company-info-grid {
        grid-template-columns: 1fr;
    }

    .company-order-item__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
