/* Ocellus Setup Guide - Apple Design */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.wizard-container {
    background-color: #1c1c1e;
    border-radius: 16px;
    width: 100%;
    max-width: 1600px;
    height: 1000px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.wizard-header {
    background-color: #1c1c1e;
    padding: 24px 32px;
    border-bottom: 1px solid #3a3a3c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #0a84ff;
}

.progress-indicator {
    font-size: 16px;
    color: #8e8e93;
    font-weight: 500;
}

#current-step {
    color: #ffffff;
    font-weight: 600;
}

.wizard-content {
    flex: 1;
    padding: 32px 48px;
    overflow-y: auto;
    background-color: #1c1c1e;
}

/* Custom scrollbar - Apple style */
.wizard-content::-webkit-scrollbar {
    width: 14px;
}

.wizard-content::-webkit-scrollbar-track {
    background: transparent;
}

.wizard-content::-webkit-scrollbar-thumb {
    background-color: #48484a;
    border-radius: 7px;
}

.wizard-content::-webkit-scrollbar-thumb:hover {
    background-color: #636366;
}

.step-title {
    font-size: 36px;
    font-weight: 600;
    color: #0a84ff;
    margin-bottom: 24px;
}

.step-content {
    background-color: #2c2c2e;
    border-radius: 12px;
    padding: 24px;
    font-size: 27px;
    line-height: 1.6;
    color: #ffffff;
}

.step-content.intro {
    font-size: 18px;
}

.step-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #0a84ff;
    margin-top: 20px;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 36px;
    font-weight: 500;
    color: #64d2ff;
    margin-top: 16px;
    margin-bottom: 12px;
}

.step-content p {
    margin-bottom: 16px;
}

.step-content ul,
.step-content ol {
    margin-left: 30px;
    margin-bottom: 16px;
}

.step-content li {
    margin-bottom: 12px;
}

.step-content code {
    background-color: #1c1c1e;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 24px;
    color: #ff6b6b;
}

.step-content small {
    font-size: 20px;
    color: #8e8e93;
}

/* Info boxes */
.info-box {
    padding: 12px;
    margin-top: 16px;
    border-radius: 8px;
    border-left: 4px solid;
}

.info-box.blue {
    background-color: #1a2a3a;
    border-left-color: #0a84ff;
}

.info-box.blue b {
    color: #0a84ff;
}

.info-box.orange {
    background-color: #2a2218;
    border-left-color: #ff9f0a;
}

.info-box.orange b {
    color: #ff9f0a;
}

.info-box.green {
    background-color: #1a2a22;
    border-left-color: #30d158;
}

.info-box.green b {
    color: #30d158;
}

.info-box.red {
    background-color: #2a1a1a;
    border-left-color: #ff453a;
}

.info-box.red b {
    color: #ff453a;
}

.wizard-footer {
    background-color: #1c1c1e;
    padding: 20px 32px;
    border-top: 1px solid #3a3a3c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.completion-area {
    display: flex;
}

.completion-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: #2c2c2e;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    user-select: none;
}

.completion-checkbox:hover {
    background-color: #3a3a3c;
}

.completion-checkbox input[type="checkbox"] {
    width: 28px;
    height: 28px;
    cursor: pointer;
    accent-color: #0a84ff;
}

.btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    min-width: 90px;
    min-height: 44px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn:disabled {
    background-color: #3a3a3c;
    color: #8e8e93;
    cursor: not-allowed;
}

.btn-next {
    background-color: #0a84ff;
    color: #ffffff;
}

.btn-next:hover:not(:disabled) {
    background-color: #409cff;
}

.btn-next:active:not(:disabled) {
    background-color: #0070e0;
}

.btn-back {
    background-color: #48484a;
    color: #ffffff;
}

.btn-back:hover:not(:disabled) {
    background-color: #636366;
}

.btn-finish {
    background-color: #30d158;
    color: #ffffff;
}

.btn-finish:hover:not(:disabled) {
    background-color: #40de5f;
}

/* Camera Settings Buttons */
.camera-btn {
    background-color: #2c2c2e;
    color: #ffffff;
    border: 2px solid #0a84ff;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.camera-btn:hover {
    background-color: #0a84ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1c1c1e;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #3a3a3c;
}

.modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #0a84ff;
}

.modal-close {
    background: none;
    border: none;
    color: #8e8e93;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3 {
    color: #0a84ff;
    font-size: 24px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.modal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-body code {
    background-color: #2c2c2e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 16px;
    color: #64d2ff;
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid #3a3a3c;
    display: flex;
    justify-content: flex-end;
}

/* Responsive adjustments - tablet */
@media (max-width: 1200px) {
    .wizard-container {
        height: auto;
        min-height: 600px;
    }

    .step-content {
        font-size: 20px;
    }

    .step-title {
        font-size: 28px;
    }

    .modal-content {
        width: 95%;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body {
        padding: 8px;
        align-items: flex-start;
    }

    .wizard-container {
        height: auto;
        min-height: 100dvh;
        border-radius: 10px;
    }

    .wizard-header {
        padding: 12px 16px;
    }

    .wizard-header h1 {
        font-size: 16px;
    }

    .progress-indicator {
        font-size: 13px;
    }

    .wizard-content {
        padding: 14px 16px;
    }

    .step-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .step-content {
        font-size: 14px;
        padding: 14px;
        line-height: 1.5;
    }

    .step-content.intro {
        font-size: 13px;
    }

    .step-content h2 {
        font-size: 20px;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .step-content h3 {
        font-size: 16px;
        margin-top: 10px;
        margin-bottom: 6px;
    }

    .step-content p {
        margin-bottom: 10px;
    }

    .step-content ul,
    .step-content ol {
        margin-left: 18px;
        margin-bottom: 10px;
    }

    .step-content li {
        margin-bottom: 6px;
    }

    .step-content code {
        font-size: 12px;
        padding: 2px 5px;
    }

    .step-content small {
        font-size: 12px;
    }

    .info-box {
        padding: 8px;
        margin-top: 10px;
    }

    .wizard-footer {
        padding: 8px 12px;
        flex-wrap: nowrap;
        gap: 6px;
        align-items: center;
    }

    .right-controls {
        gap: 6px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .completion-checkbox {
        font-size: 12px;
        padding: 6px 8px;
        white-space: nowrap;
    }

    .completion-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .btn {
        font-size: 12px;
        padding: 7px 10px;
        min-width: 58px;
        min-height: 34px;
        white-space: nowrap;
    }

    .camera-btn {
        font-size: 13px;
        padding: 10px 14px;
    }

    /* Modal */
    .modal-content {
        width: 98%;
        max-height: 95vh;
        border-radius: 10px;
    }

    .modal-header {
        padding: 12px 16px;
    }

    .modal-header h2 {
        font-size: 16px;
    }

    .modal-close {
        font-size: 32px;
        width: 32px;
        height: 32px;
    }

    .modal-body {
        padding: 14px 16px;
        font-size: 13px;
    }

    .modal-body h3 {
        font-size: 15px;
        margin-top: 14px;
        margin-bottom: 8px;
    }

    .modal-body code {
        font-size: 12px;
    }

    .modal-footer {
        padding: 10px 16px;
    }
}
