/* DBS Dana Extractor Styles */

body {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    background: #f5f5f5;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

h2 {
    color: #555;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
    font-size: 1.2em;
    margin-top: 20px;
}

h3 {
    color: #666;
    margin-top: 20px;
}

.proxy-info {
    background: #e9ecef;
    padding: 12px;
    border-radius: 5px;
    font-family: monospace;
    margin: 10px 0;
    word-break: break-all;
    overflow-wrap: break-word;
    font-size: 0.9em;
}

.step {
    background: #f8f9fa;
    padding: 12px;
    margin: 10px 0;
    border-left: 4px solid #007cba;
    border-radius: 5px;
}

.method-section {
    background: #fff;
    border: 2px solid #007cba;
    border-radius: 10px;
    margin: 15px 0;
    padding: 15px;
}

.method-title {
    color: #007cba;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 12px;
}

.download-btn {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 5px;
    margin: 8px 4px;
    font-weight: bold;
    font-size: 0.9em;
}

.download-btn:hover {
    background: #005a8b;
}

.youtube-btn {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 5px;
    margin: 8px 4px;
    font-weight: bold;
    font-size: 0.9em;
}

.youtube-btn:hover {
    background: #cc0000;
}

.accordion {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 14px;
    transition: 0.4s;
    border-radius: 5px;
    margin: 8px 0;
}

.accordion:hover {
    background-color: #ddd;
}

.accordion.active {
    background-color: #007cba;
    color: white;
}

.panel {
    padding: 0 15px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border: 1px solid #ddd;
    border-top: none;
}

.panel.active {
    max-height: 500px;
    padding: 15px;
}

.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.step-list li {
    counter-increment: step-counter;
    margin: 8px 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
    position: relative;
    padding-left: 35px;
    font-size: 0.95em;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #007cba;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.step-list li ul {
    margin: 8px 0;
    padding-left: 15px;
}

.step-list li ul li {
    background: none;
    padding: 2px 0;
    margin: 2px 0;
}

.step-list li ul li::before {
    display: none;
}

.under-development {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 0.95em;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    body {
        padding: 5px;
    }

    .container {
        padding: 15px;
        margin: 0;
        border-radius: 5px;
    }

    h1 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.1em;
        margin-top: 15px;
    }

    .method-section {
        padding: 12px;
        margin: 10px 0;
    }

    .method-title {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .download-btn,
    .youtube-btn {
        padding: 8px 12px;
        margin: 6px 2px;
        font-size: 0.85em;
        display: block;
        text-align: center;
        margin-bottom: 8px;
    }

    .accordion {
        padding: 12px;
        font-size: 13px;
    }

    .panel.active {
        padding: 12px;
    }

    .step-list li {
        padding: 6px;
        padding-left: 30px;
        font-size: 0.9em;
    }

    .step-list li::before {
        width: 16px;
        height: 16px;
        font-size: 10px;
        left: 6px;
    }

    .proxy-info {
        padding: 10px;
        font-size: 0.85em;
    }

    .step {
        padding: 10px;
    }
}

/* Very small mobile screens */
@media (max-width: 480px) {
    body {
        padding: 3px;
    }

    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.2em;
    }

    .method-section {
        padding: 8px;
    }

    .download-btn,
    .youtube-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}