﻿html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}


.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

html {
    position: relative;
    min-height: 100%;
}

/* Removed: body { margin-bottom: 80px; } — was causing whitespace block */

.k-panelbar-content > p {
    padding: 1em 2em;
}

/* #region Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.85em;
}
/* #endregion */

/* #region custom Kendo UI styles */
#configure {
    display: none;
}

.k-panelbar .k-content {
    padding: 20px;
}

p .k-button {
    margin: 0 15px 0 0;
}

.k-state-active .label {
    font-size: 1em;
}
/* #endregion */

@media (max-width: 767px) {
    #responsive-panel {
        transition: all linear .2s;
    }

    #configure {
        display: block;
        float: right;
    }

    .k-rpanel {
        width: 100%;
    }

    .k-rpanel-expanded {
        margin-top: 1rem;
    }

    .navbar-header {
        width: 100%;
    }

    .footer {
        height: 60px;
    }

    .k-menu .k-item,
    .k-menu .k-link {
        width: 100%;
    }

    .k-menu .k-link {
        box-sizing: border-box;
    }

    .k-rpanel-expanded ul {
        flex-direction: column;
    }
}

/* AI Assistant Box */
#ai-assistant {
    position: fixed;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%);
    width: 1024px;
    height: 92px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 14px 16px;
    background: linear-gradient(var(--kendo-color-surface), var(--kendo-color-surface)) padding-box, linear-gradient(114deg, #4b5ffa 0%, #c158e4 93%) border-box;
}

    #ai-assistant::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: .18;
        background: url(../images/ai-circle.png) center center no-repeat;
        background-size: cover;
    }

    #ai-assistant h4,
    #ai-assistant > p,
    #ai-assistant > a {
        position: relative;
        padding-left: 41px;
        z-index: 2;
    }

    #ai-assistant h4 {
        position: relative;
        margin: 0 0 .3em;
        font-size: 20px;
        line-height: 1.4;
        font-weight: 500;
    }

    #ai-assistant .k-icon {
        position: absolute;
        left: 0;
        top: 0;
        color: #4b5ffa;
    }

    #ai-assistant > a {
        color: #a75ae9;
        text-decoration: none;
        bottom: 61px;
        right: 21px;
        float: inline-end;
    }

        #ai-assistant > a:hover {
            text-decoration: underline;
        }


/* Professional content surfaces */
.inventory-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    height: 100%;
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border: 1px solid #e6e9ef;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.inventory-main-title {
    margin: 0;
    font-size: 26px;
    font-weight: 650;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.inventory-subtitle {
    margin: 6px 0 0;
    color: #475569;
    font-size: 14px;
}

.inventory-grid-wrapper {
    flex: 1;
    min-height: 0;
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* Slightly cleaner Kendo table look inside content section */
.inventory-grid-wrapper .k-grid {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.inventory-grid-wrapper .k-grid-header {
    background: #f8fafc;
}

.inventory-grid-wrapper .k-grid-header .k-header {
    font-weight: 600;
    color: #334155;
}

.inventory-grid-wrapper .k-grid tbody tr:hover {
    background-color: #f8fbff;
}



/* Contact page polish */
.contact-page .k-tabstrip {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.contact-page .k-tabstrip-items {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.contact-page .k-item {
    font-weight: 600;
    color: #334155;
}

.contact-page .k-item.k-active {
    background: #ffffff;
}

.contact-pane {
    padding: 20px;
    color: #1e293b;
    line-height: 1.75;
    font-size: 15px;
}

.contact-pane a {
    color: #0f62fe;
    text-decoration: none;
}

.contact-pane a:hover {
    text-decoration: underline;
}
