/* --- GLOBAL & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.arm-sidebar-container, .arm-lesson-content-wrapper {
    font-family: 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- SIDEBAR: THINKIFIC STYLE --- */
.arm-sidebar-container {
    background: #ffffff;
    border-right: 1px solid #ececec;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.arm-sidebar-container::-webkit-scrollbar {
    width: 5px;
}
.arm-sidebar-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}

/* Sidebar Progress Section */
.arm-sidebar-progress-header {
    padding: 30px 25px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.arm-sidebar-progress-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #999;
    margin-bottom: 12px;
    display: block;
}

.arm-sidebar-progress-label strong {
    color: #333;
    margin-left: 5px;
}

.arm-sidebar-progress-bar-bg {
    background: #f0f0f0;
    height: 6px;
    border-radius: 10px;
}

.arm-sidebar-progress-fill {
    background: #0073aa; /* Wird per Elementor Accent Color überschrieben */
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar Accordion & Modules */
.arm-module-header {
    padding: 20px 25px;
    background: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.arm-module-header:hover {
    background: #f7f7f7;
}

.arm-module-title {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
}

.arm-module-toggle {
    font-size: 10px;
    color: #bbb;
    transition: transform 0.3s ease;
}

.arm-mod-expanded .arm-module-toggle {
    transform: rotate(180deg);
}

.arm-sidebar-lessons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arm-curriculum-item {
    border-bottom: 1px solid #f8f8f8;
}

.arm-curriculum-item a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    text-decoration: none;
    color: #555;
    font-size: 13.5px;
    font-weight: 400;
    transition: all 0.2s;
}

.arm-curriculum-item:hover {
    background: #f9fbff;
}

.arm-curriculum-item.arm-lesson-active {
    background: #f4f9ff;
    border-left: 4px solid #0073aa;
}

.arm-curriculum-item.arm-lesson-active a {
    color: #0073aa;
    font-weight: 600;
}

.arm-status-icon {
    margin-right: 15px;
    font-size: 16px;
    color: #ddd;
    flex-shrink: 0;
}

.arm-lesson-done .arm-status-icon {
    color: #28a745;
}

/* --- ULTRA SEXY BUTTONS --- */
.arm-complete-btn-container {
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.arm-lesson-complete-btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 35px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #0073aa;
    background-color: #0073aa;
    color: #fff;
    outline: none;
}

.arm-lesson-complete-btn:hover {
    background-color: #005a87;
    border-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,115,170,0.15);
}

/* Done / Undo State */
.arm-lesson-complete-btn.arm-btn-completed {
    background-color: transparent;
    color: #28a745;
    border-color: #28a745;
}

.arm-lesson-complete-btn.arm-btn-completed:hover {
    background-color: rgba(40, 167, 69, 0.04);
    border-color: #218838;
    color: #218838;
}

/* Next Button */
.arm-next-lesson-btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 35px;
    border-radius: 4px;
    text-decoration: none;
    background-color: #222;
    color: #fff !important;
    border: 2px solid #222;
    transition: all 0.3s ease;
}

.arm-next-lesson-btn:hover {
    background-color: #000;
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
