/* Real Estate Share Button & Modal Styling */

/* Share Button on Detail Page Header */
.btn-share-property {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.08);
}

.btn-share-property:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-share-property i {
    font-size: 18px;
}

/* Modal Styling */
.share-modal-dialog {
    max-width: 480px;
}

.share-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.share-modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 24px;
}

.share-modal-title {
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
}

.share-property-preview {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.share-property-thumb {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.share-property-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.share-property-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-property-price {
    font-weight: 700;
    font-size: 15px;
    color: #085dc5;
}

.share-property-address {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Share Channels Grid */
.share-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-channel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-channel-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.share-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
}

.share-icon-zalo {
    background: #0068ff;
    font-weight: 800;
    font-size: 14px;
}

.share-icon-facebook {
    background: #1877f2;
}

.share-icon-messenger {
    background: linear-gradient(135deg, #00B2FF 0%, #006AFF 50%, #9900FF 100%);
}

.share-icon-telegram {
    background: #229ed9;
}

.share-icon-copy {
    background: #085dc5;
}

/* Copy Link Field */
.copy-link-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 6px 6px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
}

.copy-link-input {
    border: none;
    background: transparent;
    font-size: 13px;
    color: #334155;
    flex-grow: 1;
    outline: none;
}

.btn-copy-link {
    background: #085dc5;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-copy-link:hover {
    background: #0284c7;
}

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