/* Business Directory Page Styles */

.directory-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}

.directory-header {
    margin-bottom: 20px;
}

.directory-header h1 {
    font-size: 3.5rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.directory-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px;
}

/* Filter Bar Styles */
.filter-bar {
    background-color: var(--primary-teal);
    padding: 20px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.filter-item {
    flex: 1;
}

.filter-select, .filter-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: var(--secondary-teal);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
}

.filter-select option {
    background-color: var(--secondary-teal);
    color: white;
}

.filter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-btn {
    background-color: var(--accent-gold);
    color: white;
    border: none;
    padding: 12px 40px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.search-btn:hover {
    background-color: var(--accent-gold-hover);
}

/* Listing Styles */
.business-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.business-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #fff;
    transition: all 0.3s ease;
    gap: 30px;
}

.business-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.business-info h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.business-info h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-top: 3px;
}

.business-info h3 a {
    text-decoration: none;
    color: inherit;
}

.business-details-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    font-size: 1rem;
    color: #444;
}

.detail-item {
    display: flex;
    gap: 5px;
}

.detail-label {
    font-weight: 700;
    color: #333;
    min-width: 60px;
}

.action-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.action-link {
    color: var(--primary-teal);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.action-link:hover {
    text-decoration: underline;
}

.license-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f0f7f8;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e0eeef;
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.license-seal i {
    font-size: 1.5rem;
    color: var(--primary-teal);
    margin-bottom: 5px;
}

.license-seal span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Expired License Styling */
.license-seal.expired {
    background-color: #fff5f8;
    border-color: #ffe3e3;
}

.license-seal.expired i, .license-seal.expired span {
    color: #d9534f;
}

/* No License Styling */
.license-seal.none {
    background-color: #f5f5f5;
    border-color: #eeeeee;
}

.license-seal.none i, .license-seal.none span {
    color: #9e9e9e;
}

.license-view-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Admin/Owner Status Band */
.owner-status-band {
    background-color: #fff8e1;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 10px;
    display: inline-block;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
    }
    .business-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .license-seal {
        width: 100%;
        min-width: auto;
    }
}
