:root{
    --teal:#008080;
    --bg:#f8fafc;
    --card:#ffffff;
    --border:#e5e7eb;
    --text:#111827;
    --muted:#6b7280;
    --shadow:0 6px 18px rgba(0,0,0,0.06);
    --radius:14px;
}

.docs-hero{
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal) 100%);
    color:#fff;
    padding: 34px 16px;
}
.docs-hero-inner{
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.docs-hero h1{
    margin:0;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: .2px;
}
.docs-sub{
    margin: 8px 0 10px 0;
    font-weight: 800;
    opacity: .95;
}
.docs-desc{
    margin:0 auto;
    max-width: 780px;
    opacity: .92;
    line-height: 1.55;
}

.docs-wrap{
    background: var(--bg);
    padding: 26px 16px 60px;
}

.docs-card{
    max-width: 1100px;
    margin: 0 auto 16px auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 18px 16px;
}
.docs-card h2{
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 900;
    color: var(--text);
}
.docs-muted{
    color: var(--muted);
    margin: 0 0 10px 0;
    line-height: 1.55;
}

.docs-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin: 10px 0 10px 0;
}
.docs-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 0;
    background: var(--teal);
    color:#fff;
    font-weight: 900;
    text-decoration:none;
    cursor:pointer;
}
.docs-btn:hover{ filter: brightness(0.95); }
.docs-btn-dark{ background:#111827; }

.docs-note{
    margin-top: 12px;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color:#1e3a8a;
    font-weight: 700;
    line-height: 1.45;
}

.docs-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 18px;
    margin-bottom: 10px;
}

.docs-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* αυτό έλειπε */
    padding: 0 34px 0 0;
    margin-right: 10px;
    background: transparent;
    border: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.docs-choice {
    gap: 10px;
}

.docs-pill::after {
    content: "";
    position: absolute;
    right: 6px;
    width: 18px;
    height: 2px;
    background: #0f766e;
}

.docs-pill:not(:last-of-type)::before {
    content: "";
    position: absolute;
    right: 2px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #0f766e;
    border-right: 2px solid #0f766e;
    transform: rotate(45deg);
}

.docs-pill:last-of-type {
    padding-right: 0;
    margin-right: 0;
}

.docs-pill:last-of-type::after,
.docs-pill:last-of-type::before {
    display: none;
}

.docs-arrow {
    display: none;
}

.docs-choice {
    gap: 10px;
}

.docs-or {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
}

@media (min-width: 900px){
    .docs-grid{ grid-template-columns: 1fr 1fr; }
}
.docs-box{
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 14px 12px;
    background: #f9fafb;
}
.docs-box-title{
    font-weight: 900;
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
    margin-bottom: 6px;
}
.docs-box-desc{
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.docs-list{
    margin: 0;
    padding-left: 18px;
    color: var(--text);
    line-height: 1.7;
    font-weight: 700;
}
.docs-code{
    background: #0b1220;
    color: #e5e7eb;
    border-radius: 12px;
    padding: 14px 14px;
    overflow:auto;
    border: 1px solid rgba(255,255,255,.06);
    margin: 10px 0 0 0;
}
.docs-code code{
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre;
}

/* ADDED: copy button styling (fits your existing design) */
.copy-btn{
    border:0;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--teal);
    color:#fff;
    font-weight: 900;
    cursor:pointer;
    margin-bottom: 10px;
    float: right;
}


.docs-code-wrap{
    position: relative;
}

.copy-btn.inside{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

.docs-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 18px auto 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.docs-image-small {
    width: 100%;
    max-width: 720px;
}

.docs-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.docs-btn.secondary {
    background: #334155;
}

.docs-hero h1 {
    margin: 8px 0;
    font-size: 42px;
    line-height: 1.1;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.docs-wrap {
    width: 100%;
    max-width: 100%;
    padding: 26px 16px 60px;
}

.docs-card {
    width: 100%;
    max-width: 1100px;
}

.docs-code {
    max-width: 100%;
    overflow-x: auto;
}

.docs-code code {
    white-space: pre;
}


@media (max-width: 600px) {
    .docs-hero {
        padding: 22px 12px;
    }

    .docs-hero h1 {
        font-size: 28px;
    }

    .docs-wrap {
        padding: 12px 10px 40px;
    }

    .docs-card {
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px 0;
        padding: 14px 12px;
        border-radius: 12px;
    }

    .docs-card h2 {
        font-size: 17px;
    }

    .docs-muted {
        font-size: 14px;
    }

    .docs-image,
    .docs-image-small {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .docs-code {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        padding: 12px;
    }

    .docs-code code {
        font-size: 11px;
        line-height: 1.45;
    }

    .docs-flow {
        align-items: flex-start;
        gap: 6px 0;
    }

    .docs-pill {
        font-size: 12px;
        white-space: normal;
    }
}

.docs-meta-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 22px;
    align-items: start;
}

.docs-meta-image {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.docs-meta-image img {
    width: 100%;
    display: block;
    border-radius: 10px;
    border: 0;
}

.docs-meta-image-wide {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .docs-meta-images {
        grid-template-columns: 1fr;
    }

    .docs-meta-image-wide {
        max-width: 100%;
    }
}
