@import url('variables.css'); 

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
body.dark-mode {
    background-color: #1e1e2f;
    color: #f0f0f0;
}

    body.dark-mode .card {
        background-color: #2c2c3e;
        color: #fff;
    }

    body.dark-mode .navbar,
    body.dark-mode .modal-content {
        background-color: #2a2a3b;
        color: #ffffff;
    }

/* Add any other components you want to style for dark mode */


/**KBO */
input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error {
    border-color: var(--error-color, #dc3545);
    background-color: #fff5f5;
}

span.field-validation-error {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.input-group .btn i {
    min-width: 1.25em; /* Ensures enough space for both icons */
    text-align: center;
}

.form-switch{
    display: flex;
    align-items: center;
}
    .form-switch .form-check-input {
        margin-left: 0
    }

.app-header {
    height: 4.75rem;
    background-color: var(--primary-color);
}

    .app-header .brand .brand-logo {
        padding: 0.75rem 0;
    }

    .app-header .menu .menu-item .menu-link .menu-text {
        color: #fff !important;
    }


.app-header .menu-toggler .bar {
    background: #fff !important
}

.k-edit-form-container {
    width: 100% !important
}

label {
    font-weight: bold;
    margin: 0.5em 0;
}

.missing-supplier {
    border: 1px solid #dc3545 !important;
    background-color: #fff6f6;
}

.qty-input {
    padding: 0.25rem 0.5rem;
}

select.supplier-select {
    min-width: 150px;
}

.btn i {
    pointer-events: none;
}
.app-footer-fixed .app-footer{
    z-index: 100 !important;
}