:root {
    --rb-primary: #2f8f43;
    --rb-secondary: #1f2937;
    --rb-accent: #f59e0b;
    --rb-bg: #eef7ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--rb-bg);
    color: #111827;
}

.rb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.rb-navbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.rb-navbar .rb-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 12px;
}

.rb-brand {
    font-weight: 700;
    color: var(--rb-primary);
    text-decoration: none;
    white-space: nowrap;
}

.rb-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rb-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

.rb-hero {
    padding: 28px 0 8px;
    background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 100%);
    border-radius: 18px;
    border: 1px solid #dbeafe;
    margin-bottom: 24px;
}

.rb-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #1f2937;
}
.rb-hero p {
    color: #374151;
    margin-bottom: 12px;
}
.rb-hero-welcome {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    color: #374151;
}
.rb-hero-welcome p {
    margin: 0 0 8px;
}
.rb-hero-welcome p:last-child {
    margin-bottom: 0;
}

.rb-section {
    margin: 24px 0;
}

.rb-section h2 {
    margin: 0 0 12px;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
}
.rb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff7ed;
    color: #b45309;
    margin-right: 8px;
    font-size: 1.1rem;
}
.rb-section-desc {
    margin: 0 0 16px;
    color: #4b5563;
}
.rb-modul-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #fef3c7 100%);
    border: 1px solid #e0f2fe;
    border-radius: 18px;
    padding: 18px;
}
.rb-module-group {
    margin-bottom: 24px;
}
.rb-module-group h3 {
    margin: 0 0 12px;
    color: #1f2937;
}
.rb-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: #0f766e;
}
.rb-module-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.08);
}
.rb-module-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.rb-module-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #e0f2fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rb-module-card h4 {
    margin: 0 0 8px;
    color: var(--rb-primary);
}
.rb-module-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}
.rb-module-list a {
    text-decoration: none;
    color: var(--rb-primary);
    font-size: 0.9rem;
}
.rb-module-list a:hover {
    color: #0f766e;
}
.rb-module-empty {
    margin: 0 0 8px;
    color: #9ca3af;
    font-size: 0.9rem;
}
.rb-module-link {
    display: inline-block;
    margin-top: 8px;
    background: var(--rb-primary);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.rb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.rb-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rb-card h3 {
    color: var(--rb-primary);
}
.rb-card-icon {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rb-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfeff;
    color: #0f766e;
    font-size: 1.1rem;
}

.rb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.rb-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.rb-breadcrumb .rb-container {
    padding: 10px 16px;
}

.rb-footer {
    background: var(--rb-secondary);
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.rb-bottom-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    z-index: 20;
}

.rb-bottom-item {
    padding: 8px 4px;
    text-align: center;
    text-decoration: none;
    color: #374151;
    font-size: 0.75rem;
}

.rb-bottom-icon {
    display: block;
    margin-bottom: 2px;
    line-height: 1;
    height: 16px;
    font-size: 18px;
    font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
}

.rb-main {
    padding-bottom: 72px;
}

@media (min-width: 769px) {
    .rb-bottom-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .rb-links {
        display: none;
    }
}
