/* Lane information/account: additions on top of assets/css/theme.css (static .mk-auth/.mk-prose/.mk-empty/.mk-legal) */
.mk-auth .mt-alert, .mk-prose .mt-alert, .mt-acc .mt-alert, main .mt-alert.mb-3 { border-radius:8px; padding:10px 14px; font-size:14px; margin:4px 0 8px; line-height:1.4; }
.mt-alert.err { background:#fdeaea; color:#b23b3b; }
.mt-alert.ok { background:#eaf6e5; color:#2f7a16; }
.mt-alert.hidden { display:none; }
.mt-ferr { display:block; color:#b23b3b; font-size:12px; margin-top:-2px; }
.mk-form .input-error, .mk-form .textarea-error { border-color:#eb5757; }
.mk-form .checkbox-error { border-color:#eb5757; }
.mk-form .input, .mk-form .textarea { background:#fff; }
.mk-consent .checkbox { flex:0 0 auto; }
.loading-btn { opacity:.7; pointer-events:none; }
.mk-empty p { margin-top:6px; }

/* account shell for stock account pages (edit, password, address, order ...) */
.mt-acc-grid { display:grid; grid-template-columns:240px minmax(0,1fr); gap:16px; align-items:start; }
.mt-acc-menu { padding:8px; }
.mt-acc-menu .menu { padding:0; width:100%; }
.mt-acc-menu .menu a { display:flex; gap:10px; align-items:center; font-size:14px; padding:9px 12px; border-radius:8px; color:#333; }
.mt-acc-menu .menu a i { font-size:17px; color:#199fff; width:18px; text-align:center; }
.mt-acc-menu .menu a.active { background:#e8f5ff; color:#0b7fd1; font-weight:500; }
.mt-acc-body .card-body { padding:24px; min-width:0; }
@media (max-width:767px) {
  .mt-acc-grid { grid-template-columns:minmax(0,1fr); }
  .mt-acc-menu, .mt-acc-body { min-width:0; max-width:100%; }
  .mt-acc-menu .menu { flex-direction:row; flex-wrap:nowrap; overflow-x:auto; gap:4px; max-width:100%; scrollbar-width:none; }
  .mt-acc-menu .menu li { flex:0 0 auto; }
  .mt-acc-menu .menu a { white-space:nowrap; padding:8px 10px; }
  .mt-acc-body .card-body { padding:16px; }
  #mt-stock .row > [class*="col-"] { flex:0 0 100% !important; max-width:100%; }
}

/* stock Bootstrap markup inside #mt-stock, restyled in the DaisyUI look */
#mt-stock h1 { font-size:24px; font-weight:700; margin:0 0 12px; color:#333; }
#mt-stock h2, #mt-stock legend { font-size:18px; font-weight:700; margin:16px 0 8px; color:#333; }
#mt-stock fieldset { border:0; padding:0; margin:0 0 8px; min-width:0; }
#mt-stock p { margin:0 0 10px; font-size:14px; line-height:1.55; }
#mt-stock .row { display:flex; flex-wrap:wrap; margin:0 -8px 12px; }
#mt-stock .row > * { padding:0 8px; box-sizing:border-box; }
#mt-stock .col, #mt-stock [class*="col-"] { flex:1 1 0; min-width:0; }
#mt-stock .col-sm-2, #mt-stock .col-md-2 { flex:0 0 100%; }
#mt-stock .col-sm-10, #mt-stock .col-md-10 { flex:0 0 100%; }
#mt-stock .mb-3 { margin-bottom:12px; }
#mt-stock .mb-3.row { margin-bottom:12px; }
#mt-stock label, #mt-stock .col-form-label, #mt-stock .form-label { display:block; font-size:14px; font-weight:500; margin:0 0 6px; color:#333; }
#mt-stock .required > label::after, #mt-stock .required .col-form-label::after { content:" *"; color:#eb5757; }
#mt-stock .form-control, #mt-stock .form-select { display:block; width:100%; height:44px; padding:0 14px; font-size:15px; border:1px solid #d9d9d9; border-radius:8px; background:#fff; color:#333; box-sizing:border-box; font-family:inherit; }
#mt-stock textarea.form-control { height:auto; padding:10px 14px; }
#mt-stock .form-control:focus, #mt-stock .form-select:focus { outline:2px solid #199fff33; border-color:#199fff; }
#mt-stock .form-control.is-invalid, #mt-stock .form-select.is-invalid { border-color:#eb5757; }
#mt-stock .invalid-feedback { display:none; color:#b23b3b; font-size:12px; margin-top:4px; }
#mt-stock .is-invalid ~ .invalid-feedback, #mt-stock .invalid-feedback.d-block { display:block; }
#mt-stock .form-check, #mt-stock .form-switch { display:flex; align-items:center; gap:8px; padding:0; margin:0 0 8px; }
#mt-stock .form-check-input { width:18px; height:18px; margin:0; accent-color:#199fff; flex:0 0 auto; }
#mt-stock .form-check-label { margin:0; font-weight:400; }
#mt-stock .form-check-inline { display:inline-flex; margin-right:16px; }
#mt-stock .btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:40px; height:auto; padding:0 18px; border-radius:6px; font-size:14px; font-weight:500; text-transform:none; text-decoration:none; border:1px solid transparent; cursor:pointer; white-space:nowrap; }
#mt-stock .btn-primary { background:#199fff; border-color:#199fff; color:#fff; }
#mt-stock .btn-primary:hover { background:#0b8ae6; }
#mt-stock .btn-light, #mt-stock .btn-secondary, #mt-stock .btn-outline-secondary { background:#fff; border-color:#d9d9d9; color:#333; }
#mt-stock .btn-danger, #mt-stock .btn-outline-danger { background:#fff; border-color:#eb5757; color:#eb5757; }
#mt-stock .btn-info { background:#e8f5ff; border-color:#e8f5ff; color:#0b7fd1; }
#mt-stock .btn-sm { min-height:32px; padding:0 10px; font-size:13px; }
#mt-stock .d-flex, #mt-stock .d-inline-block { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; align-items:center; margin-top:12px; }
#mt-stock .text-end { text-align:right; }
#mt-stock .float-end { margin-left:auto; }
#mt-stock .table-responsive { overflow-x:auto; margin:0 0 12px; }
#mt-stock table { width:100%; border-collapse:collapse; font-size:14px; }
#mt-stock table th, #mt-stock table td { padding:10px 8px; border-bottom:1px solid #eee; text-align:left; vertical-align:middle; }
#mt-stock table thead td, #mt-stock table thead th { font-weight:700; background:#f7f7f7; }
#mt-stock .table .text-end { text-align:right; }
#mt-stock .list-group { display:grid; gap:6px; padding:0; margin:0 0 12px; }
#mt-stock .list-group-item { display:block; padding:10px 14px; border:1px solid #eee; border-radius:8px; color:#333; }
#mt-stock .card:not(.mk-card) { border:1px solid #eee; border-radius:10px; padding:14px; margin-bottom:12px; }
#mt-stock .alert, .mt-alerts .alert { display:flex; gap:8px; align-items:flex-start; border-radius:8px; padding:10px 14px; font-size:14px; margin-bottom:10px; background:#e8f5ff; color:#0b7fd1; }
#mt-stock .alert-danger, .mt-alerts .alert-danger { background:#fdeaea; color:#b23b3b; }
#mt-stock .alert-success, .mt-alerts .alert-success { background:#eaf6e5; color:#2f7a16; }
#mt-stock .btn-close, .mt-alerts .btn-close { margin-left:auto; border:0; background:none; cursor:pointer; font-size:16px; line-height:1; }
#mt-stock .btn-close::before, .mt-alerts .btn-close::before { content:"\00d7"; }
#mt-stock .pagination { display:flex; gap:4px; list-style:none; padding:0; }
#mt-stock .pagination li a, #mt-stock .pagination li span { display:block; padding:6px 10px; border:1px solid #eee; border-radius:6px; }
#mt-stock .d-none { display:none; }
#mt-stock img { max-width:100%; height:auto; }
#mt-stock a:not(.btn) { color:#0b7fd1; }
@media (min-width:768px) {
  #mt-stock .col-sm-2, #mt-stock .col-md-2 { flex:0 0 25%; }
  #mt-stock .col-sm-10, #mt-stock .col-md-10 { flex:0 0 75%; }
  #mt-stock .col-sm-6, #mt-stock .col-md-6 { flex:0 0 50%; }
}
