﻿
.input-group > span {
    vertical-align: top;
}

.store-item-filter {
    margin-top: 2px;
}

.store-items-empty td {
    padding: 24px 8px;
}

.store-sort {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-align: left;
}

.store-sort:hover,
.store-sort:focus,
.store-sort.is-active {
    color: #eb5e28;
    outline: 0;
}

.store-sort i {
    margin-left: 5px;
    color: #9a9a9a;
}

.store-sort.is-active i {
    color: #eb5e28;
}

.store-item-mobile-sort {
    margin-top: 10px;
}

.store-item-editor .form-group {
    margin-bottom: 14px;
}

.store-item-editor label {
    display: block;
    margin-bottom: 6px;
}

.store-item-editor .input-group {
    width: 100%;
}

.store-item-editor .input-group-btn {
    width: 84px;
    text-align: left;
}

.store-item-editor .input-group-btn .btn {
    width: 42px;
    padding-left: 0;
    padding-right: 0;
}

.store-item-editor > .form-group > .form-control {
    width: calc(100% - 84px);
}

.store-item-editor textarea.form-control {
    resize: vertical;
}

.manage-password-card .form-group {
    margin-bottom: 18px;
}

.manage-password-card label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.manage-password-card .form-control {
    height: 42px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background-color: #fff;
    color: #222;
    box-shadow: none;
}

.manage-password-card .form-control:focus {
    border-color: #eb5e28;
    box-shadow: 0 0 0 2px rgba(235, 94, 40, 0.12);
}

.manage-password-card .form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 22px;
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .main-panel > .content {
        padding: 15px 0;
    }

    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card {
        margin-bottom: 15px;
    }

    .card .card-header {
        padding: 14px 12px 8px;
    }

    .card .card-content {
        padding: 12px;
    }

    .card-header .btn-fill {
        width: 100%;
        margin-bottom: 10px;
    }

    .store-item-filter {
        margin-top: 0;
        margin-bottom: 0;
    }

    .store-item-mobile-sort {
        margin-bottom: 4px;
    }

    #storeItems.table-responsive {
        border: 0;
        overflow-x: visible;
    }

    #storeItems table,
    #storeItems thead,
    #storeItems tbody,
    #storeItems th,
    #storeItems td,
    #storeItems tr {
        display: block;
        width: 100%;
    }

    #storeItems thead {
        display: none;
    }

    #storeItems tbody tr {
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        margin: 0 0 12px;
        padding: 10px 12px;
        background: #fff;
    }

    #storeItems tbody td {
        border: 0;
        padding: 7px 0;
        text-align: left !important;
    }

    #storeItems tbody td:before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        color: #9a9a9a;
    }

    #storeItems .td-actions {
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    #storeItems .td-actions .btn {
        min-width: 42px;
        min-height: 38px;
        margin-right: 4px;
    }

    .modal-dialog {
        width: auto;
        margin: 10px;
    }

    .modal-body {
        padding: 12px;
    }

    .modal-footer {
        padding: 12px;
        text-align: stretch;
    }

    .modal-footer .btn {
        width: 100%;
        margin: 6px 0 0;
    }

    .store-item-editor > .form-group > .form-control {
        width: 100%;
    }

    .store-item-editor .input-group {
        display: flex;
        align-items: stretch;
    }

    .store-item-editor .input-group .form-control {
        min-width: 0;
    }

    .store-item-editor .input-group-btn {
        display: flex;
        width: auto;
        white-space: nowrap;
    }

    .store-item-editor .input-group-btn .btn {
        width: 44px;
        min-height: 40px;
    }

    .navbar .navbar-form {
        margin: 8px 0;
        padding: 0;
        width: 100%;
    }

    .navbar .navbar-form .input-group {
        width: 100%;
    }

    .manage-password-card .form-actions {
        display: block;
    }

    .manage-password-card .form-actions .btn {
        width: 100%;
        margin: 6px 0 0;
    }
}
