:root {
    --ru-blue: #0f1845; /* Dark blue sidebar */
    --ru-blue-hover: #1a237e;
    --ru-green: #00d18d; /* Action buttons */
    --ru-green-hover: #00bfa5;
    --ru-bg: #f4f6f8;
    --ru-text-muted: #6c757d;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--ru-bg);
    overflow-x: hidden;
}

#wrapper {
    overflow-x: hidden;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar-container {
    min-height: 100vh;
    width: 260px;
    background-color: var(--ru-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed; /* Fixed sidebar */
    top: 0;
    left: 0;
    z-index: 1000;
}

#page-content-wrapper {
    width: 100%;
    margin-left: 260px; /* Offset for fixed sidebar */
    min-height: 100vh;
    background-color: var(--ru-bg);
}

.sidebar-heading {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.brand-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.sidebar-menu .list-group-item {
    background-color: transparent;
    color: #aeb4c5;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.sidebar-menu .list-group-item:hover,
.sidebar-menu .list-group-item.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--ru-green);
    padding-left: calc(1.5rem - 4px); /* Adjust for border */
}

.sidebar-menu .list-group-item.active {
    font-weight: 500;
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.sidebar-footer .list-group-item {
    background-color: transparent;
    color: #aeb4c5;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.sidebar-footer .list-group-item:hover {
    color: #fff;
}

/* Buttons */
.btn-ru-primary {
    background-color: transparent;
    color: var(--ru-green);
    border: 1px solid var(--ru-green);
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-ru-primary:hover {
    background-color: var(--ru-green);
    color: white;
}

.btn-ru-secondary {
    background-color: var(--ru-green);
    color: white;
    border: none;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 209, 141, 0.3);
}

.btn-ru-secondary:hover {
    background-color: var(--ru-green-hover);
    color: white;
}

.btn-ru-save {
    background-color: var(--ru-green);
    border: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-ru-save:hover {
    background-color: var(--ru-green-hover);
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    background-color: #fff;
}

.card-header {
    background-color: transparent;
    border-bottom: none;
    font-weight: 600;
    padding: 1.25rem 1.5rem 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Specific Dashboard Elements */
.stats-banner {
    background: linear-gradient(135deg, #00d18d 0%, #00bfa5 100%);
    color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.stats-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.donut-chart-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 10px solid #eee;
    border-top-color: #dc3545; /* Red for unconnected */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screen-protect-card {
    background-color: #fff;
}

.screen-protect-card h4 {
    color: #1a237e;
    font-weight: 700;
}

/* Wizard Styles */
.wizard-sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    min-height: calc(100vh - 100px); /* Adjust based on header height */
}

.step-indicator .nav-link {
    color: #6c757d;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.step-indicator .nav-link.active {
    color: var(--ru-blue);
    background-color: #e9ecef;
    /* border-right: 3px solid var(--ru-green); Removed to use JS driven style */
}

.step-indicator .nav-link .step-icon {
    display: inline-block;
    width: 24px;
    text-align: center;
    margin-right: 10px;
}
