/* 基本コンテナスタイル */
.wp-feedback-buttons {
    margin: 20px 0 !important;
    padding: 15px !important;
    background-color: #f8f9fa !important;
    border-radius: 5px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    clear: both !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* タイトルスタイル */
.wp-feedback-title {
    margin-bottom: 15px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
}

/* ボタンコンテナ */
.wp-feedback-buttons-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    margin: 15px 0 !important;
}

/* ボタンスタイル */
.wp-feedback-button {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 5px !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100px !important;
    min-width: 90px !important;
    box-sizing: border-box !important;
    margin: 0 5px !important;
}

.wp-feedback-button:hover {
    background-color: #f0f0f0 !important;
}

/* アクティブ状態 */
.wp-feedback-button.active {
    border-width: 2px !important;
}

.wp-feedback-good.active {
    border-color: #28a745 !important;
    background-color: #e8f5e9 !important;
}

.wp-feedback-neutral.active {
   border-color: #ffc107 !important;
   background-color: #fff8e1 !important;
}

.wp-feedback-bad.active {
   border-color: #dc3545 !important;
   background-color: #ffebee !important;
}

/* アイコン */
.wp-feedback-icon {
   font-size: 24px !important;
   margin-bottom: 5px !important;
   line-height: 1 !important;
}

/* ラベル */
.wp-feedback-label {
   font-size: 14px !important;
   margin-bottom: 3px !important;
   white-space: nowrap !important;
   line-height: 1.2 !important;
}

/* カウント */
.wp-feedback-count {
   font-size: 12px !important;
   color: #666 !important;
   line-height: 1 !important;
}

/* メッセージ */
.wp-feedback-message {
   font-size: 14px !important;
   color: #444 !important;
   margin-top: 10px !important;
   line-height: 1.4 !important;
}

/* レスポンシブデザイン */
@media screen and (max-width: 600px) {
   .wp-feedback-buttons-container {
       flex-direction: row !important;
       flex-wrap: wrap !important;
       gap: 10px !important;
   }
   
   .wp-feedback-button {
       width: 80px !important;
       min-width: 80px !important;
   }
}

/* 特定のテーマとの互換性対応 */
.wp-feedback-buttons button {
   font-family: inherit !important;
   text-transform: none !important;
   overflow: visible !important;
   border-radius: 5px !important;
}

.wp-feedback-buttons button:focus {
   outline: none !important;
}