* {
    box-sizing: border-box;
}

:root {
    --primary-color: #008060;
    /* Shopify Green */
    --secondary-color: #f4f6f8;
    --text-color: #212b36;
    --heading-color: #000000;
    --border-color: #dfe3e8;
    --sidebar-width: 250px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

aside {
    width: var(--sidebar-width);
    background-color: var(--secondary-color);
    border-right: 1px solid var(--border-color);
    padding: 20px;
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

aside h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.sidebar-logo {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
    display: block;
}

aside ul {
    list-style-type: none;
    padding: 0;
}

aside ul li {
    margin-bottom: 10px;
}

aside ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
}

aside ul li a:hover,
aside ul li a.active {
    background-color: #e4e7eb;
    color: var(--primary-color);
}

details {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
}

summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-weight: bold;
}

details[open] summary::after {
    content: "-";
}

details[open] summary {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

main {
    margin-left: var(--sidebar-width);
    padding: 40px 60px 40px 80px;
    /* Top Right Bottom Left - increased left padding */
    max-width: 900px;
    /* Slightly increased max-width to accommodate padding */
    flex: 1;
}

h1,
h2,
h3 {
    color: var(--heading-color);
}

h1 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

code {
    background-color: #f9fafb;
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px solid #dfe3e8;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.screenshot {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 20px 0;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.note {
    background-color: #e0f5f5;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.alert {
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid;
    border-radius: 0 4px 4px 0;
}

.alert-important {
    background-color: #ffe6e6;
    border-color: #d82c0d;
    color: #8e1f0b;
}

.alert-warning {
    background-color: #fff4e5;
    border-color: #ff9800; /* Orange */
}

footer {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 0.9em;
    color: #637381;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}