@font-face {
    font-family: 'Geist';
    src:url('/otf/Geist-Regular.otf') format('opentype'),
        url('/ttf/Geist-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.icon.delete    { background-image: url("/img/icon_delete.svg"); }
.icon.edit      { background-image: url("/img/icon_edit.svg"); }
.icon.mapping   { background-image: url("/img/icon_mapping.svg"); }
.icon.minus     { background-image: url("/img/icon_minus.svg"); }
.icon.play      { background-image: url("/img/icon_play.svg"); }
.icon.plus      { background-image: url("/img/icon_plus.svg"); }
.icon.robot_arm { background-image: url("/img/icon_robot_arm.svg"); }
.icon.robot     { background-image: url("/img/icon_robot.svg"); }
.icon.send      { background-image: url("/img/icon_send.svg"); }
.icon.stop      { background-image: url("/img/icon_stop.svg"); }
.icon.trash     { background-image: url("/img/icon_trash.svg"); }
.icon.thumbup   { background-image: url("/img/icon_thumbup.svg"); }
.icon.thumbdown { background-image: url("/img/icon_thumbdown.svg"); }
.icon.call      { background-image: url("/img/icon_call.svg"); }
.icon.rocker    { background-image: url("/img/icon_rocker.svg"); }
.icon.ok        { background-image: url("/img/icon_ok.svg"); }
.icon {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Geist', Arial, Helvetica, sans-serif;
    background-color: #f7f8fc;
    text-shadow: 0 0px 4px #0E266018;
}

[inactive] {
    opacity: 0.6;
    pointer-events: none;
}

.button {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(0,0,0,0.05);
    transition-property: background-color;
    transition-duration: 0.2s;
    border: none;
}
.button:hover {
    background-color: rgba(0,0,0,0.1);
}
.button:focus {
    background-color: rgba(0,0,0,0.15);
}
.button.primary {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    background: #2B73DD;
    background: linear-gradient(180deg,rgba(43, 115, 221, 1) 0%, rgba(40, 123, 225, 1) 4%, rgba(37, 110, 221, 1) 50%, rgba(25, 96, 213, 1) 96%, rgba(45, 91, 184, 1) 100%);
    transition-property: box-shadow opacity;
    transition-duration: 0.2s;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}
.button.secondary {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    background: #6582AC;
    background: linear-gradient(180deg,rgba(101, 130, 172, 1) 0%, rgba(109, 131, 173, 1) 4%, rgba(95, 121, 161, 1) 50%, rgba(93, 115, 159, 1) 96%, rgba(92, 108, 144, 1) 100%);
    transition-property: box-shadow opacity;
    transition-duration: 0.2s;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}
.button.primary[inactive] {
    background: #6582AC;
    background: linear-gradient(180deg,rgba(101, 130, 172, 1) 0%, rgba(109, 131, 173, 1) 4%, rgba(95, 121, 161, 1) 50%, rgba(93, 115, 159, 1) 96%, rgba(92, 108, 144, 1) 100%);
    box-shadow: rgba(0, 0, 0, 0.0) 0px 6px 20px;
}
.button.small {
    margin-bottom: 0;
    padding: 0.25rem 0.75rem;
    width: initial;
    font-weight: initial;
    border-radius: 0.5rem;
    font-size: 0.75em;
}

.body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    overflow-y: auto;
}

.content { 
    max-width: 44rem;
    padding: 1rem;
    width: 100%;
}

.shadow {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.shadow[inactive] {
    box-shadow: rgba(0, 0, 0, 0.0) 0px 6px 20px;
}

.card {
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #010101;
}

.card.primary {
    background: #143B9B;
    background: linear-gradient(31deg,rgba(20, 59, 155, 1) 0%, rgba(20, 59, 155, 1) 38%, rgba(39, 119, 225, 1) 100%);
    box-shadow: rgba(4, 12, 31, 0.04) 0px 3px 5px;
    color: #fefefe;
}

.block {
    width: 2em;
    height: 2em;
    border-radius: 0.75rem;
    background: #3765bf00;
    border-style: solid;
    border-color: #537fd844;
    border-width: 2px;
    display: flex;
    align-items: center;
    align-content: center;
}
.block.primary {
    background: #3765bfff;
    border-color: #537fd8ff;
}

.block span {
    flex-grow: 1;
    text-align: center;
}

.row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.gap {
    justify-content: space-between;
    gap: 1rem;
}

h1 {
    margin: 0.75rem 0;
}

p {
    opacity: 0.75;
}

a {
    color: inherit;
    text-decoration: inherit;
}

.m1 {
    margin-bottom: 1.5rem;
}


#_toast {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background:#111827;
    color:#fff;
    padding:.75rem 1rem;
    border-radius:12px;
    font-size:.95rem;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
}

#_toast.show {
    opacity:1;
    pointer-events:all
}


.circle, .circle:focus, .circle:active {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    background: #fff;
    border-radius: 36px;
    border-width: 1px;
    border-style: solid;
    border-color: #e2e2e2;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
    transition-property: box-shadow opacity;
    transition-duration: 0.4s;
}
.circle.small {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 24px;
}
.circle.primary, .circle.primary:active {
    background: #2B73DD;
    background: linear-gradient(180deg,rgba(43, 115, 221, 1) 0%, rgba(40, 123, 225, 1) 4%, rgba(37, 110, 221, 1) 50%, rgba(25, 96, 213, 1) 96%, rgba(45, 91, 184, 1) 100%);
    transition-property: box-shadow opacity;
    transition-duration: 0.2s;
}
.circle.primary[inactive] {
    background: #6582AC;
    background: linear-gradient(180deg,rgba(101, 130, 172, 1) 0%, rgba(109, 131, 173, 1) 4%, rgba(95, 121, 161, 1) 50%, rgba(93, 115, 159, 1) 96%, rgba(92, 108, 144, 1) 100%);
}
.circle[inactive] {
    box-shadow: rgba(0, 0, 0, 0.0) 0px 2px 4px;
}
.circle span {
    width: 1rem;
    min-width: 1rem;
    height: 100%;
}
.circle.small span {
    width: 12px;
    min-width: 12px;
}

.circle img {
    width: 1rem;
    height: 100%;
}

