html {
    height: 100%;
    font-family: 'Ubuntu', sans-serif;
}

body {
    margin: 0;
    height: 100%;
    font-family: 'Ubuntu', sans-serif;
}




#outer-container {
    display: table;
    width: 100%;
    height: 100%;
}



.form-control-volgnummer {
    /* vertical-align: top; here */
    min-width: 10em;
    max-width: 10em;
}


.form-control {
    vertical-align: top;
    /* here */
    min-width: 10em;
    max-width: 10em;

}

.form-control-yellow {
    vertical-align: top;
    /* here */
    min-width: 10em;
    max-width: 10em;
    background-color: #ffffce;

}





body {
    /* font-family: "Lato", 'Helvetica Neue', Arial, Helvetica, sans-serif !important; */
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    font-weight: 400;
}

a {
    color: #337ab7;
    text-decoration: none;
}

.wrapper {
    min-height: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    display: block;
}

.main-header {
    position: relative;
    max-height: 100px;
    z-index: 1030;
    display: block;
    box-sizing: border-box;
}

.main-header a {
    text-decoration: none;
}

.skin-blue .main-header .logo {
    background-color: #4b0069;
    color: #ffffff;
    border-bottom: 0 solid transparent;
}

.main-header .logo {
    transition: width .3s ease-in-out;
    display: block;
    float: left;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    width: 230px;
    /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
    padding: 0 15px;
    font-weight: 300;
    overflow: hidden;
}

.skin-blue .main-header .navbar {
    background-color: #662b6b;
}

.main-header>.navbar {
    transition: margin-left .3s ease-in-out;
    margin-bottom: 0;
    margin-left: 230px;
    border: none;
    min-height: 50px;
    border-radius: 0;
}

.skin-blue .wrapper,
.skin-blue .main-sidebar,
.skin-blue .left-side {
    background-color: #222d32;
}

.main-sidebar,
.left-side {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
    min-height: 100%;
    width: 230px;
    z-index: 810;
}

.sidebar {
    padding-bottom: 10px;
}

.sidebar-menu,
.main-sidebar .user-panel,
.sidebar-menu>li.header {
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.skin-blue .sidebar-menu>li.header {
    color: #4b646f;
    background: #1a2226;
}

.sidebar-form,
.sidebar-menu>li.header {
    overflow: hidden;
    text-overflow: clip;
}

.sidebar-menu,
.main-sidebar .user-panel,
.sidebar-menu>li.header {
    white-space: nowrap;
}

.sidebar-menu>li {
    position: relative;
    margin: 0;
    padding: 0;
}

.sidebar-menu li.header {
    padding: 10px 25px 10px 15px;
    font-size: 12px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
    box-sizing: border-box;
}

.content-wrapper,
.right-side {
    min-height: 100%;
    background-color: #ecf0f5;
    z-index: 800;
    transition: transform .3s ease-in-out, margin .3s ease-in-out;
    margin-left: 230px;
}

.skin-blue .sidebar-menu>li:hover>a,
.skin-blue .sidebar-menu>li.active>a {
    color: #ffffff;
    background: #1e282c;
    border-left-color: #3c8dbc;
    text-decoration: none;
}

.skin-blue .sidebar-menu>li>a {
    border-left: 3px solid transparent;
}

.sidebar-menu li>a {
    position: relative;
}

.sidebar-menu>li>a {
    padding: 12px 5px 12px 15px;
    display: block;
}

.skin-blue .sidebar a {
    color: #b8c7ce;
}

.sidebar-menu>li>a>.fa,
.sidebar-menu>li>a>.glyphicon,
.sidebar-menu>li>a>.ion {
    width: 20px;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.server-tag {
    margin-left: 22px;
    font-size: 13px;
    font-weight: 200;
    opacity: .55;
}

.skin-blue .content-header {
    background: transparent;
}

.content-header {
    position: relative;
    padding: 15px 15px 0 15px;
}

.content {
    min-height: 250px;
    padding: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.box.box-primary {
    border-top-color: #3c8dbc;
    padding-top: 15px;
}

.box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}

.lib-name {
    width: 20%;
}

.lib-tag {}

.lib-add {
    width: 15%;
}




/* CREATE UPDATE VIEW */


  /* ── 0. één knop om straks alles in breedte aan te passen ─────────── */
    :root {
        --col-width: 220px;
    }

    /* pas dit getal aan tot het past      */

    /* ── 1. kolomkop & datarij hebben identieke inline-blok cellen ─────── */
    .ing-title-form .form-control,
    .ingredient-form .form-control {
        display: inline-block;
        width: var(--col-width);
        box-sizing: border-box;
        /* padding telt binnen de breedte mee  */
        vertical-align: top;
        /* uitlijnen aan de bovenkant          */
        padding: .4rem .45rem;
        /* font-size: .85rem; */
    }

    .ing-title-form .form-control {
        /* koprij krijgt eigen stijl        */
        font-weight: 600;
        border: none;
        background: #f3f6fa;
        color: #34495e;
    }

    /* ── 2. datarijen ──────────────────────────────────────────────────── */
    .ingredient-form {
        border-bottom: 1px solid #e0e6ef;
    }

    .ingredient-form:nth-child(even) {
        background: #fafcff;
    }

    .ingredient-form hr {
        display: none;
    }

    /* scheidingslijn niet nodig */

    .ingredient-form:hover {
        background: #f0f7ff;
    }

    /* ── 3. input-velden zelf (Bootstrap override) ─────────────────────── */
    .ingredient-form input.form-control,
    .ingredient-form select.form-control,
    .ingredient-form textarea.form-control {
        border: 1px solid #ced4da;
        border-radius: .375rem;
        background: #fff;
    }

    /* ── 4. kleine knop “voeg hier toe” hoort onder de rij ─────────────── */
    .insert-here.btn-sm {
        margin-top: .25rem;
        display: inline-block;
        grid-column: 1 / -1;
        /* mocht je later toch grid gebruiken */
    }

    /* ── 5. overige bestaande styles (onveranderd) ─────────────────────── */
    #result {
        border: 1px dotted #ccc;
        padding: 3px;
    }

    #result ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #result li {
        padding: 5px 0;
    }

    #result li:hover {
        background: #eee;
    }

    .scrollable-nav::-webkit-scrollbar {
        height: 11px;
        -webkit-appearance: none;
    }

    .scrollable-nav::-webkit-scrollbar-thumb {
        border-radius: 8px;
        border: 2px solid green;
        background: rgba(0, 0, 0, .5);
    }

    .hidden {
        display: none;
    }

    .ingredient-form input[name$="-id"],
    .ingredient-form label[for$="-id"] {
        display: none;
    }


    /* hide the delete checkbox */

    /* hide the auto-generated DELETE checkbox on each row */
.ingredient-form input[name$="-DELETE"] {
    display: none;
}



/* Style adding rows */
/* ─── Shared pale yellow color ───────────────────────────── */
:root {
    --flash-yellow: #f6eea7;  /* soft yellow */
}

/* ─── Flash on insert (3s highlight fade-out) ────────────── */
.flash-new {
    animation: flashInsert 2s ease-out forwards;
}
@keyframes flashInsert {
    0%   { background-color: var(--flash-yellow); }
    100% { background-color: transparent; }
}

/* ─── Flash + fade-out on delete (600ms) ─────────────────── */
.flash-delete {
    animation: flashDelete 600ms ease-out forwards;
}
@keyframes flashDelete {
    0%   { background-color: var(--flash-yellow); opacity: 1; }
    100% { background-color: var(--flash-yellow); opacity: 0; }
}


/* Slank “versie-pillje” */
.version-pill {
    font-size: 0.7rem;
    color: #6c757d;
    border: 1px solid #6c757d;
    border-radius: 0.25rem;
    padding: 0.2rem 0.4rem;              /* meer padding boven/onder */
    margin-left: 0.5rem;
    vertical-align: middle;
    background-color: transparent;
    display: inline-block;
    text-align: left;
}

@media (max-width: 600px) {
    .version-pill {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: left;
        width: fit-content;
        max-width: 100%;
    }
}