html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1:focus, h2:focus, h3:focus, h4:focus {
    outline: none;
}

#app {
    height: 100vh;
    overflow: hidden;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
}

.handbook-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.15s;
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    color: #444;
    margin-right: 6px;
}

.handbook-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

.lang-flag-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.15s;
    line-height: 1;
    display: flex;
    align-items: center;
}

.lang-flag-btn img {
    width: 28px;
    height: 21px;
    display: block;
    border-radius: 2px;
}

.lang-flag-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.transfer-footer {
    padding: 10px 20px 30px 20px;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.btn.btn-nextlane {
    background-color: #6633FF;
    border-color: #6633FF;
    color: #ffffff;
}

.btn.btn-nextlane:hover,
.btn.btn-nextlane:focus,
.btn.btn-nextlane:active {
    background-color: #5522ee;
    border-color: #5522ee;
    color: #ffffff;
}

.btn.btn-nextlane:disabled,
.btn.btn-nextlane.disabled {
    background-color: #b399ff;
    border-color: #b399ff;
    color: #ffffff;
    opacity: 1;
}

.lang-flag-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 500;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 48px;
    align-items: center;
}
