html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #1c1c1b;
}

.background-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Tiled background image - grid only, no spotlight */
.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/dbgrid@2x.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 26px 26px;
    z-index: 2;
    opacity: 0;
    animation: gridFade .5s ease-in forwards;
}

@keyframes gridFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content {
    font-family: "Lucida Grande";
    color: white;
    position: relative;
    z-index: 3;
    padding: 40px 20px 80px 20px;
    min-height: calc(100vh - 120px);
    box-sizing: border-box;
}

.guide-container {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

h2 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #e0e0e0;
}

h3 {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #d0d0d0;
}

p {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: left;
}

a {
    color: #6cb6ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.code-block {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #4a4a4a;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 15px 0;
    font-family: Monaco, "Courier New", monospace;
    font-size: 12px;
    overflow-x: auto;
}

.code-block code {
    color: #f0f0f0;
    background: none;
    padding: 0;
    border: none;
}

strong {
    font-weight: bold;
    color: #f0f0f0;
}

.ultrabutton {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid #4a4a4a;

    /* aqua gradient */
    background: linear-gradient(to bottom,
            #6cb6ff 0%,
            #3a9eff 50%,
            #1f7fe0 51%,
            #1365c2 100%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4);

    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.15s ease;
    cursor: pointer;
}

.ultrabutton .button-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ultrabutton img {
    height: 32px;
    width: auto;
    margin-right: 8px;
}

.ultrabutton:hover {
    background: linear-gradient(to bottom,
            #7bc2ff 0%,
            #45a7ff 50%,
            #238ae6 51%,
            #1871c9 100%);
    text-decoration: none;
}

.ultrabutton.secondary {
    background: linear-gradient(to bottom,
            #555 0%, #444 50%, #333 51%, #222 100%);
    border-color: #333;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.4);
    font-weight: normal;
    color: #eee;
}

.ultrabutton:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(1px);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.breadcrumb {
    background-image: url("/images/breadcrumb_background_dark.png");
    bottom: 0px;
    font-size: 10px;
    height: 15px;
    left: 0px;
    right: 0px;
    padding: 3px 10px 0px 30px;
    position: fixed;
    z-index: 901;
    overflow: visible;
    border-top: 1px solid rgb(36, 37, 41);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.breadcrumb-left {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.breadcrumb-right {
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
    padding-right: 20px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
    color: #6cb6ff !important;
}

.dropdown-toggle:hover {
    color: #7bc2ff !important;
}

.dropdown-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: #2a2a2b;
    border: 1px solid #4a4a4a;
    border-radius: 4px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(3px);
    transition: all 0.2s ease;
    margin-bottom: -3px;
    pointer-events: none;
    padding-bottom: 3px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    font-size: 10px;
    border-bottom: 1px solid #3a3a3b;
    white-space: nowrap;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #3a3a3b;
    text-decoration: none;
}

.dropdown-menu a.disabled {
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.dropdown-menu a.disabled:hover {
    background-color: transparent;
    color: #666;
}

@media (max-width: 700px) {
    .content {
        padding: 20px 15px 80px 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 14px;
    }
    
    .code-block {
        font-size: 11px;
        padding: 10px 12px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 30px;
    }
}