/*
    Haiku UEFI USB Wizard
    Stylesheet

    Inspired by the clean, calm appearance of Haiku documentation.
    Original styling - not copied from haiku-os.org.
*/


:root {
    --haiku-blue: #3b78b5;
    --haiku-light-blue: #eaf3fb;
    --haiku-dark-blue: #244d73;

    --background: #f5f7fa;
    --card: #ffffff;

    --border: #d4dce5;

    --text: #303840;
    --muted: #66727f;

    --code-background: #1e2227;
    --code-text: #e6edf3;

    --accent: #f2a900;

    --shadow:
        0 3px 10px rgba(0,0,0,0.12);
}


* {
    box-sizing: border-box;
}


body {

    margin: 0;

    background:
        linear-gradient(
            180deg,
            #eaf3fb 0%,
            var(--background) 180px
        );

    color: var(--text);

    font-family:
        "Noto Sans",
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.55;
}



header {

    background:
        linear-gradient(
            135deg,
            var(--haiku-blue),
            var(--haiku-dark-blue)
        );

    color: white;

    padding: 2rem;

    text-align: center;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.25);

}


header h1 {

    margin: 0;

    font-size: 2.4rem;

}


header p {

    margin-top: .5rem;

    font-size: 1.15rem;

    opacity: .9;

}



.container {

    max-width: 1400px;

    margin:
        2rem auto;

    padding:
        0 1.5rem;

}



.twocol {

    display: grid;

    grid-template-columns:
        28% 72%;

    gap:
        1.5rem;

    align-items:
        start;

}



.reverse {

    grid-template-columns:
        72% 28%;

}



.left,
.right {

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        12px;

    padding:
        1.5rem;

    box-shadow:
        var(--shadow);

}



h2 {

    margin-top: 0;

    color:
        var(--haiku-dark-blue);

}


h3 {

    color:
        var(--haiku-blue);

}



.steps {

    background:
        var(--haiku-light-blue);

    border-left:
        5px solid var(--haiku-blue);

    padding:
        1rem;

    white-space:
        pre-wrap;

    font-family:
        monospace;

}



.codeheader {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    margin-bottom:
        .5rem;

}



button {

    background:
        var(--haiku-blue);

    color:
        white;

    border:
        none;

    border-radius:
        6px;

    padding:
        .45rem .9rem;

    cursor:
        pointer;

    font-size:
        .9rem;

}



button:hover {

    background:
        var(--haiku-dark-blue);

}



pre {

    margin:
        0;

}

pre code {
    display: block;
    padding: 1.2rem;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre;
    font-family:
        "Cascadia Code",
        "Consolas",
        monospace;
    font-size: .9rem;
}

li {
    margin-bottom:
        .5rem;
}

hr {
    margin:
        3rem 0;
    border:
        none;
    height:
        2px;
    background:
        var(--border);
}



footer {

    text-align:
        center;

    color:
        var(--muted);

    padding:
        2rem;

    font-size:
        .9rem;

}



/*
    Responsive layout
*/

@media(max-width:900px) {


    .twocol,
    .reverse {

        grid-template-columns:
            1fr;

    }


    header h1 {

        font-size:
            1.8rem;

    }


}
