html {
  font-size: 12px;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/* Dark navbar with light text */
.navbar {
    color: #DDD9CD !important;
}

    .navbar .navbar-brand, .navbar .nav-link {
        color: #DDD9CD !important;
    }

    .navbar .navbar-toggler {
        border-color: #DDD9CD !important;
    }

    .navbar .navbar-toggler-icon {
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="rgb(221,217,205)" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E') !important;
    }

/* Light background for the body with dark text */
    body {
        background-color: #DDD9CD;
        color: #1B395A;
    }

    h1, h2, h3, h4, h5, h6, p, a {
        color: #1B395A;
    }

/* Code block styling - Dark blue theme */
.code-container {
    margin: 10px 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #1B395A;
    border: 1px solid #2a4a6b;
}

.code-header {
    background-color: #0f2a42;
    padding: 8px 12px;
    border-bottom: 1px solid #2a4a6b;
    font-size: 12px;
    font-weight: bold;
    color: #DDD9CD;
}

.code-block {
    background-color: #1B395A;
    color: #DDD9CD;
    padding: 16px;
    margin: 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

/* Syntax highlighting colors - adjusted for dark background */
.keyword {
    color: #ff6b9d;
    font-weight: bold;
}

.string {
    color: #7dd87d;
}

.comment {
    color: #a8a8a8;
    font-style: italic;
}

.number {
    color: #ffb347;
}

.attribute {
    color: #87ceeb;
}

/* Ensure code text is visible */
.code-block .keyword,
.code-block .string,
.code-block .comment,
.code-block .number,
.code-block .attribute {
    background: transparent;
}
