html, body { height: 100%; }

body {
    background: #0f1115;
    color: #e6e6e6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main { flex: 1 0 auto; }
body > .app-footer { flex-shrink: 0; }

.app-navbar,
.app-header {
    background: #1a1d24;
    border-color: #2a2f3a !important;
}

.app-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo { max-height: 40px; width: auto; }

.card {
    background: #1a1d24;
    border: 1px solid #2a2f3a;
    color: #e6e6e6;
}

.card-item {
    cursor: pointer;
    color: #e6e6e6 !important;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}

.card-item h3, .card-item .card-body { color: #e6e6e6; }

.card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    border-color: #3b4252;
}

.card-item img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    padding: 1rem;
    background: transparent;
}

.breadcrumb {
    --bs-breadcrumb-divider-color: #6c757d;
    background: transparent;
}

.breadcrumb-item a { color: #8ab4ff; text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: #b8bfcc; }

.form-control,
.form-control:focus {
    background: #0f1115;
    border-color: #2a2f3a;
    color: #e6e6e6;
}

.form-control::placeholder { color: #6c757d; }

.tutorial-img { max-width: 100%; border-radius: .5rem; }
.tutorial-video { position: relative; padding-bottom: 56.25%; height: 0; }
.tutorial-video iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0; border-radius: .5rem;
}

.instructions { white-space: pre-wrap; color: #d9dde3; }

.app-footer {
    background: #1a1d24;
    border-color: #2a2f3a !important;
    color: #8a91a0;
}
