.modal-close-btn:hover {
    background: #F5F5F5;
    color: #535862;
}

/* post-modal 特有樣式 */
.form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 自動完成下拉菜單 */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10001;
}

.autocomplete-list {
    padding: 4px 0;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.428571429;
    color: #181D27;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: #FEF3C7;
    border-left: 3px solid #D97706;
}

.autocomplete-item .tag-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #D97706, #F59E0B);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

/* post-modal 特有按鈕樣式 */
.btn-secondary:hover {
    background: #F5F5F5;
    border-color: #A4A7AE;
}

.btn-primary.disabled {
    background: #F5F5F5;
    border-color: #E9EAEB;
    color: #A4A7AE;
    cursor: not-allowed;
}

/* post-modal 特有圖片上傳按鈕樣式 */
.image-upload-btn:hover {
    background: #F5F5F5;
    color: #535862;
}

/* post-modal 響應式設計 */
@media (max-width: 576px) {
    .footer-actions {
        width: 100%;
        justify-content: space-between;
    }

    .btn-primary,
    .btn-secondary {
        flex: 1;
    }
}