/* =========================================================
   ADMIN BOT SETTINGS (DEDICATED PAGE)
   ========================================================= */

.abs-container {
    animation: am3-slideIn 0.4s ease;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px;
}

/* --- Header --- */
.abs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.abs-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}
.abs-back-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}
.abs-back-btn:hover { background: rgba(255,255,255,0.1); transform: translateX(-4px); }

.abs-bot-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(139, 92, 246, 0.1);
    color: #c084fc;
}

.abs-bot-info h1 { margin: 0 0 4px 0; font-size: 24px; font-weight: 900; }
.abs-bot-info p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 8px; }
.abs-bot-info p .abs-id { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; font-weight: 800; color: #fff; }

.abs-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Layout --- */
.abs-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

/* --- Sidebar --- */
.abs-sidebar {
    background: #0a0a0f;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.abs-tab {
    padding: 14px 16px;
    border-radius: 10px;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border: none;
    text-align: left;
}
.abs-tab i { width: 20px; text-align: center; }
.abs-tab:hover { background: rgba(255,255,255,0.05); color: #fff; }
.abs-tab.active { background: #8b5cf6; color: #fff; }

/* --- Tab Content Panels --- */
.abs-tab-pane {
    display: none;
    animation: am3-slideIn 0.3s ease;
}
.abs-tab-pane.active { display: block; }

.abs-panel {
    background: #0a0a0f;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.abs-panel-title {
    margin: 0 0 24px 0;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}
.abs-panel-title i { color: #8b5cf6; }

/* --- UI Elements --- */
.abs-label { display: block; font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1.2px; }
.abs-input {
    width: 100%; background: #000; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 12px 16px;
    color: #fff; font-size: 13px; outline: none; margin-bottom: 16px; transition: all 0.2s;
}
.abs-input:focus { border-color: #8b5cf6; }
.abs-textarea {
    width: 100%; background: #000; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 12px 16px;
    color: #fff; font-size: 13px; outline: none; margin-bottom: 16px; transition: all 0.2s; resize: vertical; min-height: 80px;
}
.abs-textarea:focus { border-color: #8b5cf6; }

.abs-btn {
    padding: 12px 24px; border-radius: 8px; font-size: 13px; font-weight: 800; border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s;
    background: rgba(255,255,255,0.05); color: #fff;
}
.abs-btn.primary { background: #8b5cf6; color: #fff; }
.abs-btn.primary:hover { background: #7c3aed; }

/* --- Status Row --- */
.abs-status-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.abs-sbtn {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px;
    padding: 16px; color: rgba(255,255,255,0.5); font-weight: 800; font-size: 14px;
    display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: all 0.2s;
}
.abs-sbtn:hover { background: rgba(255,255,255,0.06); color: #fff; }
.abs-sbtn.s-online { background: rgba(16,185,129,0.1); color: #34d399; border-color: rgba(16,185,129,0.3); }
.abs-sbtn.s-wartung { background: rgba(245,158,11,0.1); color: #fbbf24; border-color: rgba(245,158,11,0.3); }
.abs-sbtn.s-offline { background: rgba(244,63,94,0.1); color: #fb7185; border-color: rgba(244,63,94,0.3); }

/* --- Notify Tabs --- */
.abs-notify-tabs { display: flex; gap: 12px; margin-bottom: 20px; }
.abs-ntab {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px;
    padding: 10px 16px; color: rgba(255,255,255,0.6); font-weight: 800; font-size: 13px;
    display: flex; align-items: center; gap: 8px; cursor: pointer; transition: all 0.2s;
}
.abs-ntab:hover { background: rgba(255,255,255,0.06); color: #fff; }
.abs-ntab.active { background: rgba(139,92,246,0.1); color: #c084fc; border-color: rgba(139,92,246,0.3); }

.abs-npanel { display: none; background: #000; border: 1px solid rgba(255,255,255,0.05); padding: 16px; border-radius: 12px; }
.abs-npanel.active { display: block; animation: am3-slideIn 0.3s ease; }

/* Logs Console */
.abs-console {
    background: #000; border: 1px solid rgba(255,255,255,0.05); border-radius: 12px;
    padding: 16px; height: 350px; overflow-y: auto; font-family: 'Courier New', Courier, monospace;
    font-size: 12px; color: #a3a3a3;
}
.abs-log-line { margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.02); padding-bottom: 4px; }
.abs-log-time { color: #8b5cf6; margin-right: 12px; }
.abs-log-info { color: #3b82f6; margin-right: 8px; font-weight: bold;}
.abs-log-warn { color: #f59e0b; margin-right: 8px; font-weight: bold;}
.abs-log-error { color: #f43f5e; margin-right: 8px; font-weight: bold;}

/* --- Custom Back Button (Mockup style) --- */
.abs-btn-back-custom {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #12111a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px 8px 8px;
    border-radius: 14px;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 48px;
    line-height: 1;
}

.abs-btn-back-custom:hover {
    background: #181624;
    border-color: rgba(155, 109, 255, 0.4);
    box-shadow: 0 0 10px rgba(155, 109, 255, 0.15);
}

.abs-btn-back-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #181722;
    border-radius: 10px;
    color: #a78bfa; /* Violet/purple arrow */
    font-size: 12px;
    transition: transform 0.2s ease;
}

.abs-btn-back-custom:hover .abs-btn-back-icon-wrap {
    transform: translateX(-2px);
}

