/* Slackメンション選択コンポーネント共通スタイル */

.slack-channel-selector {
    /* チャンネル選択の基本スタイル */
}

.slack-mention-selector {
    /* メンション選択の基本スタイル */
}

.slack-mention-container {
    /* メンション選択コンテナの基本スタイル */
}

/* Select2のカスタマイズ */
.select2-container--default .select2-selection--single .slack-channel-icon {
    margin-right: 5px;
}

.select2-container--default .select2-results__option .slack-channel-icon {
    margin-right: 5px;
}

/* プライベートチャンネルのスタイル */
.slack-channel-private {
    color: #dc3545;
}

/* パブリックチャンネルのスタイル */
.slack-channel-public {
    color: #28a745;
}

/* ローディング状態 */
.slack-loading {
    position: relative;
}

.slack-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: slack-spin 1s linear infinite;
    transform: translateY(-50%);
}

@keyframes slack-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* エラー状態 */
.slack-error {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

/* 成功状態 */
.slack-success {
    border-color: #28a745 !important;
    background-color: #f8fff8;
} 