body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at 50% 0%, #1a2332 0%, #050505 100%);
    background-attachment: fixed;
    color: #e6edf3;
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    -webkit-font-smoothing: antialiased;
}

.status-box {
    font-size: 24px;
    margin-bottom: 30px;
    padding: 15px;
    border: 1px dashed #555;
}

.RUNNING { color: #00ff00; text-shadow: 0 0 5px #00ff00; }
.STOPPED { color: #ff0000; text-shadow: 0 0 5px #ff0000; }

/* Landing Page */
.landing-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.hero h1 { font-size: 4em; margin: 0; text-shadow: 0 0 20px rgba(0,255,0,0.3); }
.hero p { font-size: 1.2em; color: #888; margin-bottom: 40px; }
.btn-hero { display: inline-block; padding: 15px 40px; border: 1px solid #00ff00; color: #00ff00; text-decoration: none; font-size: 1.2em; margin: 10px; transition: 0.3s; background-color: rgba(0,0,0,0.8); }
.btn-hero:hover { background: rgba(0,255,0,0.8); color: #000; box-shadow: 0 0 20px #00ff00; }
.btn-hero.secondary { border-color: #555; color: #888; }
.btn-hero.secondary:hover { border-color: #fff; color: #fff; background: transparent; box-shadow: 0 0 20px rgba(255,255,255,0.2); }

/* Theme Overrides for Bootstrap Components */
.btn-primary, .btn-success {
    background-color: #238636;
    border-color: #238636;
    color: #000;
    color: #fff;
    font-weight: 600;
}
.btn-primary:hover, .btn-success:hover {
    background-color: #2ea043;
    border-color: #2ea043;
    color: #fff;
}
.btn-outline-success {
    color: #3fb950;
    border-color: #3fb950;
}
.btn-outline-success:hover, .btn-outline-success.active {
    background-color: #238636 !important;
    color: #fff;
    border-color: #238636 !important;
}
.nav-pills .nav-link.active {
    background: rgba(35, 134, 54, 0.2) !important;
    border-color: #238636 !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(35, 134, 54, 0.2) !important;
}
.nav-pills .nav-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8b949e;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-2px);
}

/* Page Hero */
.page-hero {
    padding: 1rem 0;
    background: radial-gradient(circle at center, rgba(35, 134, 54, 0.1) 0%, transparent 60%);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Liquid Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.glass-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
}

.glass-body {
    padding: 25px;
    flex: 1;
}

.glass-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    backdrop-filter: blur(5px);
}

/* Bot Tabs & Carousel */
.bot-tab {
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
}
.bot-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}
.bot-tab.active {
    background: rgba(35, 134, 54, 0.15);
    border-color: #238636;
    box-shadow: 0 4px 15px rgba(35, 134, 54, 0.2);
}
.hover-opacity-100:hover {
    opacity: 1 !important;
    color: #fff !important;
}

/* Animation */
@keyframes slideFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-animation {
    animation: slideFadeIn 0.3s ease-out forwards;
}

/* Custom Scrollbar for Tabs */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); border-radius: 3px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Portfolio Stats Typography */
.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8b949e;
    font-weight: 600;
}

.stat-value.text-success {
    background: linear-gradient(180deg, #ccffdd, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-value.text-danger {
    background: linear-gradient(180deg, #ffcccc, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-value.text-warning {
    background: linear-gradient(180deg, #fff5cc, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sticky Header Enhancements */
.navbar.sticky-top {
    background: rgba(13, 17, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999 !important;
    position: sticky !important;
    top: 0 !important;
}

/* Brand Text */
.brand-text {
    letter-spacing: 1px;
    background: linear-gradient(180deg, #fff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.auth-card {
    width: 100%;
    max-width: 420px;
}

/* Custom Form Switch Styling to Match Theme */
.form-check {
    padding-left: 0;
}

.form-check-input {
    width: 2.5em;
    height: 1.25em;
    margin-top: 0.25em;
    margin-right: 0.75em;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25em;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.form-check-input:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
    background-color: #238636;
    border-color: #238636;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-size: 1.25em 1.25em;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(35, 134, 54, 0.4);
}

.form-check-input:checked:hover {
    background-color: #2ea043;
    border-color: #2ea043;
    box-shadow: 0 0 15px rgba(35, 134, 54, 0.6);
}

.form-check-input:focus {
    border-color: #238636;
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 134, 54, 0.25);
}

.form-check-label {
    color: #c9d1d9;
    user-select: none;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
}

.modal-dialog{
    margin-top: 100px;
}