.alert_success {
  color: #fff;
  text-align: center;
  font-weight: bold;
  background: #317eeb;
  padding: 10px;
  border-radius: 5px;
}

.row_img {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  margin: 0 auto;
}

/* --------- */
.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.pagination a.active {
  background-color: #317eeb;
  color: white;
  border: 1px solid #317eeb;
}

/* --------category style------ */
#main-nav {
  padding: 5px 0 5px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  width: 25%;
}

#main-nav ul {
  list-style-type: none;
  padding-left: 0px;
  text-align: center;
}

.well,
.card .card-block {
  background-color: #fff;
  border: 1px solid #ebebeb;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding: 19px;
  margin-bottom: 20px;
}

#main-nav li {
  color: #767676;
  list-style-type: none;
}

#main-nav li a {
  color: #000;
  text-shadow: none;
  display: block;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
}

.cat {
  position: relative;
}

.cat a {
  padding: 1rem;
  z-index: 1;
  position: relative;
  transition: all 0.6s ease-in 0.2s;
}

li.cat a::before {
  content: "";
  width: 3px;
  height: 100%;
  background-color: #4183d7;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.2s, width 0s cubic-bezier(1, 0, 0.01, 1) 0.2s;
  transform: scaleY(0);
  z-index: -1;
}

li.cat a span {
  color: inherit;
}

.category-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

#main-nav li.cat a:hover {
  color: #fff;
}

li.cat a:hover::before {
  transform: scaleY(1);
  width: 100%;
}

li.cat a::before {
  content: "";
  width: 3px;
  height: 100%;
  background-color: #4183d7;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.2s, width 0.2s cubic-bezier(1, 0, 0.01, 1) 0.2s;
  transform: scaleY(0);
  z-index: -1;
}

li.main-category.cat .category-wrap {
  position: absolute;
  top: 0;
  left: 100%;
  opacity: 0;
  height: 0;
  width: 12rem;
  background: #e5e9ee;
  transition: all 0.2s linear;
}

li.main-category.cat ul.category-list {
  transition: all 0.2s linear;
}

li.sub-category.cat {
  font-size: 0.6rem;
}

li.main-category.cat:hover .category-wrap {
  opacity: 1;
  height: 100%;
  font-size: 1rem;
}

/* -------------------category page */

.table_content_wrapper {
  padding-bottom: 20px;
  overflow: scroll;
  border-radius: 10px;
}

.inner_content {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.inner_content h2 {
  margin-right: 12px;
  margin-bottom: 0;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.inner_content a {
  background: #338fff;
  padding: 5px 15px;
  color: #fff;
  border-radius: 3px;
}

.inner_content2 {
  padding: 20px;
}

.category table {
  width: 100%;
  table-layout: fixed;
}

.category thead tr {
  background: #fafafa;
}

.category th {
  padding: 20px 15px;
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
}

#category_table tbody tr {
  background: #ffffff;
  border-bottom: 1px solid #eee !important;
  height: 50px !important;
  padding: 0 20px;
  padding: 0 20px;
}

#category_table tbody tr td {
  padding: 8px;
}

#category_table tbody tr td .plus_btn {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 2px solid #eee;
  margin-right: 3px;
}

#category_table tbody tr td .plus_btn:hover {
  border-color: #999999;
}

#category_table tr:hover {
  background: #fafafa;
}

.subbutton {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 2px solid #eee;
  margin-right: 3px;
}

/* ----------------popup area---------- */
#popup {
  display: none;
}

.popup-container {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: rgba(183, 182, 186, 0.41);
  position: absolute;
  top: 0;
  left: 0;
}

.popup {
  background-color: #ffffff;
  padding: 20px 30px;
  width: 30%;
  border-radius: 15px;
}

.close-popup {
  float: right;
}

.close-popup a {
  font-size: 1.2rem;
  color: #000;
  padding: 5px 10px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  display: inline-block;
}

.cat_btn {
  background: #338FFF;
  padding: 5px 10px;
  border-radius: 2px;
  margin: 5px;
  color: white;
  cursor: pointer;
}


.cat_btn2 {
  background: #338FFF;
  cursor: pointer;
}

.pos_category {
  display: none;
  position: absolute;
  top: 40px;
  left: 20px;
  width: 188px;
}

.brand_poput {
  width: 500px;
  height: 370px;
  margin: 0 auto;
  text-align: center;
  margin-top: 5%;
  background: #fff;
  border: 2px solid #dfdfdf;
}

/* -----------warranty section------------- */

.warranty_content {
  width: 100%;
  display: flex;
  margin: 0px auto;
  background: white;
  padding: 20px;
  border-radius: 5px;
}

.brand_categroy,
.pos_input_item {
  display: flex;
}

.brand_categroy_content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 640px) {
  .brand_categroy_content {
    flex-direction: column;
    gap: 10px;
  }

  
  .brand_categroy_content > div {
    width: 100%;
  }
}

.brand_categroy_width {
  width: 48%;
}

.brand_category_style {
  display: flex;
  justify-content: space-between;
}

.brand_category_plus {
  border: 1px solid #dfdfdf;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 26px;
  margin: 4px;
  cursor: pointer;
}

.amount_box {
  width: 100%;
  margin: 0 auto;
}

.note_textarea {
  display: block;
  width: 100%;
  border: 1px solid #dfdfdf;
  box-shadow: 1px 1px 1px 1px #dfdfdf;
  outline: none;
  padding: 10px;
}

/* -----------warranty section------------- */

.invoice {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
}

.order_action_selcet {
  padding: 7px 15px;
  outline: none;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
}

/* ---------------------- */
@media (max-width: 640px) {
  .responsive {
    display: block;
    float: none;
    margin: 0 auto;
  }
  .warranty_content {
    display: block;
  }

  .pagination a {
    float: left;
    padding: 0px 5px;
    margin: 0px 0px;
    font-size: 10px;
  }
  .pagination_buttons {
    display: block;
  }
  .main_content_container {
    inline-size: fit-content;
  }
  .input {
    margin: 0px 0;
  }
  .expand_icon{
    display: none;
  }
}


.sidebar_icon {
  color: #fff;
  border-radius: 50px;
  width: 40px;
  height:40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #317EEB,#2563eb);
}
.py-5{
  padding:5px 0;
}

@media print{
  .invoice_actions{
    display: none;
  }
  .signature{
    visibility: hidden;
  }
}


/* -------our cost section---------------- */
.our_cost_main{
  margin: 30px 0;
  text-align: center;
  color: #317EEB;
  font-weight: 700;
}
.monthly_total_cost{
  display: flex;
  gap: 10px;  
}
.our_cost_box{
  background: #ffffff;
  width: 100%;
  padding: 2%;
  border-radius: 5px;
  box-shadow: 0px 1px 1px 1px #ddd;
}
.total_profit> .our_cost_box{
  margin-top: 10px;
}

.our_cost_box > p{
  color:#6B7280;
}
.card_top_numbers{
  color: #317EEB !important;
}