/* Business Details Page Styles
 * Converted from G2.Web.Client/Components/BusinessDetails/*.razor.css
 */

/* ===== Hero Header Styles (from BusinessDetailsHeroHeader.razor.css) ===== */

/* Image wrapper defines the fixed placeholder */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* keeps consistent shape */
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Image always covers the wrapper */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Transparent "glass" effect for badges */
.badge-glass {
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Glass button styling (matching DevExpress DxButton glass-button class) */
.glass-button {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1.25rem !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-button:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.glass-button:active {
    background-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(0);
}

/* ===== Card Styles (shared across components) ===== */

/* Icon wrapper for key information items */
.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Responsive Adjustments ===== */

@media (max-width: 767.98px) {
    .hero-image-wrapper {
        aspect-ratio: 4 / 3;
    }

    .icon-wrapper {
        width: 36px;
        height: 36px;
    }
}

/* ===== Loading State ===== */

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* ===== Card Enhancements ===== */

.card {
    transition: box-shadow 0.2s ease;
}


/* ===== Text Utilities ===== */

.text-break {
    word-wrap: break-word;
    word-break: break-word;
}

/* Line height for readability */
.lh-lg {
    line-height: 1.75;
}
