@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&display=swap");

body.fdos-login {
    margin: 0;
    min-height: 100vh;
    background: #f4f7f2;
    color: #243044;
    font-family: Nunito, system-ui, sans-serif;
}

body.fdos-login .form-signin {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.fdos-canvas {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2.5rem 1rem;
}

.fdos-card {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    max-width: 26rem;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #fffcf6;
    box-shadow: 0 18px 50px rgb(36 48 68 / 0.08);
}

.fdos-card-body {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem 2.5rem;
}

.fdos-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.fdos-logo img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.fdos-logo span {
    color: #1f8a78;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.fdos-card h1 {
    margin: 0 0 0.25rem;
    color: #1d4ed8;
    font-size: 1.65rem;
    font-weight: 800;
    text-align: center;
}

.fdos-lead {
    margin: 0 0 1.5rem;
    color: #6b7280;
    text-align: center;
}

.fdos-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d5e4f2;
    border-radius: 999px;
    background: #fff;
}

.fdos-field svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    color: #5b7c99;
}

.fdos-field input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    color: #243044;
    font: inherit;
    box-shadow: none;
}

.fdos-field input::placeholder {
    color: #5b7c99;
}

.fdos-eye {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5b7c99;
    cursor: pointer;
}

.fdos-eye svg {
    width: 1.25rem;
    height: 1.25rem;
}

.fdos-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.25rem 0.25rem 1.25rem;
    font-size: 0.875rem;
}

.fdos-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5b7c99;
}

.fdos-check input {
    width: 1rem;
    height: 1rem;
    accent-color: #1f8a78;
}

.fdos-link {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.fdos-submit {
    width: 100%;
    padding: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: #1f8a78;
    color: #fff;
    font: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 8px 0 #187566;
    cursor: pointer;
}

.fdos-register {
    position: relative;
    z-index: 1;
    margin: 1.25rem 0 0;
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
}

.fdos-squiggle {
    position: absolute;
    top: 50%;
    left: -1.5rem;
    width: 1.75rem;
    height: 1.25rem;
    transform: translateY(-50%);
}

.fdos-error {
    margin: 0 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    background: #ffe8ea;
    color: #b00020;
    font-size: 0.875rem;
    font-weight: 700;
}

.fdos-hint {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.fdos-hint ul {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
}

.fdos-blobs {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 6rem;
    pointer-events: none;
}

.felogin-hidden {
    display: none;
}

body.fdos-intern {
    margin: 0;
    min-height: 100vh;
    background: #f4f7f2;
    color: #243044;
    font-family: Nunito, system-ui, sans-serif;
}

.fdos-app {
    box-sizing: border-box;
    min-height: 100vh;
    padding: 0.75rem;
}

.fdos-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: calc(100vh - 1.5rem);
    max-width: 72rem;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 1.75rem;
    background: #fffcf6;
    box-shadow: 0 18px 50px rgb(36 48 68 / 0.08);
}

.fdos-side,
.fdos-main {
    position: relative;
    z-index: 1;
}

.fdos-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-sizing: border-box;
    padding: 1.25rem 1rem;
}

.fdos-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

.fdos-brand img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
}

.fdos-brand span {
    color: #1f8a78;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.fdos-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fdos-nav-link,
.fdos-nav-sublink {
    display: block;
    border-radius: 999px;
    color: #243044;
    font-weight: 700;
    text-decoration: none;
}

.fdos-nav-link {
    padding: 0.5rem 0.75rem;
}

.fdos-nav-link.is-active,
.fdos-nav-sublink.is-active {
    background: #d9f5e6;
}

.fdos-nav-sub {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0.15rem 0 0.35rem 0.75rem;
}

.fdos-nav-sublink {
    padding: 0.3rem 0.75rem;
    color: #5b7c99;
    font-size: 0.875rem;
}

.fdos-main {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.fdos-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 0;
}

.fdos-bell {
    width: 1.5rem;
    height: 1.5rem;
    color: #5b7c99;
}

.fdos-avatar {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #f7d7ea;
    font-size: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.fdos-avatar::first-letter {
    font-size: 1rem;
}

.fdos-user {
    font-weight: 700;
}

.fdos-logout {
    color: #5b7c99;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.fdos-content {
    min-width: 0;
    flex: 1;
    padding: 0.5rem 1.5rem 2rem;
}

.fdos-content .container {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.fdos-panel-blob {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 7rem;
    height: 4rem;
    pointer-events: none;
}

@media (min-width: 48rem) {
    .fdos-app {
        padding: 1.25rem;
    }

    .fdos-panel {
        flex-direction: row;
        min-height: calc(100vh - 2.5rem);
    }

    .fdos-side {
        width: 13.5rem;
        flex: none;
    }
}

.fdos-text {
    margin: 0 0 1.75rem;
    color: #243044;
}

.fdos-text__header {
    margin: 0 0 0.65rem;
    color: #1e3a8a;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
}

.fdos-text__body {
    font-size: 1.05rem;
    line-height: 1.65;
}

.fdos-text__body > :first-child {
    margin-top: 0;
}

.fdos-text__body > :last-child {
    margin-bottom: 0;
}

.fdos-text__body p,
.fdos-text__body ul,
.fdos-text__body ol {
    margin: 0 0 0.85rem;
}

.fdos-text__body ul,
.fdos-text__body ol {
    padding-left: 1.25rem;
}

.fdos-text__body a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

.fdos-text__body h2,
.fdos-text__body h3,
.fdos-text__body h4 {
    margin: 1.25rem 0 0.45rem;
    color: #1e3a8a;
    font-weight: 800;
    line-height: 1.3;
}

.fdos-text__body h2 {
    font-size: 1.35rem;
}

.fdos-text__body h3 {
    font-size: 1.15rem;
}

.fdos-text__body h4 {
    font-size: 1.05rem;
}

.fdos-text__muted {
    color: #6b7280;
}

.fdos-text__note {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem 0.25rem;
    background: #f6f1e8;
    border-radius: 1rem;
}

.fdos-text__table {
    margin: 0 0 1rem;
    overflow-x: auto;
}

.fdos-text__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.45;
}

.fdos-text__body th,
.fdos-text__body td {
    padding: 0.55rem 0.7rem;
    border: 1px solid #e4ddd0;
    text-align: left;
    vertical-align: top;
}

.fdos-text__body th {
    background: #f6f1e8;
    color: #1e3a8a;
    font-weight: 800;
}

.fdos-text__body pre {
    margin: 0 0 0.85rem;
    padding: 0.85rem 1rem;
    overflow: auto;
    background: #f6f1e8;
    border-radius: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.fdos-text__body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
}

.fdos-text__body :not(pre) > code {
    padding: 0.05rem 0.3rem;
    background: #f6f1e8;
    border-radius: 0.3rem;
}
