/*
 Theme Name:    Bootscore Child
 Description:   Bootscore Child Theme
 Author:        Bootscore
 Author URI:    https://bootscore.me
 Template:      bootscore
 Version:       6.0.0
 Text Domain:   bootscore
*/

/* ==========================================================================
   1. グローバル設定
   ========================================================================== */
body {
    background-color: #ffffff !important;
    top: 0px !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.highlight {
    background-color: #FFFF00;
}


/* ==========================================================================
   2. ヘッダー / ナビゲーション
   ========================================================================== */
img.custom-logo {
    max-width: 220px !important;
    height: auto !important;
    transition: all 0.25s ease;
}

.navbar-toggler {
    border: 1.5px solid #0056b3 !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2) !important;
}

/* PC表示（992px以上）でのドロップダウンホバー開閉 */
@media (min-width: 992px) {
    #bootscore-navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
    }
}

/* メインヘッダータイトル ＆ 戻りナビゲーション */
.messehead {
    text-align: center;
    padding: 24px 0 8px 0 !important;
    background: #0f172a !important;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
}

.messehead a {
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative;
    transition: all 0.25s ease-in-out;
}

.messehead a::before {
    content: "＜ 諏訪圏工業メッセホームページへ戻る";
    display: block;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #708099 !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 8px;
    transition: all 0.2s ease-in-out;
}

.messehead a:hover {
    color: #e2e8f0 !important;
}

.messehead a:hover::before {
    color: #38bdf8 !important;
    transform: translateX(-6px) !important;
}

.hitowazahead {
    text-align: center;
    padding: 0 0 24px 0 !important;
    background: #0f172a !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: 0.08em !important;
    border-bottom: 5px solid #de2b1b !important; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important; 
}


/* ==========================================================================
   3. スライダー概要エリア
   ========================================================================== */
.slider {
    position: relative;
}

.slider .gaiyou {
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    margin: auto;
    width: 740px; 
    max-width: 90%;
    background: rgba(255, 255, 255, 0.78) !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 86, 179, 0.2) !important;
    border-radius: 12px !important;
    padding: 35px 40px !important;
    box-shadow: 0 20px 45px rgba(7, 33, 92, 0.06) !important;
    text-shadow: none !important;
    text-align: center !important; 
}

.slider .gaiyou p {
    text-align: center !important;
    text-shadow: none !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
}

.slider .gaiyou p:first-child {
    color: #07215c !important; 
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
}

.slider .gaiyou p:last-child {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    background: #ea3223 !important;
    padding: 8px 32px !important;
    border-radius: 30px !important;
    display: inline-block !important;
    box-shadow: 0 6px 16px rgba(234, 50, 35, 0.25) !important; 
    border: none !important;
}


/* ==========================================================================
   4. 検索バー
   ========================================================================== */
#search {
    width: 30%;
    margin: 20px auto;
}

#search form {
    display: flex;
    align-items: stretch;
    position: relative;
}

#search .fs-text.fs-search {
    flex-grow: 1;
    height: 48px;
    padding: 10px 16px 10px 40px;
    border: 2px solid #ced4da;
    border-radius: 6px 0 0 6px;
    background-color: #f8f9fa;
    color: #212529;
    font-size: 15px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    outline: none;
    transition: all 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
}

#search .fs-text.fs-search:focus {
    border-color: #0056b3;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.15);
}

#search .fs-btn.fs-submit {
    width: 100px;
    height: 48px;
    border: 2px solid #0056b3;
    border-left: none;
    border-radius: 0 6px 6px 0;
    background-color: #0056b3;
    color: #ffffff;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}


/* ==========================================================================
   5. ひとわざカテゴリーエリア
   ========================================================================== */
.hitowaza, 
.hitowaza-cat {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif;
}

.hitowaza {
    margin: 30px auto 25px;
    text-align: center;
}
.hitowaza ul,
.hitowaza ul li,
.hitowaza ul li a {
    width: 100%;
}
.hitowaza ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
}
.hitowaza ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background-color: #004085;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-decoration: none !important;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}
.hitowaza ul li a::after {
    content: " ▶";
    font-size: 14px;
}

.hitowaza-cat {
    margin-bottom: 50px;
}
.hitowaza-cat ul#menu-hitowaza-menu {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.hitowaza-cat ul#menu-hitowaza-menu li a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 60px;
    padding: 14px 20px !important;
    background-color: #e8f1fa !important; 
    border: 1px solid #b8d2ed;
    border-left: 6px solid #0056b3;
    border-radius: 6px;
    color: #002b5c !important; 
    font-size: 15px;
    font-weight: 900;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.hitowaza-cat ul#menu-hitowaza-menu li a::after {
    content: "▶";
    font-size: 12px;
    color: #0056b3;
}
.hitowaza-cat ul#menu-hitowaza-menu li a:hover {
    background-color: #0056b3 !important; 
    border-color: #0056b3;
    color: #ffffff !important;
}


/* ==========================================================================
   6. リスト（PCテーブル表示）
   ========================================================================== */
h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #002b5c; 
    border-left: 6px solid #0056b3; 
    padding-left: 14px;
    margin: 40px auto 60px;
    letter-spacing: 0.05em;
}

.hitowaza-list {
    border: 2px solid #b8d2ed;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.05); 
    background-color: #ffffff;
    margin-bottom: 50px;
}

.hitowaza-list .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-bottom: 1px solid #dee2e6;
    align-items: stretch;
    padding: 0 !important;
    background-color: #ffffff;
    transition: background-color 0.15s ease;
}
.hitowaza-list .row:last-child {
    border-bottom: none;
}
.hitowaza-list .row:not(.hitowaza-list-head):nth-of-type(even) {
    background-color: #f4f8fc !important;
}
.hitowaza-list .row:not(.hitowaza-list-head):hover {
    background-color: #e8f1fa !important;
}

.hitowaza-list-head {
    background-color: #004085 !important; 
    color: #ffffff !important;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.05em;
    border-bottom: 3px solid #002b5c !important; 
}
.hitowaza-list-head div[class^="col-"] {
    color: #ffffff !important;
    padding: 16px 15px !important;
}
.hitowaza-list-head div[class^="col-"]:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.hitowaza-list .row:not(.hitowaza-list-head) div[class^="col-"] {
    padding: 14px 15px !important;
    display: flex;
    align-items: center;
}
.hitowaza-list .row:not(.hitowaza-list-head) div[class^="col-"]:not(:last-child) {
    border-right: 1px solid #dee2e6 !important;
}

.list-no {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-weight: bold;
    color: #495057;
    font-size: 14px;
}
.list-hitowaza a {
    color: #004085 !important;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none !important;
}
.list-co-name a {
    color: #495057 !important;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none !important;
}

.list-bunrui span a {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057 !important;
    padding: 4px 10px;
    border-radius: 20px; 
    font-size: 11px;
    font-weight: bold;
    text-decoration: none !important;
    border: 1px solid #ced4da;
    margin: 2px;
}

.hitowaza-list .row:not(.hitowaza-list-head) .border-none {
    justify-content: center;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-weight: 900;
    font-size: 13px;
    color: #004085;
    background-color: #fff3cd !important;
}


/* ==========================================================================
   7. ひとわざ・企業詳細ページ
   ========================================================================== */
.hitowaza_no {
    display: inline-flex !important;
    align-items: center;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 14px;
    font-weight: 900;
    padding: 6px 14px !important;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 20px !important;
    border: 1px solid #b8d2ed;
    background-color: #e8f1fa;
    color: #004085;
}
.hitowaza_no:nth-of-type(2) {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border-color: #ffeeba !important;
}

.company-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #002b5c !important;
    border-bottom: 2px solid #0056b3 !important;
    padding-bottom: 15px !important;
    margin-bottom: 35px !important;
}

.bt-pdf {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px 45px !important;
    background-color: #ff6b00 !important; 
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
}

.bt-suwalink {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    padding: 16px 30px !important;
    background-color: #0056b3 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 16px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
}


/* ==========================================================================
   8. パンくずリスト
   ========================================================================== */
.breadcrumb {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    padding: 10px 16px !important;
    border-radius: 6px;
    margin-bottom: 30px !important;
    font-size: 13px !important;
    font-weight: bold !important;
}


/* ==========================================================================
   9. 検索結果ページ & ページネーション
   ========================================================================== */

/* 1カード全体 */
#fs-result .s-block {
    display: block !important;
    background-color: #ffffff !important;
    border: 2px solid #b8d2ed !important; 
    border-radius: 10px !important;
    padding: 20px !important; 
    margin: 0 0 20px 0 !important; 
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.08) !important;
    box-sizing: border-box !important;
}

/* 各項目の区切り線 */
#fs-result .s-block dl {
    display: block !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
}
#fs-result .s-block dl:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* 項目名（dt）のラベル化 */
#fs-result .s-block dt {
    background: transparent !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 !important;
    text-align: left !important;
    margin-bottom: 4px !important;
}

/* 項目値（dd） */
#fs-result .s-block dd {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
}

/* ひとわざ名リンク */
#fs-result .s-block dd a {
    color: #0056b3 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    text-decoration: none !important;
}
#fs-result .s-block dd a:hover {
    text-decoration: underline !important;
}

/* 所属分類タグ */
#fs-result .s-block .cat-label {
    display: inline-block;
    background-color: #e2e8f0;
    color: #334155 !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* 文章の自動省略（約40文字 / 2行を超えたら ... で切る） */
#fs-result .s-gaiyo {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important; /* 2行（約40文字）でカット */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: #334155 !important;
    line-height: 1.6 !important;
}

/* ページネーション装飾 */
#fs-result .fs-paginate {
    margin: 30px auto 20px;
    text-align: center;
}
#fs-result .fs-paginate ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex;
    gap: 8px; 
    justify-content: center;
    align-items: center;
}
#fs-result .fs-paginate ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #0056b3 !important;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none !important;
    border-radius: 6px;
}
#fs-result .fs-paginate ul li.fs-current a.fs-current-link {
    background-color: #004085 !important;
    border-color: #004085 !important;
    color: #ffffff !important;
}


/* ==========================================================================
   10. スマホ専用レスポンシブ統合ルール (991.98px以下)
   ========================================================================== */
@media (max-width: 991.98px) {

    /* --- 1. ヘッダー＆ロゴ --- */
    .navbar > .container,
    .navbar > .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }
    img.custom-logo {
        max-width: 135px !important;
        height: auto !important;
    }
    .messehead {
        font-size: 1.3rem !important;
        padding: 16px 10px 8px 10px !important;
        word-break: break-all;
    }
    .hitowazahead {
        font-size: 1.2rem !important;
        padding: 0 10px 16px 10px !important;
        word-break: break-all;
    }

    /* --- 2. スライダー概要エリア --- */
    .slider .gaiyou {
        position: relative !important;
        top: 0 !important;
        width: 92% !important;
        margin: 15px auto !important;
        padding: 20px 15px !important;
    }
    .slider .gaiyou p:first-child { font-size: 18px !important; margin-bottom: 12px !important; }
    .slider .gaiyou p:last-child { font-size: 14px !important; padding: 6px 16px !important; }

    /* --- 3. 検索バー修正 --- */
    #search {
        width: 92% !important;
        max-width: 100% !important;
        margin: 15px auto !important;
    }
    #search form { display: flex !important; width: 100% !important; }
    #search .fs-text.fs-search {
        width: 0 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    #search .fs-btn.fs-submit { flex: 0 0 75px !important; width: 75px !important; }

    /* --- 4. オフキャンバス・アコーディオンメニュー --- */
    #offcanvas-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background-color: #f1f5f9 !important;
        margin-top: 8px !important;
        padding: 8px 0 !important;
        border-radius: 6px !important;
    }

    /* --- 5. 一覧リスト：1社1カード完全独立化 --- */
    h2 {
        font-size: 1.4rem !important;
    }
    
    .hitowaza-list .hitowaza-list-head,
    .hitowaza-list-head {
        display: none !important;
    }
    .hitowaza-list {
        border: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    .hitowaza-list .row:not(.hitowaza-list-head) {
        display: block !important; 
        margin: 0 0 24px 0 !important;
        padding: 0 !important;
        background-color: #ffffff !important;
        border: 2px solid #b8d2ed !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 12px rgba(0, 86, 179, 0.08) !important;
        overflow: hidden !important;
    }
    .hitowaza-list .row:not(.hitowaza-list-head) div[class^="col-"] {
        width: 100% !important;
        padding: 10px 18px !important;
        border: none !important;
        border-right: none !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .list-no::before { content: "分類No："; font-weight: bold; color: #868e96; font-size: 12px; }
    .list-hitowaza::before { content: "ひとわざ（一技）名：\A"; white-space: pre; font-weight: bold; color: #868e96; font-size: 12px; }
    .list-co-name::before { content: "企業・団体名：\A"; white-space: pre; font-weight: bold; color: #868e96; font-size: 12px; }
    .list-bunrui::before { content: "分類名称：\A"; white-space: pre; font-weight: bold; color: #868e96; font-size: 12px; }

    /* ブースNo底面バッジ */
    .hitowaza-list .row:not(.hitowaza-list-head) .border-none {
        background-color: #fff3cd !important;
        color: #856404 !important;
        text-align: center !important;
        padding: 10px 18px !important;
        margin-top: 8px !important;
        border-top: 1px solid #ffeeba !important;
        font-weight: bold !important;
    }
    .hitowaza-list .row:not(.hitowaza-list-head) .border-none::before {
        content: "2026 ブースNo：";
        font-weight: bold;
        color: #856404;
        font-size: 12px;
    }
}


/* ==========================================================================
   11. フッターエリア（スマホ完全中央軸補正）
   ========================================================================== */
@media (max-width: 991.98px) {

    footer,
    .site-footer,
    #colophon,
    footer .container,
    footer .row,
    footer [class*="col-"],
    .site-footer .container,
    .site-footer .row,
    .site-footer [class*="col-"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    footer p,
    footer div,
    .site-footer p,
    .site-footer div {
        width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    footer a,
    footer .btn,
    footer [class*="bt-"],
    footer a[class*="btn"],
    .site-footer a,
    .site-footer .btn,
    .site-footer [class*="bt-"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: fit-content !important;
        min-width: 220px !important;
        max-width: 90% !important;
        padding: 14px 28px !important;
        font-size: 16px !important;
        font-weight: bold !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        margin: 15px auto !important;
        float: none !important;
    }

    footer img,
    .site-footer img {
        max-width: 180px !important;
        height: auto !important;
        margin: 20px auto 10px !important;
        display: block !important;
        float: none !important;
    }
}


/* ==========================================================================
   12. Youtubeブロック
   ========================================================================== */
.youtube-block iframe {
    width: 80%;
    margin: 32px auto;
    display: block;
}

@media (max-width: 991.98px) {
    .youtube-block iframe {
        width: 100% !important;
        height: 300px !important;
    }
}


/* ==========================================================================
   13. Google翻訳：Safari完全対応（iOS DOM崩れ・消滅防止）
   ========================================================================== */

/* 1. 親コンテナの配置 */
.top-nav-widget {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 6px !important;
}

#google_translate_element {
    display: inline-flex !important;
    align-items: center !important;
}

/* 2. 不要な「Powered by Google」テキストのみ文字サイズ0で消去 */
#google_translate_element .goog-te-gadget {
    font-size: 0 !important;
    line-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* 3. ボタン本体（ここで文字サイズを12pxに復活させる） */
#google_translate_element .goog-te-gadget-simple {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

/* 4. ボタン内部の文字・アイコン・矢印の完全表示（Safariのspan消去回避） */
#google_translate_element .goog-te-gadget-simple * {
    font-size: 12px !important;
    color: #f8fafc !important;
    visibility: visible !important;
    opacity: 1 !important;
    vertical-align: middle !important;
}

/* 5. 上部の不要な標準ツールバーのみ非表示 */
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
    display: none !important;
}

/* ==========================================================================
   言語選択プルダウン（完全共通スタイリング）
   ========================================================================== */
.custom-translate-select {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 5px 10px !important;
    width: auto !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

/* プルダウンを開いた時の選択肢（背景を白・文字を濃紺で見やすく） */
.custom-translate-select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* 旧Google翻訳ボタンの完全抹殺 */
#google_translate_element,
.goog-te-gadget-simple,
.goog-te-gadget {
    display: none !important;
}

/* ==========================================================================
   言語選択ボタン（Bootstrap Dropdown化）
   ========================================================================== */
.custom-translate-btn {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
}

.custom-translate-btn:hover,
.custom-translate-btn:focus {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.custom-translate-menu {
    font-size: 12px !important;
    min-width: 130px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.custom-translate-menu .dropdown-item {
    color: #0f172a !important;
    padding: 6px 14px !important;
    font-weight: bold !important;
}

.custom-translate-menu .dropdown-item:hover {
    background-color: #f1f5f9 !important;
    color: #0056b3 !important;
}