﻿/**
    @Intellivega
    @Eduardo Palacios
*/

/* Main Theme and Sidebar Styles */
:root {
  --app-theme: #ea2626 !important;
  /* Main theme color */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.double-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

a:focus {
  outline: solid 2px var(--app-theme);
  /*display: inline-block;*/
  /*padding: 2px;*/
}

#app {
  display: flex !important;
  flex-direction: row !important;
  /* Sidebar and content side by side */
  height: 100vh !important;
}


#itemForm .form-group .row .form-group {
  margin-bottom: 8px;
}

.menu img {
  display: block;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.login-layout h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body {
  background-color: white;
}

.ion-logo {
  width: 170px;
}

.app-sidebar {
  padding-top: 30px;
}

.branding {
  display: block;
  margin-left: 10px;
  padding-bottom: 20px;
}

.butch-branding {
  width: 100px;
}

.menu-item {
  margin-bottom: 10px;
}

.app-content {
  border: none;
  flex-grow: 1 !important;
  /* Takes remaining space */
  overflow: auto !important;
  /* Scrollable content area */
  padding: 0px;
}

.login-layout {
  padding-top: 70px;
  margin-left: auto;
  margin-right: auto;
  max-width: 350px;
}

.login-layout img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
}

.panel {
  margin-bottom: 0px;
  border-radius: 0px;
}

.ipanel {
  table-layout: fixed;
  margin-left: 10px;
  width: 98% !important;
}

.app-header {
  width: calc(100% - 220px) !important;
  /* Adjusts width based on sidebar */
  left: 220px !important;
  /* Offset by sidebar width */
  top: 0 !important;
  z-index: 1000 !important;
  margin-right: 10px !important;
}


#sidebar {
  background-color: black !important;
  color: white !important;
  /* Rounded corners for the sidebar */
  overflow: hidden !important;
  /* Prevents content overflow */
  height: 100vh !important;
  /* Full height */
}

#sidebar .logo-container {
  background-color: inherit !important;
  /* Inherits the sidebar's background color */
  display: flex !important;
  /* Uses flexbox for centering the image */
  justify-content: center !important;
  /* Center horizontally in the container */
  align-items: center !important;
  /* Center vertically in the container */
  padding: 20px !important;
  /* Adjust padding as needed */
}


#sidebar a,
#sidebar .menu-link,
#sidebar .menu-text,
#sidebar .menu-item,
#sidebar .menu-label,
#sidebar .menu-badge {
  color: white !important;
  /* Ensures text and icons are white */
}

#sidebar .menu-item:hover,
#sidebar .menu-item.active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  /* Slight highlight for interaction */
}


.app-sidebar-bg {
  background: #ebebeb !important;
}

#totals-container {
  display: grid;
  grid-template-columns: 1fr 20ch;
  grid-auto-flow: row;
  gap: 0.5rem;
  justify-items: end;
  align-items: baseline;
}