/*
 * OwO Farm Bot Stable
 * Copyright (C) 2024 Mido
 */

body {
    background-color: #121212;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    margin: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Modern Flex Sidebar */
.sidebar {
    height: 100vh;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #1e222d;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
}

.sidebar-brand {
    padding: 20px 20px 10px 20px;
    background-color: #181b24;
    border-bottom: 1px solid #2d3243;
}

.sidebar-brand h3 {
    color: #3b82f6;
    font-size: 1.4rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-account-box {
    padding: 12px 18px;
    background-color: #232734;
    border-bottom: 1px solid #2d3243;
}

.account-selector-label {
    color: #90a4ae;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-menu-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
}

.sidebar a {
    color: #e1e1e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 6px 0;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: #262b3a;
    border: 1px solid #333a4d;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar a:hover {
    background-color: #363e54;
    color: #fff;
    padding-left: 17px;
}

.sidebar a.active {
    background-color: #3b82f6;
    border-color: #60a5fa;
    color: white;
    font-weight: 600;
}

.sidebar a.active i {
    color: white;
}

.sidebar a i {
    margin-right: 10px;
    font-size: 1.15rem;
    color: #90a4ae;
}

.sidebar-footer {
    padding: 14px 16px;
    background-color: #181b24;
    border-top: 1px solid #2d3243;
    flex-shrink: 0;
}

.account-control-buttons {
    display: flex;
    gap: 6px;
}

.sidebar-meta {
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #78909c !important;
}

.content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-left: 270px;
    padding: 20px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.bg-dark {
    background-color: #1f1f1f !important;
}

.bg-success {
    background-color: #1d4ed8 !important;
}

.text-success {
    color: #3b82f6 !important;
}

.text-danger {
    color: #f44336 !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background-color: var(--stat-grid-color, #121212);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.stat-box {
    background-color: var(--stat-box-color, #1f1f1f);
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-box.override {
    grid-column: span 2;
}

.stat-box .value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
}

.stat-box .label {
    font-size: 0.9rem;
    color: #b0bec5;
    margin-top: 5px;
}

.stat-box.highlight {
    grid-column: span 4;
    background-color: #1b2440;
    border: 1px solid #3b82f6;
}

.stat-box.highlight .value {
    font-size: 2rem;
    color: #3b82f6;
}

/* Settings Styles */
.settings-section {
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-check-input {
    background-color: #333;
    border-color: #3b82f6;
}

.form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.nav-tabs {
    border-bottom: 1px solid #3b82f6;
}

.nav-tabs .nav-link {
    background-color: #5b8defb2;
    color: #fff;
    border: none;
}

.nav-tabs .nav-link.active {
    background-color: #3b82f6;
    color: white;
    border: none;
}

.save-btn {
    margin-left: 10px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.save-btn:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

.form-control,
.form-select {
    background-color: #232734;
    border: 1px solid #3b82f6;
    color: white;
}

.form-control:focus,
.form-select:focus {
    background-color: #232734;
    border-color: #60a5fa;
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.log-container {
    font-family: Consolas, "Courier New", monospace;
    width: 100%;
    height: 70vh;
    border-radius: 10px;
    background: #000;
    padding: 15px;
    overflow-y: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.big-box {
    display: flex;
    gap: 16px;
    align-items: stretch;
    padding-bottom: 30px;
}

.small-box {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.another-big-box {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: start;
}

.another-small-box {
    display: flex;
    align-items: center;
}

.info-card {
    width: 25vw;
    padding: 16px;
    gap: 8px;
    background-color: var(--info-out-color, #121212);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 10px;
}

.quest-card {
    width: 25vw;
    padding: 24px;
    gap: 20px;
    background-color: var(--quest-out-color, #121212);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .content {
        margin-left: 0;
        padding: 15px;
    }
    .big-box {
        flex-direction: column;
    }
    .info-card, .quest-card {
        width: 100%;
    }
}
