/*


*/
html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -65px;
    padding: 0 0 65px;
}


/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Footer styling */

#footer {
    background: none repeat scroll 0 0 #31363A;
    color: #FFFFFF;
    margin: 0px auto 0;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    width: 100%;
}

/* footer nav */

.footer-nav {
    margin: 0 auto;
    width:intrinsic; /* For Safari, see https://developer.mozilla.org/en-US/docs/CSS/width */
    width:-moz-fit-content;
    width:-webkit-fit-content;
    width:fit-content;
}
.footer-nav > ul {
    display: table;
    margin: 0;
}
.footer-nav > ul > li {
    display: table-cell;
}
.footer-nav > ul > li a {
    display: block;
    height: 30px;
    line-height: 28px;
    padding: 0 5px 0 5px;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    text-transform: lowercase;
    font-size: 20px;
}
.footer-nav > ul > li:hover, .footer-nav > ul > li a:hover {
    color: #07afee;
}
.copyright {
    font-size: 12px;
}

ul
{
    list-style-type: none;
}

li
{
    list-style-type: none;
}
.full_width
{
    width:1080px;
}

.image_container
{
    height: 70px;
    width: 70px;
}

.item
{
    min-height: 70px
}

.item h3
{
    margin-bottom: 2px;
    margin-top: 0px;
}

.item p
{
    margin-bottom: 0px;
}

.big-strong
{
    font-size: 18px;
}

.checkmark
{
    float: right;
    color: green;
}

.btn-destructive {
    background-color: indianred;
    color: white;
}

.delete_decorator {
    color: indianred;
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: hidden;
    outline:none;
}

/* generic styles */

.info_button
{
    margin: 14px 0 0 70px;
    padding: 6px 0 0 0px !important;
    font-size: 20px !important;
    height: 40px !important;
    display: inline-block;

}

.unselectable
{
    cursor:default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button_hover:hover
{
    -webkit-filter: invert(30%);z-index: -99px;
}

.white_back
{
    background: none repeat scroll 0 0 #FFF;
}

.fixed_width_300
{
    width: 300px;
}

.right
{
    float:right;
}

.divider {
    border-bottom: 1px solid #E8E6E6;
    display: block;
    height: 1px;
}

.inline {
    display: inline;
}

.hidden {
    display:none;
}

.centered
{
    margin-left:auto;
    margin-right:auto;
    display:block;
    text-align: center;
}

.grey_text
{
    color: #ADADAD;
}

.full_width_percent
{
    margin:auto;
    width:100%;
}

.full_width
{
    margin:auto;
    width:1280px;
}

.grey_back_blue_top {
    background: none repeat scroll 0 0 #F5F5F5;
    border-color: #07AFEE #E8E6E6 #E8E6E6;
    border-style: solid;
    border-width: 4px 1px 1px;
    margin-bottom: 4px;
    padding: 10px 19px;
    height: 80px;
    overflow: hidden;
    overflow-y: auto;
}

.grey_back_blue_top > h3 {
    margin-bottom: 4px;
    text-align: center;
}

.rounded
{
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.bordered
{
    border-style:solid;
    border-width:2px;
    border-radius: 10px;
    border-color: #000
}

.grey_back
{
    background: none repeat scroll 0 0 #F5F5F5;
    border: 1px solid #E8E6E6;
    display: block;
    margin-bottom: 6px;
    padding: 6px;
    margin-top: 20px;
    overflow: hidden;
}

.scrollable:hover{
    overflow-x: auto;
}

.scrollable
{
    overflow-y:hidden;
    overflow-x:hidden;
    max-width: 2580px;
    white-space: nowrap;
}

@media only screen and (max-device-width: 480px) {
    .scrollable
    {
        overflow-y:hidden;
        overflow-x:auto;
        max-width: 2580px;
        white-space: nowrap;
    }
}


.left
{
    float:left;
}

.left_padding
{
    padding-left: 5px;
}

.bottom_padding
{
    padding-bottom: 25px;
}

.right_padding
{
    padding-right: 10px;
}

.right_padding_5
{
    padding-right: 5px;
}

.disclaimer
{
    padding-top: 10px;
    font-size: 10px;
}

.error
{
    color: #ff0000;
}


/* Banner styles */
#banner
{
    clear: both;
    display: table;
    margin: 0 auto;
    position: relative;
    padding:0;
    border-right: 3px solid #E8E6E6;
    border-left: 3px solid #E8E6E6;
    background: none repeat scroll 0 0 #FFF;
}

.big_circle_button
{
    background: none repeat scroll 0 0 #00c0f7;
    border-radius: 50px 50px 50px 50px;
    opacity: .8;
    bottom: 80px;
    display: table;
    height: 93px;
    left: 595px;
    position: absolute;
    width: 94px;
    z-index: 2;
}

.big_circle_button p
{
    color: #FFFFFF;
    margin: 0 auto;
    text-align: right;
    font-size: 60px;
    line-height: 93px;
    width: 93px;
}
.big_circle_button:hover
{
    background: none repeat scroll 0 0 #333333;
}




/* Connect button */

#connection_count {
    font-size: 14px;
    line-height: 16px;
}

#connect_button input{
    background:none;
    border:none;
    font-size:14px;
    color: #FFFFFF !important;
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
    width: 70%;
}


.checked:before {
    content: '\2713';
}




/* layout */

body
{
    background: none repeat scroll 0 0 #F5F5F5;
}

#disqus_thread
{
    margin: 0 100px;
}

.padded_container
{
    margin-left: 37px;
    background: none repeat scroll 0 0 #FFF;
    padding: 40px;
    width: 1200px;
    border-right: 3px solid #E8E6E6;
    border-left: 3px solid #E8E6E6;
    margin: 0 auto;
    overflow: hidden;
}

.info_content_container
{
    clear: both;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 70px;
    width: 1140px;
    padding-bottom: 20px;
}

.content_container
{
    background: none repeat scroll 0 0 #FFF;
    clear: both;
    display: block;
    margin: 0 auto;

    padding: 0 70px;
    width: 1140px;
    border-right: 3px solid #E8E6E6;
    border-left: 3px solid #E8E6E6;
    padding-bottom: 20px;
}


.extra_padded_container {
    margin: 0 150px;
    background: none repeat scroll 0 0 #FFF;
    width: 900px;
}

.indented_content
{
    margin: 0 auto 50px;
    width: 1028px;
}


.separated
{
    margin: 10px;
}



.min_height
{
    min-height:100px;
    height:auto !important;
    height:400px;
}

.padded
{
    padding-left: 20px;
    padding-right: 20px;
}

.small_top_padding
{
    padding-top: 15px;
}

.top_padding_medium
{
    padding-top: 100px;
}

.top_padded
{
    padding-top: 200px;
}
.bordered_box {
    background: none repeat scroll 0 0 #F5F5F5;
    border: 3px solid #E8E6E6;
    padding: 10px;
}

.opaque
{
    background-color: rgba(255, 255, 255, 0.97) !important;
}

.block
{
    padding: 20px;
    margin: 10px;
    border: 2px solid #E8E6E6;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
/* ============================================
   Inventory Now — Modern UI Refresh
   ============================================ */

/* --- Color Variables via root --- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #0ea5e9;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
}

/* --- Base --- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
}

a {
  color: var(--primary);
  transition: color 0.15s ease;
}
a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--gray-900);
}

/* --- Navbar --- */
.navbar-default {
  background: #fff;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
  min-height: 56px;
}

.navbar-default .navbar-header span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  padding: 4px 0;
}

.navbar-default .navbar-header span img {
  border-radius: 6px;
}

.navbar-default .navbar-nav > li > a {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 14px;
  padding: 16px 16px;
  transition: color 0.15s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: var(--primary);
  background: transparent;
}

/* --- Container --- */
.container {
  padding-top: 24px;
  padding-bottom: 40px;
  max-width: 960px;
}

/* --- Flash Messages --- */
.flash {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}
.flash.notice, .flash.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.flash.alert, .flash.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* --- Cards (replacing .well and .panel) --- */
.well, .panel-body {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.panel {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.panel-default > .panel-heading {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px 20px;
  border-radius: 0;
}

.panel-default > .panel-heading .panel-title {
  color: #fff;
  font-size: 18px;
}

/* --- Buttons --- */
.btn-default, .btn-sm {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.btn-default:hover, .btn-sm:hover,
.btn-default:focus, .btn-sm:focus {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

input[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
input[type="submit"]:hover {
  background: var(--primary-dark);
}

.btn-destructive {
  background: var(--danger);
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
}
.btn-destructive:hover {
  background: #b91c1c;
}

/* --- Forms --- */
.form-control, input[type="text"], input[type="email"],
input[type="password"], input[type="number"], input[type="date"], textarea, select {
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  height: auto;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.form-control:focus, input[type="text"]:focus, input[type="email"]:focus,
input[type="password"]:focus, input[type="date"]:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-group {
  margin-bottom: 16px;
}

label {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 4px;
  display: block;
}

/* --- Home Page --- */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.hero-section h1 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-section .btn-hero {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-section .btn-hero:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

/* --- Items List --- */
.list-group-item {
  display: block;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--gray-800);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.list-group-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  color: var(--gray-800);
  text-decoration: none;
}

.item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.item p {
  font-size: 13px;
  color: var(--gray-500);
}

/* --- Search Bar --- */
.search-bar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.search-bar input[type="text"] {
  flex: 1;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
}

/* --- Sign In / Sign Up --- */
.auth-wrapper {
  max-width: 420px;
  margin: 40px auto;
}

/* --- Item Detail --- */
.item-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.item-detail-header h2 {
  margin: 0;
  font-size: 24px;
}

.item-detail-actions a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  margin-left: 4px;
}

.item-detail-actions a:hover {
  background: #bfdbfe;
}

.breadcrumb-nav {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.breadcrumb-nav a {
  color: var(--gray-500);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.stat-card span {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

/* --- Footer --- */
#footer {
  background: var(--gray-800);
  color: var(--gray-400);
  padding: 24px 0 16px;
}

#footer .footer-nav > ul > li a {
  font-size: 15px;
  text-transform: none;
  font-weight: 500;
}

#footer .footer-nav > ul > li a:hover {
  color: var(--accent);
}

.copyright {
  font-size: 12px;
  color: var(--gray-500);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 24px 0;
}

.pagination a, .pagination em, .pagination span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}

.pagination a {
  background: #fff;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination em, .pagination .current {
  background: var(--primary);
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

/* --- Misc --- */
.disclaimer {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}

.round {
  /* Remove legacy rounded section styling */
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .hero-section {
    padding: 40px 16px;
  }
  
  .hero-section h1 {
    font-size: 24px;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
