﻿.atis-toolbar {
    display: flex;
    background-color: white;
    border-radius: 4px;
    box-shadow: rgb(0 0 0 / 13%) 0px 1.6px 3.6px 0px, rgb(0 0 0 / 11%) 0px 0.3px 0.9px 0px;
    padding: 0.3em 0.3em;
    flex-flow: nowrap;
    margin: 0.5em 0em;
    border: 1px solid #e0e0e0;
    overflow:auto;
}

    .atis-toolbar a {
        text-decoration: none;
        color: inherit;
        display: block;
        padding: 0.2em 0.5em;
        margin: 0em 0.1em;
        border-radius: 3px;
    }

        .atis-toolbar a:hover {
            background-color: #bbdefb;
            text-decoration: none;
        }

    .atis-toolbar i {
        margin-inline-end: 0.3em;
    }

.atis-resizer {
    height: 5px;
    background-color: #00aaff; /* Make resizer bar blue */
    cursor: ns-resize; /* Cursor indicates resizing direction */
}

.atis-sbpnl {
    border: 1px dotted gray;
    margin-top: 5px;
    padding: 8px;
}

.atis-sbpnl-bgry {
    background-color: #ECEFF1;
}

.atis-sbpnl-lgrn {
    background-color: #E8F5E9;
}

.atis-sbpnl-lyl {
    background-color: #FFFDE7;
}
.atis-sbpnl-lblu {
    background-color: #E3F2FD;
}
.atis-sbpnl-lblu {
    background-color: #E3F2FD;
}
.atis-sbpnl-lgld {
    border-bottom-color: #FFF3E0;
}
.atis-sbpnl-hd {
    font-size: 1.1em;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.atis-sbpnl-hd-bgry {
    border-bottom-color: black;
}


/* =====================================================
   ATIS Edit DSL – Prefixed Layout & Field Styles
   Prefix: atis-
   ===================================================== */

/* Row / Column layout */
.atis-row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0.2em 0em;
}

    .atis-row > * {
        min-width: 0; /* critical for flex + Kendo */
    }

/* Column behaviors */
.atis-col-grow {
    flex: 1 1 0;
    min-width: 0;
}

.atis-col-fixed {
    flex: 0 0 auto;
    min-width: 0;
}

/* Label */
.atis-label {
    min-width: 0;
    margin-top:0.5em;
}

    .atis-label > label {
        display: block;
        white-space: nowrap;
    }

/* Field wrapper */
.atis-field {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0em 0.2em;
}

    .atis-field > .atis-input {
        flex: 1 1 0;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

/* Default addon (icon slot) */
.atis-field-addon {
    flex: 0 0 auto;
    margin-left: 4px;
}

/* Utility widths (flex-safe) */
.atis-w-20px {
    flex: 0 0 20px;
    width: 20px;
}

.atis-w-40px {
    flex: 0 0 40px;
    width: 40px;
}

.atis-w-50px {
    flex: 0 0 50px;
    width: 50px;
}

.atis-w-70px {
    flex: 0 0 70px;
    width: 70px;
}

.atis-w-100px {
    flex: 0 0 100px;
    width: 100px;
}

.atis-w-60p {
    flex: 0 0 60%;
    width: 60%;
}

.atis-w-40p {
    flex: 0 0 40%;
    width: 40%;
}
