* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f5f7fb;
    color: #1b1f2a;
}

.page {
    padding: 40px 16px;
}

.demo {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px dashed #c7cbd6;
    padding: 24px;
    border-radius: 10px;
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
}

.btn:focus {
    outline: 3px solid rgba(13, 110, 253, .3);
    outline-offset: 2px;
}

.collapse {
    overflow: hidden;
    height: 0;
    transition: height 300ms ease;
    will-change: height;
}

.collapse__body {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e6e8ef;
    border-radius: 8px;
    background: #fbfcff;
}

.widget {
    position: relative;
    min-height: 320px;
    padding: 24px;
    border: 1px dashed #c7cbd6;
    border-radius: 10px;
    background: #fff;
}

.copy {
    position: absolute;
    right: 18px;
    bottom: 18px;

    border: 0;
    background: transparent;
    padding: 0;

    font: inherit;
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
    text-decoration: none;
}

.copy:hover {
    color: #495057;
}

.copy:focus {
    outline: none;
}

.copy:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .25);
    outline-offset: 4px;
    border-radius: 6px;
}

.netology-logo {
    display: block;
    height: 28px;
    width: auto;
    margin: 0 0 12px 0;
}
