/**
 * SCH Tenant Directory - Frontend Styles
 * Shortcode styling for tenant directory display
 */

.sch-tenant-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sch-tenant-header {
    text-align: center;
    margin-bottom: 40px;
}

.sch-tenant-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.sch-tenant-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

/* Grid Layout */
.sch-tenant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Tenant Card */
.sch-tenant-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sch-tenant-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #ccc;
}

.sch-tenant-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Logo Styles */
.sch-tenant-logo {
    width: 150px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.sch-tenant-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sch-tenant-logo-placeholder {
    background: #f0f0f0;
    border-radius: 8px;
}

.sch-tenant-logo-placeholder span {
    font-size: 3rem;
    font-weight: 700;
    color: #999;
}

/* Tenant Info */
.sch-tenant-info {
    width: 100%;
}

.sch-tenant-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.sch-tenant-floor {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.sch-tenant-floor strong {
    color: #333;
    font-weight: 600;
}

/* Footer / Explore Button */
.sch-tenant-footer {
    text-align: center;
    margin-top: 20px;
}

.sch-tenant-explore-btn {
    display: block;
    width: 100%;
    padding: 15px 50px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 50px;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.sch-tenant-explore-btn:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* Error & Empty States */
.sch-tenant-error,
.sch-tenant-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sch-tenant-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .sch-tenant-card {
        padding: 20px 15px;
        min-height: 240px;
    }

    .sch-tenant-logo {
        width: 120px;
        height: 100px;
    }

    .sch-tenant-title {
        font-size: 1.5rem;
    }

    .sch-tenant-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sch-tenant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
