/* Custom Styles for Dashboard Content */

/* --- Notice Alert --- */
.alert.bg-light-success {
    background-color: rgba(30, 40, 70, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #e0e0e0;
}
.alert-icon-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* --- Menu Cards --- */
.menu-card {
    border: none !important;
    border-radius: 16px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #fff !important;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.menu-card-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-top: 4px;
}

.menu-card-icon {
    font-size: 3rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-icon {
    transform: scale(1.1);
}

/* Menu Card Gradients */
.bg-menu-api {
    background: linear-gradient(135deg, #329dfa 0%, #1771d9 100%) !important;
}
.bg-menu-revenue {
    background: linear-gradient(135deg, #66bb6a 0%, #388e3c 100%) !important;
}
.bg-menu-transaction {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
}
.bg-menu-invite {
    background: linear-gradient(135deg, #a742e8 0%, #7b1fa2 100%) !important;
}
.bg-menu-rewards {
    background: linear-gradient(135deg, #ffca28 0%, #ffa000 100%) !important;
}
.bg-menu-feedback {
    background: linear-gradient(135deg, #5c6bc0 0%, #303f9f 100%) !important;
}
.bg-menu-news {
    background: linear-gradient(135deg, #26c6da 0%, #0097a7 100%) !important;
}

/* --- Lower Area (Bot Exchange & AI Assistant) --- */

/* Give the lower area card a specific dark tone */
.main-content > .card.mb-4 {
    background-color: #121420 !important; /* matches dark theme of the robot container */
    border-radius: 16px !important;
}

/* Binance Tab */
.btn-exchange-tab {
    background-color: #673ab7;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.btn-exchange-tab:hover {
    background-color: #5e35b1;
    color: #fff;
}

/* Robot Presentation */
.robot-assistant-img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.5));
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.section-title-text {
    font-size: 1.75rem;
    color: #ffffff;
}

.text-brand-green {
    color: #4caf50; /* Green */
}

.text-brand-blue {
    color: #2196f3; /* Blue */
}

.btn-start-bot {
    background-color: #4caf50 !important;
    border-color: #4caf50 !important;
    color: #fff !important;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3) !important;
}

.btn-start-bot:hover {
    background-color: #43a047 !important;
    border-color: #43a047 !important;
}

.hover-pulse:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.bg-menu-profile { background: linear-gradient(135deg, #f72a63 0%, #ff6b9d 100%) !important; }

/* --- Auth Bot Image --- */
.auth-bot-img {
    max-height: 200px;
    max-width: 65%;
    object-fit: contain;
    margin-bottom: 0;
    transition: max-height 0.3s ease, max-width 0.3s ease;
}

@media (min-width: 992px) {
    .auth-bot-img {
        max-height: 380px;
        max-width: 92%;
    }
}

/* --- Sidebar Header Logo --- */
.sidebar-wrapper .sidebar-header {
    gap: 0 !important;
}

.sidebar-wrapper .sidebar-header .logo-name img {
    margin-left: -8px !important;
    padding-left: 0 !important;
}

/* --- Prevent circle icon avatars from squishing on mobile flex layouts --- */
.wh-48, .wh-64, .wh-100 {
    flex-shrink: 0 !important;
}

