/* CSS Document */

/* /css/broker-profile.css */

.broker-logo-upload {
    margin: 0 0 18px 0;
}

.broker-logo-upload__label {
    display: block;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.broker-logo-upload__preview {
    width: 160px;
    height: 160px;
    border-radius: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    box-sizing: border-box;
    background: #ffffff;
}

.broker-logo-upload__preview--filled {
    border: 1px solid #d8e2f0;
}

.broker-logo-upload__preview--empty {
    border: 1px dashed #c7d4e5;
    background: #f8fbff;
    color: #6b7280;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}

.broker-logo-upload__image {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.broker-logo-upload__input {
    display: block;
    width: 100%;
    max-width: 420px;
}

.broker-logo-upload__help {
    margin-top: 8px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.broker-logo-upload__path {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    word-break: break-all;
    line-height: 1.5;
}

/* /css/broker-profile-extra.css */

.broker-profile-company {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 22px;
    padding: 22px;
    border: 1px solid var(--color-neutral-20);
    border-radius: 16px;
    background: #fff;
}

.broker-profile-company__logo {
    width: 140px;
    height: 140px;
    border-radius: 18px;
    border: 1px solid var(--color-neutral-20);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    box-sizing: border-box;
}

.broker-profile-company__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.broker-profile-company__content h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--color-neutral-80);
}

.broker-profile-company__contact {
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--color-neutral-80);
}

.broker-profile-company__location {
    margin: 0 0 14px;
    color: var(--color-neutral-60);
}

.broker-profile-company__text {
    color: var(--color-neutral-80);
    line-height: 1.75;
}

.broker-profile-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.broker-profile-detail-card {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--color-neutral-20);
    border-radius: 14px;
}

.broker-profile-detail-card strong {
    font-size: 0.95rem;
    color: var(--color-neutral-80);
}

.broker-profile-detail-card a,
.broker-profile-detail-card span {
    color: var(--color-neutral-60);
    line-height: 1.6;
    word-break: break-word;
}

.broker-profile-detail-card--wide {
    grid-column: 1 / -1;
}

.broker-profile-listings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.broker-profile-listing-card {
    background: #fff;
    border: 1px solid var(--color-neutral-20);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

.broker-profile-listing-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--color-neutral-10);
    overflow: hidden;
}

.broker-profile-listing-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.broker-profile-listing-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neutral-60);
    font-weight: 600;
}

.broker-profile-listing-card__body {
    padding: 18px;
}

.broker-profile-listing-card__body h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.broker-profile-listing-card__body h3 a {
    color: var(--color-neutral-80);
    text-decoration: none;
}

.broker-profile-listing-card__body h3 a:hover {
    text-decoration: underline;
}

.broker-profile-listing-card__body p {
    margin: 0 0 8px;
    color: var(--color-neutral-60);
    line-height: 1.6;
}

.broker-profile-listing-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.broker-profile-listing-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--color-neutral-10);
    border: 1px solid var(--color-neutral-20);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-neutral-80);
}

.broker-profile-listing-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-neutral-80);
}

@media (max-width: 900px) {
    .broker-profile-company {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .broker-profile-company__logo {
        width: 120px;
        height: 120px;
    }

    .broker-profile-details,
    .broker-profile-listings {
        grid-template-columns: 1fr;
    }
}