/* alphaT00LS Global Styles - Extracted from index-with-components.html */

/* Reset and Base Styles */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: Arial, sans-serif; 
}

body { 
    background-color: #2a2a2a; 
    color: #ffffff; 
    min-height: 100vh; 
    overflow-x: hidden; 
}

a { 
    color: #ffffff; 
    text-decoration: none; 
    transition: color 0.2s ease; 
}

a:hover { 
    color: #b85b1c; 
}

/* Header Styles */
.top-fixed-area { 
    position: fixed; 
    top: 0; 
    left: 250px; 
    right: 0; 
    background-color: #2a2a2a; 
    z-index: 1000; 
    padding: 8px 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 50px; 
    border-bottom: 1px solid #333; 
}

.news-section { 
    flex-grow: 1; 
    text-align: center; 
    color: #fff; 
    font-size: 12px; 
    padding: 0 20px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    position: relative;
}

.news-ticker {
    display: inline-block;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Settings Menu */
.settings-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background: #232323 !important;
    border: 1px solid #333 !important;
    border-radius: 7px;
    z-index: 9999 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    padding: 8px 0;
    min-width: 170px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.settings-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.settings-dropdown a,
.settings-dropdown button {
    background: none !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 18px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    display: block;
    text-decoration: none;
    border-radius: 0;
    outline: none;
}

.settings-dropdown a:hover,
.settings-dropdown button:hover {
    background: #333 !important;
    color: #b85b1c !important;
}

.settings-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.settings-menu .telegram-username {
    color: #ffffff !important;
    font-size: 13px;
    margin-right: 10px;
    display: none;
    font-weight: bold;
}

.settings-menu .telegram-username.show {
    display: inline-block !important;
}

.settings-menu .telegram-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline;
    filter: grayscale(100%) brightness(0.7);
}

.settings-menu .telegram-icon.connected {
    filter: none !important;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
    border-radius: 4px;
}

.settings-menu .telegram-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.settings-menu .telegram-icon.connected:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.8);
}

.settings-menu .settings-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.settings-menu .settings-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.telegram-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background: #232323;
    border: 1px solid #333;
    border-radius: 7px;
    z-index: 1100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    padding: 8px 0;
    min-width: 170px;
    display: none;
}

.telegram-dropdown button {
    background: none;
    color: #fff;
    border: none;
    padding: 12px 18px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    display: block;
    text-decoration: none;
    border-radius: 0;
    outline: none;
}

.telegram-dropdown button:hover {
    background: #333;
    color: #b85b1c;
}

/* Specific styling for Connect Telegram button */
#connectTelegramBtn {
    background: none !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 18px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    display: block;
    text-decoration: none;
    border-radius: 0;
    outline: none;
}

#connectTelegramBtn:hover {
    background: #333 !important;
    color: #b85b1c !important;
}

/* Wallet Area */
.wallet-btn-area {
    display: flex;
    align-items: center;
    position: relative;
}

/* Balance Popup */
.balance-popup {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    min-width: 280px;
    padding: 0;
    margin-top: 8px;
    display: none;
}

.balance-content {
    padding: 15px;
}

.balance-header {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #b85b1c;
    font-weight: bold;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

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

.balance-item span:first-child {
    color: #ccc;
    font-size: 14px;
}

.balance-amount {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #4CAF50;
    font-size: 14px;
}

.token-balances {
    max-height: 150px;
    overflow-y: auto;
    margin: 10px 0;
}

.disconnect-btn {
    width: 100%;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.disconnect-btn:hover {
    background-color: #c0392b;
}

.wallet-btn-area .phantom-icon {
    height: 16px !important;
    width: 16px !important;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
    max-width: 16px !important;
    max-height: 16px !important;
    object-fit: contain;
}

.wallet-btn-area .wallet-icon {
    height: 20px !important;
    width: 20px !important;
    margin-right: 8px;
    vertical-align: middle;
    display: none;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    border-radius: 4px;
}

.wallet-btn-area .phantom-icon:not(.show) {
    display: none !important;
}

.wallet-btn-area .solana-icon {
    height: 20px;
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
    display: none;
}

.wallet-btn-area button {
    background-color: #b85b1c;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    height: 34px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.wallet-btn-area button:hover {
    background-color: #a34f19;
}

/* New wallet button states */
#connectWalletBtn.wallet-btn-disconnected {
    background-color: #b85b1c !important;
    color: #fff !important;
}

#connectWalletBtn.wallet-btn-disconnected:hover {
    background-color: #a34f19 !important;
}

#connectWalletBtn.wallet-btn-connected {
    background-color: #4CAF50 !important;
    color: #fff !important;
}

#connectWalletBtn.wallet-btn-connected:hover {
    background-color: #45a049 !important;
}

.wallet-btn-disconnected {
    background-color: #b85b1c !important;
    color: #fff !important;
}

.wallet-btn-disconnected:hover {
    background-color: #a34f19 !important;
}

.wallet-btn-connected {
    background-color: #4CAF50 !important;
    color: #fff !important;
}

.wallet-btn-connected:hover {
    background-color: #45a049 !important;
}

.wallet-btn-area button.connected {
    background-color: #4CAF50;
    color: #fff;
}

.wallet-btn-area button.connected:hover {
    background-color: #45a049;
}

.wallet-connected {
    color: #ffffff !important; 
    font-family: 'Courier New', monospace; 
    font-weight: bold;
}

.wallet-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #333;
    border: 1px solid #555;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 250px;
    display: none;
    padding: 15px;
    margin-top: 5px;
}

.wallet-dropdown.show {
    display: block;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    border-bottom: 1px solid #444;
    color: #ccc;
    flex-direction: column;
}

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

.balance-item > span:first-child {
    font-weight: bold;
    margin-bottom: 5px;
    color: #b85b1c;
}

.balance-amount {
    font-family: 'Courier New', monospace;
    color: #4CAF50;
    font-weight: bold;
    font-size: 12px;
    max-height: 150px;
    overflow-y: auto;
    width: 100%;
    line-height: 1.4;
}

/* Custom scrollbar for token list */
.balance-amount::-webkit-scrollbar {
    width: 4px;
}

.balance-amount::-webkit-scrollbar-track {
    background: #333;
    border-radius: 2px;
}

.balance-amount::-webkit-scrollbar-thumb {
    background: #b85b1c;
    border-radius: 2px;
}

.balance-amount::-webkit-scrollbar-thumb:hover {
    background: #d4691e;
}

.disconnect-btn {
    width: 100%;
    padding: 12px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.disconnect-btn:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

.wallet-status {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #333;
    border-radius: 5px;
    color: #fff;
    min-height: 20px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    z-index: 100;
}

.balance-box {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #333;
    border-radius: 5px;
    color: #fff;
    position: absolute;
    top: calc(100% + 30px);
    right: 0;
    width: 200px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.balance-box.active {
    display: block;
}

.balance-box p {
    margin: 5px 0;
    font-size: 12px;
}

.balance-box .balance-label {
    font-weight: bold;
    color: #b85b1c;
}

/* Spinner Animation */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sidebar Styles */
.sidebar { 
    width: 250px; 
    height: 100vh; 
    background-color: #1e1e1e; 
    padding: 20px; 
    position: fixed; 
    left: 0; 
    top: 0; 
    overflow-y: auto; 
    z-index: 2000; 
    transition: transform 0.3s ease-in-out; 
    transform: translateX(0); 
}

.sidebar .logo-image { 
    width: 50%; 
    margin: 0 auto 20px; 
    display: block; 
}

.sidebar .logo { 
    font-size: 24px; 
    font-weight: bold; 
    margin-bottom: 30px; 
    color: #b85b1c; 
    text-align: center; 
}

.sidebar ul { 
    list-style: none; 
}

.sidebar ul li { 
    margin: 15px 0; 
}

.sidebar ul li a { 
    color: #ffffff; 
    font-size: 16px; 
    display: block; 
    padding: 10px; 
    border-radius: 5px; 
    transition: all 0.2s ease; 
}

.sidebar ul li a:hover { 
    background-color: #333; 
}

.sidebar ul li a.active { 
    background-color: #b85b1c; 
    color: #fff; 
}

.sidebar .dropdown { 
    position: relative; 
}

.sidebar .dropdown-menu { 
    display: none; 
    background-color: #1e1e1e; 
    margin: 0; 
    padding: 5px 0; 
    border: 1px solid #333; 
    z-index: 3000; 
    width: 210px; 
    min-height: 50px; 
    position: absolute; 
    left: 0; 
    top: 100%; 
}

.sidebar .dropdown-active .dropdown-menu { 
    display: block !important; 
}

.sidebar .dropdown-menu li { 
    margin: 0; 
    padding: 0; 
}

.sidebar .dropdown-menu li a { 
    padding: 8px 10px; 
    font-size: 10px; 
}

.sidebar .dropdown-menu li a:hover { 
    background-color: #333; 
}

/* Main Content Layout */
.page-content-wrapper { 
    margin-left: 250px; 
    padding-top: 60px; 
    min-height: 100vh; 
    background-color: #2a2a2a; 
}

.main-content { 
    padding: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.top-logo-container { 
    position: absolute; 
    top: 60px; 
    left: 15px; 
    display: flex; 
    align-items: center; 
    z-index: 900; 
}

.top-logo { 
    width: 50px; 
    height: auto; 
    margin-right: 10px; 
}

.site-title { 
    font-size: 20px; 
    color: #b85b1c; 
    font-weight: bold; 
}

/* Mobile Hero and Features */
.mobile-hero { 
    text-align: center; 
    padding: 40px 20px; 
    background-color: #2c2c2c; 
    border: 2px solid #222222; 
    border-radius: 10px; 
    margin-bottom: 20px; 
    margin-top: 20px; 
    width: 100%; 
    max-width: 600px; 
}

.mobile-hero h1 { 
    font-size: 28px; 
    margin-bottom: 15px; 
    color: #b85b1c; 
    cursor: pointer; 
}

.mobile-hero p { 
    font-size: 16px; 
    max-width: 90%; 
    margin: 0 auto 15px; 
    line-height: 1.6; 
    color: #cccccc; 
}

.mobile-hero .sub-menu { 
    display: none; 
    list-style: none; 
    margin-top: 15px; 
    padding: 0; 
}

.mobile-hero.active .sub-menu { 
    display: block !important; 
}

.mobile-hero .sub-menu li { 
    margin: 10px 0; 
}

.mobile-hero .sub-menu li a { 
    color: #ffffff; 
    font-size: 14px; 
    display: block; 
    padding: 8px 15px; 
    background-color: #333; 
    border-radius: 5px; 
    transition: background-color 0.2s ease; 
}

.mobile-hero .sub-menu li a:hover { 
    background-color: #b85b1c; 
}

.mobile-hero .sub-menu li p { 
    font-size: 12px; 
    color: #cccccc; 
    margin: 5px 0 0 0; 
    padding: 0 15px; 
}

.mobile-banner { 
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    margin: 20px auto; 
    display: block; 
    transition: transform 0.5s ease; 
}

.show-dropdown-features { 
    display: grid !important; 
}

.mobile-features { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
    padding: 10px; 
    width: 100%; 
    max-width: 600px; 
    margin: 0 auto; 
}

.mobile-feature-card { 
    background-color: #2a2a2a; 
    padding: 15px; 
    border: 2px solid #222222; 
    border-radius: 10px; 
    text-align: center; 
    transition: transform 0.2s; 
    cursor: pointer; 
    position: relative; 
    z-index: 5; 
}

.mobile-feature-card:hover { 
    transform: scale(1.05); 
}

.mobile-feature-card h3 { 
    font-size: 20px; 
    margin-bottom: 10px; 
    color: #b85b1c; 
}

.mobile-feature-card p { 
    font-size: 14px; 
    color: #cccccc; 
}

.mobile-feature-card a { 
    color: #b85b1c; 
    font-weight: bold; 
    text-decoration: none; 
}

.mobile-feature-card a:hover { 
    text-decoration: underline; 
}

.mobile-feature-card .sub-menu { 
    display: flex; 
    flex-direction: row; 
    justify-content: center; 
    align-items: stretch; 
    gap: 15px; 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); 
    margin-top: 15px; 
    padding: 0; 
    list-style: none; 
}

.mobile-feature-card.active .sub-menu { 
    max-height: 500px; 
}

.mobile-feature-card .sub-menu li { 
    min-width: 180px; 
    flex: 1 1 0; 
    margin: 0; 
    opacity: 0; 
    transform: scale(0.8); 
    transition: opacity 0.3s ease, transform 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    background-color: #2a2a2a; 
    border: 2px solid #222222; 
    border-radius: 10px; 
    padding: 10px; 
}

.mobile-feature-card.active .sub-menu li { 
    opacity: 1; 
    transform: scale(1); 
}

.mobile-feature-card .sub-menu li a { 
    color: #b85b1c; 
    font-size: 16px; 
    font-weight: bold; 
    display: block; 
    margin-bottom: 5px; 
}

.mobile-feature-card .sub-menu li p { 
    font-size: 12px; 
    color: #cccccc; 
    margin: 0; 
    text-align: center; 
}

.contact-links { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    padding: 15px; 
    width: 100%; 
    max-width: 600px; 
    margin: 20px auto; 
    border: none; 
    background: none; 
}

.contact-links a img { 
    width: 32px; 
    height: 32px; 
    transition: transform 0.2s; 
}

.contact-links a img:hover { 
    transform: scale(1.1); 
    filter: brightness(1.2); 
}

.menu-toggle { 
    display: none; 
}

.pump-dropdown-row { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    width: 100%; 
    max-width: 600px; 
    margin: 10px auto 0 auto; 
    padding: 0; 
    list-style: none; 
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); 
}

.pump-dropdown-row .mobile-feature-card { 
    background-color: #232323; 
    border: 2px solid #222222; 
    border-radius: 10px; 
    padding: 10px; 
    font-size: 13px; 
    color: #cccccc; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.pump-dropdown-row li a { 
    color: #b85b1c; 
    font-weight: bold; 
    font-size: 15px; 
    margin-bottom: 5px; 
    text-decoration: none; 
}

.pump-dropdown-row li a:hover { 
    text-decoration: underline; 
}

/* Settings Modal */
.settings-modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 3000; 
    justify-content: center; 
    align-items: center; 
}

.settings-modal.active { 
    display: flex; 
}

.settings-modal-content { 
    background-color: #1e1e1e; 
    padding: 20px; 
    border-radius: 10px; 
    width: 100%; 
    max-width: 400px; 
    text-align: center; 
    border: 1px solid #333; 
}

.settings-modal-content h2 { 
    font-size: 20px; 
    color: #b85b1c; 
    margin-bottom: 15px; 
}

.settings-modal-content input { 
    width: 100%; 
    padding: 10px; 
    margin-bottom: 15px; 
    background-color: #333; 
    border: 1px solid #444; 
    border-radius: 5px; 
    color: #fff; 
    font-size: 14px; 
}

.settings-modal-content input:disabled { 
    background-color: #2a2a2a; 
    cursor: not-allowed; 
}

.settings-modal-content .button-group { 
    display: flex; 
    justify-content: flex-end; 
    gap: 10px; 
}

.settings-modal-content button { 
    padding: 8px 15px; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 13px; 
}

.settings-modal-content .cancel-btn { 
    background-color: #444; 
    color: #fff; 
}

.settings-modal-content .cancel-btn:hover { 
    background-color: #555; 
}

.settings-modal-content .save-btn { 
    background-color: #b85b1c; 
    color: #fff; 
}

.settings-modal-content .save-btn:hover { 
    background-color: #a34f19; 
}

.settings-modal-content .save-btn:disabled { 
    background-color: #666; 
    cursor: not-allowed; 
}

/* Footer */
footer { 
    text-align: center; 
    padding: 10px; 
    background-color: #1e1e1e; 
    color: #ffffff; 
    width: 100%; 
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar { 
        transform: translateX(-100%); 
    }
    
    .sidebar.active { 
        transform: translateX(0); 
    }
    
    .top-fixed-area { 
        left: 0; 
        width: 100vw; 
    }
    
    .page-content-wrapper { 
        margin-left: 0; 
        padding-top: 70px; 
    }
    
    .main-content { 
        width: 100%; 
        padding: 15px; 
        margin-top: 60px; 
    }
    
    .menu-toggle { 
        display: block; 
        position: fixed; 
        top: 15px; 
        left: 15px; 
        background-color: #b85b1c; 
        color: #fff; 
        border: none; 
        padding: 8px 15px; 
        cursor: pointer; 
        z-index: 4100; 
        border-radius: 5px; 
        font-size: 13px; 
        height: 34px; 
        line-height: 18px; 
        width: 38px; 
        text-align: center; 
    }
    
    .menu-toggle:hover { 
        background-color: #a34f19; 
    }
    
    .mobile-features { 
        grid-template-columns: 1fr; 
    }
    
    .mobile-banner.slid-down { 
        transform: translateY(450px); 
    }
}

/* Wallet Connection Modal */
.wallet-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 4000;
    justify-content: center;
    align-items: center;
}

.wallet-modal.active {
    display: flex;
}

.wallet-modal-content {
    background-color: #1e1e1e;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    margin: 20px;
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.wallet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    border-bottom: 1px solid #333;
}

.wallet-modal-header h2 {
    font-size: 20px;
    color: #b85b1c;
    margin: 0;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background-color: #333;
    color: #fff;
}

.wallet-modal-body {
    padding: 25px;
}

.wallet-modal-body p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 16px;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #2a2a2a;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #fff;
}

.wallet-option:hover {
    border-color: #b85b1c;
    background-color: #333;
    transform: translateY(-2px);
}

.wallet-option img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    border-radius: 6px;
}

.wallet-option-info {
    flex: 1;
}

.wallet-option-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
}

.wallet-option-status {
    font-size: 12px;
    color: #4CAF50;
}

.wallet-option-status.not-installed {
    color: #ff6b6b;
}

.no-wallets {
    text-align: center;
    padding: 20px 0;
}

.no-wallets p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 16px;
}

.wallet-install-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.install-wallet-btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #2a2a2a;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #fff;
}

.install-wallet-btn:hover {
    border-color: #b85b1c;
    background-color: #333;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.install-wallet-btn img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    border-radius: 6px;
}

/* ===== ADMIN INTERFACE STYLES ===== */

/* Admin Modal */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-modal.active {
    opacity: 1;
    visibility: visible;
}

.admin-modal-content {
    background-color: #2a2a2a;
    border: 2px solid #b85b1c;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #333;
    background-color: #333;
}

.admin-modal-header h2 {
    color: #b85b1c;
    margin: 0;
    font-size: 24px;
}

.admin-modal-close {
    color: #ccc;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.admin-modal-close:hover {
    color: #ff6b6b;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    background-color: #333;
    border-bottom: 1px solid #444;
}

.admin-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.admin-tab:hover {
    background-color: #404040;
    color: #fff;
}

.admin-tab.active {
    background-color: #b85b1c;
    color: #fff;
}

/* Admin Content */
.admin-content {
    padding: 25px;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-tab-content h3 {
    color: #b85b1c;
    margin-bottom: 20px;
    font-size: 20px;
}

/* Admin Form */
.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
}

.admin-form-group.full-width {
    grid-column: 1 / -1;
}

.admin-form-group label {
    color: #ccc;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.admin-form-group input,
.admin-form-group select {
    padding: 12px 15px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.admin-form-group input:focus,
.admin-form-group select:focus {
    outline: none;
    border-color: #b85b1c;
    box-shadow: 0 0 0 2px rgba(184, 91, 28, 0.2);
}

.admin-form-group input[readonly] {
    background-color: #2a2a2a;
    color: #888;
    cursor: not-allowed;
}

/* Admin Modal Footer */
.admin-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background-color: #333;
}

.admin-btn-primary,
.admin-btn-secondary {
    padding: 12px 25px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-btn-primary {
    background-color: #b85b1c;
    color: #fff;
}

.admin-btn-primary:hover {
    background-color: #d4691e;
    transform: translateY(-1px);
}

.admin-btn-secondary {
    background-color: #555;
    color: #fff;
}

.admin-btn-secondary:hover {
    background-color: #666;
}

/* System Status */
.system-status {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #2a2a2a;
    border-radius: 6px;
    border-left: 3px solid #b85b1c;
}

.status-label {
    color: #ccc;
    font-weight: 500;
}

.status-value {
    color: #fff;
    font-weight: bold;
}

.status-loading,
.status-error {
    text-align: center;
    padding: 40px 20px;
    color: #ccc;
}

.status-error {
    color: #ff6b6b;
}

/* Admin Message */
.admin-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.admin-message.show {
    transform: translateX(0);
}

.admin-message.success {
    background-color: #28a745;
    border-left: 4px solid #20a33a;
}

.admin-message.error {
    background-color: #dc3545;
    border-left: 4px solid #c82333;
}

.admin-message.warning {
    background-color: #ffc107;
    border-left: 4px solid #e0a800;
    color: #212529;
}

.admin-message.info {
    background-color: #b85b1c;
    border-left: 4px solid #a34f19;
}

/* Settings Dropdown Enhancement - DISABLED TO PREVENT CONFLICTS */
/*
.settings-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 8px;
    min-width: 200px;
    display: none;
    z-index: 1200;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.settings-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
*/

.settings-dropdown a,
.settings-dropdown button {
    display: block;
    padding: 12px 15px;
    color: #fff !important;
    text-decoration: none;
    background: none !important;
    border: none !important;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.settings-dropdown a:hover,
.settings-dropdown button:hover {
    background-color: #333 !important;
    color: #b85b1c !important;
}

.settings-dropdown button:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.settings-dropdown button:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Mobile Responsive Admin */
@media (max-width: 768px) {
    .admin-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab {
        border-bottom: 1px solid #444;
    }
    
    .admin-form-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-modal-footer {
        flex-direction: column-reverse;
    }
    
    .admin-btn-primary,
    .admin-btn-secondary {
        width: 100%;
    }
}

/* Settings Dropdown Styles - DISABLED TO PREVENT CONFLICTS */
/*
.settings-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    min-width: 180px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1200;
    display: none;
}

.settings-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
*/

.settings-dropdown a,
.settings-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: #fff;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.settings-dropdown a:hover,
.settings-dropdown button:hover {
    background-color: #b85b1c;
    color: #fff;
}

.settings-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.settings-icon:hover {
    opacity: 0.8;
}

.settings-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Wallet Icon Styles */
.wallet-btn-area .wallet-icon,
.wallet-icon {
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 4px;
    max-width: 16px !important;
    max-height: 16px !important;
    object-fit: contain;
    display: inline-block !important;
}

/* Telegram Modal Styles - Added to match site color scheme */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15000 !important;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    position: relative;
    z-index: 15001 !important;
    pointer-events: auto !important;
    cursor: default;
}

.modal-content * {
    pointer-events: auto !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
    background: linear-gradient(135deg, #b85b1c 0%, #a34f19 100%);
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.5em;
}

.modal-header .close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header .close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
}

.step-content {
    display: none;
    text-align: center;
}

.step-content.active {
    display: block;
}

.step-content h4 {
    color: #b85b1c;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.step-content p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.step-note {
    font-size: 0.9em;
    color: #999;
    font-style: italic;
    margin: 10px 0;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, #b85b1c 0%, #a34f19 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 91, 28, 0.4);
}

.btn-primary:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(184, 91, 28, 0.3);
}

.btn-secondary {
    background: #333;
    color: #ccc;
    border: 1px solid #555;
}

.btn-secondary:hover {
    background: #444;
    color: white;
}

.btn-telegram {
    background: linear-gradient(135deg, #b85b1c 0%, #a34f19 100%);
    color: white;
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 91, 28, 0.4);
}

.btn-copy {
    background: #b85b1c;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
}

.btn-copy:hover {
    background: #a34f19;
}

.code-box {
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.code-box strong {
    color: #b85b1c;
    margin-bottom: 10px;
    width: 100%;
}

.verification-code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #b85b1c;
    font-weight: bold;
    letter-spacing: 2px;
    background: #2a2a2a;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.code-box code {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #b85b1c;
    background: #2a2a2a;
    padding: 10px;
    border-radius: 5px;
    flex: 1;
    margin-right: 10px;
}

.input-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
}

.input-prefix {
    background: #333;
    color: #b85b1c;
    padding: 12px;
    font-weight: bold;
}

.form-input {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    outline: none;
}

.form-input::placeholder {
    color: #666;
}

.success-info {
    background: #1a3d1a;
    border: 1px solid #2d5a2d;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
}

.success-info strong {
    color: #b85b1c;
}

/* End Telegram Modal Styles */

/* FORCE TELEGRAM MODAL STYLES - MAXIMUM SPECIFICITY */
#telegramModal.modal,
#telegramConnectionModal.telegram-modal-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 15000 !important;
}

#telegramModal .modal-content,
#telegramConnectionModal .telegram-modal {
    background: #1e1e1e !important;
    color: #ffffff !important;
    border: 2px solid #b85b1c !important;
    z-index: 15001 !important;
}

#telegramModal .modal-header {
    background: #2a2a2a !important;
    color: #ffffff !important;
    border-bottom: 2px solid #b85b1c !important;
}

#telegramModal .modal-header h3,
#telegramModal .modal-header .modal-title {
    color: #b85b1c !important;
}

#telegramModal .btn-primary,
#telegramModal .btn.btn-primary,
.telegram-modal .btn-primary,
.telegram-modal .btn.btn-primary {
    background-color: #b85b1c !important;
    border-color: #a34f19 !important;
    color: #ffffff !important;
}

#telegramModal .btn-primary:hover,
#telegramModal .btn.btn-primary:hover,
.telegram-modal .btn-primary:hover,
.telegram-modal .btn.btn-primary:hover {
    background-color: #a34f19 !important;
    border-color: #a34f19 !important;
    color: #ffffff !important;
}

#telegramModal .modal-body {
    background: #1e1e1e !important;
    color: #ffffff !important;
}

#telegramModal .btn {
    background: #b85b1c !important;
    color: #ffffff !important;
    border: 1px solid #a34f19 !important;
}

#telegramModal .btn:hover {
    background: #a34f19 !important;
    color: #ffffff !important;
}

#telegramModal .btn-primary {
    background: #b85b1c !important;
    color: #ffffff !important;
    border: 1px solid #a34f19 !important;
}

#telegramModal .btn-primary:hover {
    background: #a34f19 !important;
    color: #ffffff !important;
}

#telegramModal .btn-telegram {
    background: linear-gradient(135deg, #b85b1c 0%, #a34f19 100%) !important;
    color: white !important;
}

#telegramModal .btn-telegram:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(184, 91, 28, 0.4) !important;
}

#telegramModal .btn-secondary {
    background: #333 !important;
    color: #ccc !important;
    border: 1px solid #555 !important;
}

#telegramModal .btn-secondary:hover {
    background: #444 !important;
    color: white !important;
}

#telegramModal .btn-copy {
    background: #b85b1c !important;
    color: white !important;
}

#telegramModal .btn-copy:hover {
    background: #a34f19 !important;
}

#telegramModal .code-box {
    background: #222 !important;
    border: 1px solid #444 !important;
    color: #ffffff !important;
}

#telegramModal .code-box strong {
    color: #b85b1c !important;
}

#telegramModal .verification-code {
    color: #b85b1c !important;
    background: #2a2a2a !important;
}

#telegramModal .code-box code {
    color: #b85b1c !important;
    background: #2a2a2a !important;
}

#telegramModal .input-group {
    background: #222 !important;
    border: 1px solid #444 !important;
}

#telegramModal .input-prefix {
    background: #333 !important;
    color: #b85b1c !important;
}

#telegramModal .form-input {
    background: transparent !important;
    color: white !important;
}

#telegramModal .form-input::placeholder {
    color: #666 !important;
}

#telegramModal .success-info {
    background: #1a3d1a !important;
    border: 1px solid #2d5a2d !important;
    color: #ffffff !important;
}

#telegramModal .success-info strong {
    color: #b85b1c !important;
}

#telegramModal .step-content {
    color: #ffffff !important;
}

#telegramModal .step-content h4 {
    color: #b85b1c !important;
}

#telegramModal .step-content p {
    color: #ffffff !important;
}

#telegramModal .step-note {
    color: #cccccc !important;
}

/* Force close button color */
#telegramModal .close {
    color: #b85b1c !important;
    font-size: 24px !important;
}

#telegramModal .close:hover {
    color: #a34f19 !important;
}

/* END FORCE TELEGRAM MODAL STYLES */

/* TELEGRAM MODAL CUSTOM CLASSES */
.telegram-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 15000 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.telegram-modal {
    background: #1e1e1e !important;
    border: 2px solid #b85b1c !important;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.telegram-modal-header {
    background: #b85b1c !important;
    color: #ffffff !important;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.telegram-modal-header h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: 1.5em;
}

.telegram-modal-close {
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.8em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.telegram-modal-content {
    padding: 20px;
    background: #1e1e1e !important;
    color: #ffffff !important;
}

.telegram-step {
    display: none;
    text-align: center;
}

.telegram-step.active {
    display: block;
}

.telegram-step h4 {
    color: #b85b1c !important;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.telegram-step p {
    color: #ffffff !important;
    margin-bottom: 20px;
    line-height: 1.5;
}

.telegram-btn {
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 16px !important;
    cursor: pointer !important;
    margin: 5px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.telegram-btn.primary {
    background: #b85b1c !important;
    color: #ffffff !important;
    border: 1px solid #a34f19 !important;
}

.telegram-btn.primary:hover {
    background: #a34f19 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(184, 91, 28, 0.4) !important;
}

.telegram-btn.secondary {
    background: #333 !important;
    color: #ccc !important;
    border: 1px solid #555 !important;
}

.telegram-btn.secondary:hover {
    background: #444 !important;
    color: #ffffff !important;
}

.telegram-step-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.verification-code {
    font-family: 'Courier New', monospace !important;
    font-size: 18px !important;
    color: #b85b1c !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    background: #2a2a2a !important;
    padding: 15px !important;
    border-radius: 8px !important;
    margin: 20px 0 !important;
    border: 1px solid #444 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-btn {
    background: #b85b1c !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    margin-left: 10px !important;
}

.copy-btn:hover {
    background: #a34f19 !important;
}

.telegram-input-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
    background: #222 !important;
    border: 1px solid #444 !important;
    border-radius: 8px;
    overflow: hidden;
}

.telegram-input-group .input-prefix {
    background: #333 !important;
    color: #b85b1c !important;
    padding: 12px !important;
    font-weight: bold !important;
}

.telegram-input-group input {
    flex: 1;
    padding: 12px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 16px !important;
    outline: none !important;
}

.telegram-input-group input::placeholder {
    color: #666 !important;
}

/* OVERRIDE ANY BOOTSTRAP OR FRAMEWORK DEFAULTS FOR TELEGRAM MODAL */
.telegram-modal * {
    color: inherit !important;
}

.telegram-modal .btn,
.telegram-modal button {
    background: #b85b1c !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}

.telegram-modal .btn:hover,
.telegram-modal button:hover {
    background: #a34f19 !important;
    color: #ffffff !important;
}

.telegram-modal .btn-primary,
.telegram-modal .primary {
    background: #b85b1c !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}

.telegram-modal .btn-primary:hover,
.telegram-modal .primary:hover {
    background: #a34f19 !important;
    color: #ffffff !important;
}

.telegram-modal .btn-info,
.telegram-modal .info {
    background: #b85b1c !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}

.telegram-modal .btn-info:hover,
.telegram-modal .info:hover {
    background: #a34f19 !important;
    color: #ffffff !important;
}

/* COMPREHENSIVE TELEGRAM MODAL BUTTON OVERRIDES */
.telegram-modal-overlay button,
.telegram-modal-overlay .btn,
.telegram-modal-overlay input[type="button"],
.telegram-modal-overlay input[type="submit"] {
    background: #b85b1c !important;
    background-color: #b85b1c !important;
    color: #ffffff !important;
    border: 1px solid #a34f19 !important;
    border-color: #a34f19 !important;
}

.telegram-modal-overlay button:hover,
.telegram-modal-overlay .btn:hover,
.telegram-modal-overlay input[type="button"]:hover,
.telegram-modal-overlay input[type="submit"]:hover {
    background: #a34f19 !important;
    background-color: #a34f19 !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}

/* KILL ANY BLUE/CYAN COLORS ANYWHERE IN TELEGRAM MODAL */
.telegram-modal-overlay *:not(.copy-btn):not(.telegram-btn.secondary) {
    background-color: inherit !important;
}

.telegram-modal-overlay .primary,
.telegram-modal-overlay [class*="primary"],
.telegram-modal-overlay [class*="info"],
.telegram-modal-overlay [class*="blue"],
.telegram-modal-overlay [class*="cyan"] {
    background: #b85b1c !important;
    background-color: #b85b1c !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}

.telegram-modal-overlay .primary:hover,
.telegram-modal-overlay [class*="primary"]:hover,
.telegram-modal-overlay [class*="info"]:hover,
.telegram-modal-overlay [class*="blue"]:hover,
.telegram-modal-overlay [class*="cyan"]:hover {
    background: #a34f19 !important;
    background-color: #a34f19 !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}
/* END TELEGRAM MODAL CUSTOM CLASSES */

/* ADDITIONAL ID-BASED TARGETING FOR TELEGRAM MODAL */
#telegramConnectionModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 15000 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#telegramConnectionModal .telegram-modal-header {
    background: #b85b1c !important;
    color: #ffffff !important;
}

#telegramConnectionModal .telegram-modal-header h2,
#telegramConnectionModal .telegram-modal-header h3 {
    color: #ffffff !important;
}

#telegramConnectionModal .telegram-btn.primary,
#telegramConnectionModal button.primary,
#telegramConnectionModal .primary {
    background: #b85b1c !important;
    background-color: #b85b1c !important;
    color: #ffffff !important;
    border: 1px solid #a34f19 !important;
    border-color: #a34f19 !important;
}

#telegramConnectionModal .telegram-btn.primary:hover,
#telegramConnectionModal button.primary:hover,
#telegramConnectionModal .primary:hover {
    background: #a34f19 !important;
    background-color: #a34f19 !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}

#telegramConnectionModal .telegram-btn.secondary,
#telegramConnectionModal button.secondary,
#telegramConnectionModal .secondary {
    background: #333 !important;
    background-color: #333 !important;
    color: #ccc !important;
    border: 1px solid #555 !important;
    border-color: #555 !important;
}

#telegramConnectionModal .telegram-btn.secondary:hover,
#telegramConnectionModal button.secondary:hover,
#telegramConnectionModal .secondary:hover {
    background: #444 !important;
    background-color: #444 !important;
    color: #ffffff !important;
}

#telegramConnectionModal button,
#telegramConnectionModal .btn,
#telegramConnectionModal input[type="button"],
#telegramConnectionModal input[type="submit"] {
    background: #b85b1c !important;
    background-color: #b85b1c !important;
    color: #ffffff !important;
    border: 1px solid #a34f19 !important;
    border-color: #a34f19 !important;
}

#telegramConnectionModal button:hover,
#telegramConnectionModal .btn:hover,
#telegramConnectionModal input[type="button"]:hover,
#telegramConnectionModal input[type="submit"]:hover {
    background: #a34f19 !important;
    background-color: #a34f19 !important;
    color: #ffffff !important;
    border-color: #a34f19 !important;
}

/* Make sure secondary buttons stay grey */
#telegramConnectionModal .telegram-btn.secondary,
#telegramConnectionModal .telegram-btn.secondary:not(:hover),
#telegramConnectionModal button.secondary,
#telegramConnectionModal button.secondary:not(:hover) {
    background: #333 !important;
    background-color: #333 !important;
    color: #ccc !important;
    border-color: #555 !important;
}

/* Make sure copy button stays orange */
#telegramConnectionModal .copy-btn,
#telegramConnectionModal .copy-btn:hover {
    background: #b85b1c !important;
    background-color: #b85b1c !important;
    color: #ffffff !important;
}

#telegramConnectionModal .copy-btn:hover {
    background: #a34f19 !important;
    background-color: #a34f19 !important;
}
/* END ID-BASED TARGETING */

/* Maker Settings Telegram Bot Links */
.bold-link {
    font-weight: bold;
    color: #ffd68c !important;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bold-link:hover {
    color: #fff !important;
    text-decoration: underline;
}

.telegram-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 16px;
}

.alpha-ai-desc {
    text-align: center;
    margin-bottom: 16px;
    font-size: 14px;
    color: #ffd68c;
}

.alpha-ai-setup-btn {
    display: block;
    margin: 25px auto 18px;
    padding: 12px 34px;
    background-color: #b85b1c;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    transition: background 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    border: none;
}

.alpha-ai-setup-btn:hover {
    background: #a34f19;
}