
.daibau-directory-container {
    font-family: "Segoe UI", Roboto, -apple-system, sans-serif;
    color: #2c3e50;
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Daibau-like Header Intro */
.daibau-hero {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.daibau-hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a202c !important;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.daibau-hero-subtitle {
    font-size: 1.15rem;
    color: #718096;
    margin-bottom: 30px;
}

/* Premium Search Bar with subtle shadow */
.daibau-search-bar {
    display: flex;
    background: #ffffff;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    border-right: 1px solid #edf2f7;
    padding: 0 16px;
}
.search-input-group:last-of-type {
    border-right: none;
}
.search-input-group span {
    font-size: 1.1rem;
    margin-right: 10px;
    color: #a0aec0;
}
.search-input-group input {
    border: none !important;
    outline: none !important;
    width: 100%;
    font-size: 1rem;
    color: #2d3748;
    background: transparent !important;
    box-shadow: none !important;
}
.daibau-search-btn {
    background-color: #2b6cb0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.daibau-search-btn:hover {
    background-color: #2b6cb0;
}

@media(max-width:768px){
    .daibau-search-bar { flex-direction: column; padding: 10px; }
    .search-input-group { border-right: none; border-bottom: 1px solid #edf2f7; padding: 10px 0; }
    .daibau-search-btn { width: 100%; margin-top: 8px; }
}

/* Quick Categories Grid - Premium minimalistic white cards */
.daibau-categories-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.daibau-cat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.daibau-cat-card:hover {
    border-color: #2b6cb0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.daibau-cat-card.active {
    background-color: #f7fafc;
    border-color: #2b6cb0;
}
.daibau-cat-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}
.daibau-cat-name {
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    color: #2d3748;
}
.daibau-cat-count {
    font-size: 0.8rem;
    color: #718096;
    display: block;
    margin-top: 4px;
}

/* Two column layout */
.daibau-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}
@media(max-width:900px){
    .daibau-layout { grid-template-columns: 1fr; }
}

/* Clean Sidebar */
.daibau-sidebar {
    align-self: start;
}
.filter-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #718096;
    margin-bottom: 16px;
}
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-list li {
    margin-bottom: 4px;
}
.filter-link {
    background: none;
    border: none;
    text-align: left;
    padding: 8px 12px;
    width: 100%;
    font-size: 0.95rem;
    color: #4a5568;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.filter-link:hover, .filter-link.active {
    background-color: #edf2f7;
    color: #2d3748;
    font-weight: 600;
}

/* Standardized Company Cards */
.results-meta {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 20px;
}
.daibau-listings-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.daibau-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.01);
    transition: all 0.2s ease;
}
.daibau-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}
.daibau-card-body {
    padding: 24px;
}
.daibau-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.daibau-badge {
    background: #ebf8ff;
    color: #2b6cb0;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 4px;
}
.daibau-rating {
    color: #f6ad55;
    font-weight: 700;
    font-size: 0.9rem;
}
.daibau-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}
.daibau-card-desc {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.daibau-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: #718096;
    border-top: 1px solid #f7fafc;
    padding-top: 14px;
    margin-bottom: 18px;
}
.detail-item strong {
    color: #4a5568;
}
.detail-item a {
    color: #2b6cb0;
    text-decoration: none;
}
.detail-item a:hover {
    text-decoration: underline;
}
.daibau-btn-primary {
    display: inline-block;
    background-color: #2b6cb0;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.15s;
}
.daibau-btn-primary:hover {
    background-color: #2b6cb0;
}
.no-results {
    text-align: center;
    padding: 40px;
    color: #718096;
}


/* ── Add-Listing Page: Daibau-style Category Cards ── */
.page-select-listing-type {
    background: #f8fafc !important;
}

.page-select-listing-type .listing-type-picker {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-select-listing-type .listing-type-picker h1,
.page-select-listing-type .listing-type-picker h2 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center;
    margin-bottom: 10px !important;
}

.page-select-listing-type .listing-type-picker .subtitle,
.page-select-listing-type .listing-type-picker p {
    text-align: center;
    color: #64748b !important;
    font-size: 1.1rem;
    margin-bottom: 40px !important;
}

/* Grid layout for type cards */
.page-select-listing-type .listing-types-grid,
.page-select-listing-type .c27-listing-types {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
}

/* Individual type card */
.page-select-listing-type .listing-type-card,
.page-select-listing-type .c27-listing-type {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 30px 20px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
}

.page-select-listing-type .listing-type-card:hover,
.page-select-listing-type .c27-listing-type:hover {
    border-color: #334155 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06) !important;
    transform: translateY(-3px) !important;
}

/* Icon circle */
.page-select-listing-type .listing-type-card .icon-wrap,
.page-select-listing-type .c27-listing-type .icon-wrap,
.page-select-listing-type .c27-listing-type .type-icon {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
    margin: 0 auto !important;
    transition: background 0.2s !important;
}

.page-select-listing-type .listing-type-card:hover .icon-wrap,
.page-select-listing-type .c27-listing-type:hover .type-icon {
    background: #0f172a !important;
    color: #ffffff !important;
}

.page-select-listing-type .c27-listing-type .type-icon i,
.page-select-listing-type .c27-listing-type .type-icon .material-icons {
    font-size: 2rem !important;
    color: #334155 !important;
    transition: color 0.2s !important;
}

.page-select-listing-type .c27-listing-type:hover .type-icon i,
.page-select-listing-type .c27-listing-type:hover .type-icon .material-icons {
    color: #ffffff !important;
}

/* Label */
.page-select-listing-type .listing-type-card .type-label,
.page-select-listing-type .c27-listing-type .type-label,
.page-select-listing-type .c27-listing-type h3,
.page-select-listing-type .c27-listing-type span {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

/* Remove old bubble/circle styling from MyListing defaults */
.page-select-listing-type .type-icon-wrapper {
    background: transparent !important;
    box-shadow: none !important;
}

/* Page header area */
.page-select-listing-type .page-header,
.page-select-listing-type .submit-listing-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 30px 20px !important;
    text-align: center;
    margin-bottom: 40px !important;
}

/* Responsive */
@media (max-width: 600px) {
    .page-select-listing-type .listing-types-grid,
    .page-select-listing-type .c27-listing-types {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}
