/* RiskSpan Edge Training Presentation Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a2e;
    color: #fff;
    overflow: hidden;
}

.presentation {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    background: #1a1a2e;
    position: absolute;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.slide.active {
    display: flex;
    flex-direction: column;
}

/* Title Slide */
.slide.title-slide {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.title-slide h1 {
    font-size: 3.5rem;
    color: #3b82f6;
    margin-bottom: 20px;
}

.slide.title-slide h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 30px;
}

.slide.title-slide .subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* Content Slides */
.slide h1 {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3b82f6;
}

.slide h2 {
    font-size: 1.8rem;
    color: #60a5fa;
    margin: 30px 0 20px 0;
}

.slide h3 {
    font-size: 1.4rem;
    color: #93c5fd;
    margin: 20px 0 15px 0;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    flex: 1;
}

.column {
    display: flex;
    flex-direction: column;
}

/* Lists */
ul, ol {
    margin-left: 30px;
    line-height: 2;
}

ul li, ol li {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

ul li::marker {
    color: #3b82f6;
}

ol li::marker {
    color: #60a5fa;
    font-weight: bold;
}

/* Nested lists */
ul ul, ol ul, ul ol, ol ol {
    margin-top: 10px;
    font-size: 0.95em;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1.1rem;
}

th {
    background: #3b82f6;
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 12px 20px;
    border-bottom: 1px solid #374151;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

tr:hover {
    background: rgba(96, 165, 250, 0.1);
}

/* Highlight boxes */
.highlight-box {
    background: #1e3a5f;
    border-left: 4px solid #60a5fa;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
}

.highlight-box.warning {
    border-left-color: #f59e0b;
    background: #422006;
}

.highlight-box.success {
    border-left-color: #10b981;
    background: #064e3b;
}

.highlight-box.danger {
    border-left-color: #ef4444;
    background: #7f1d1d;
}

/* Code blocks */
code {
    background: #111827;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    color: #10b981;
    font-size: 0.95em;
}

pre {
    background: #111827;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid #374151;
}

pre code {
    background: none;
    padding: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Key terms */
.key-term {
    color: #60a5fa;
    font-weight: 600;
}

/* Screenshot placeholder */
.screenshot-placeholder {
    background: #1f2937;
    border: 2px dashed #4b5563;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.screenshot-placeholder .label {
    color: #9ca3af;
    font-size: 1.1rem;
}

.screenshot-placeholder .timestamp {
    color: #60a5fa;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Actual screenshots */
.screenshot {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

/* Navigation */
.nav-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    border-radius: 8px;
    z-index: 1000;
}

.nav-btn {
    background: none;
    border: 2px solid #4b5563;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.home-btn {
    background: none;
    border: 2px solid #4b5563;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-btn:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
    color: #fff;
}

/* Decision Tree Styles */
.decision-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.tree-node {
    background: #1e3a5f;
    border: 2px solid #3b82f6;
    border-radius: 10px;
    padding: 15px 25px;
    text-align: center;
    max-width: 400px;
    position: relative;
}

.tree-node.question {
    background: #1e3a5f;
    border-color: #60a5fa;
}

.tree-node.action {
    background: #064e3b;
    border-color: #10b981;
}

.tree-node.escalate {
    background: #422006;
    border-color: #f59e0b;
}

.tree-connector {
    width: 2px;
    height: 20px;
    background: #4b5563;
}

.tree-branch {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.tree-branch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tree-label {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 5px;
}

.slide-counter {
    color: #9ca3af;
    font-size: 1rem;
    min-width: 80px;
    text-align: center;
}

/* Progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #3b82f6;
    transition: width 0.3s ease;
    z-index: 1001;
}

/* Keyboard hints */
.keyboard-hints {
    position: fixed;
    bottom: 100px;
    right: 30px;
    color: #6b7280;
    font-size: 0.85rem;
    text-align: right;
}

.keyboard-hints kbd {
    background: #374151;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 0 3px;
}

/* Summary slide */
.summary-box {
    background: #1f2937;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
}

.summary-box h3 {
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slide {
        padding: 40px 50px;
    }

    .slide h1 {
        font-size: 2rem;
    }

    ul li, ol li {
        font-size: 1.1rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Print styles */
@media print {
    .slide {
        display: block !important;
        page-break-after: always;
        position: relative;
        height: auto;
        min-height: 100vh;
    }

    .nav-controls, .progress-bar, .keyboard-hints {
        display: none !important;
    }
}
