body {
  background-color: #f3f3f3;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

@font-face {
  font-family: 'Unilever Shilling Bold';
  src: url('/fonts/UnileverShillingB.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Unilever Shilling';
  src: url('/fonts/UnileverShilling.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Unilever Shilling', sans-serif;
  background-color: #ffffff;
  color: #222;
}

.fs-13 {
  font-size: 13px;
}

.container-body {
  position: relative;
  width: 100%;
  max-width: 450px;
  min-height: 100vh;
  background-color: #fff;
  overflow-x: hidden;
}

.navbar-custom {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: white;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-custom img {
  height: 32px;
}

.menu-toggle {
  border: none;
  background: none;
  color: white;
  font-size: 28px;
}

.sidebar {
  position: absolute;
  top: 0;
  right: -70%;
  width: 70%;
  height: 100%;
  background-color: #ff7604;
  color: white;
  transition: right 0.4s ease;
  z-index: 1500;
  padding: 30px 20px;
}

.sidebar.active {
  right: 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar a:hover {
  opacity: 0.8;
}

.sidebar .close-btn {
  font-size: 30px;
  color: white;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.card {
  border-radius: 16px;
}

.btn-orange {
  background-color: rgb(255, 90, 0);
  color: white;
  font-weight: 600;
  border-radius: 25px;
}

.btn-orange:hover {
  background-color: rgb(255, 90, 0);
}

label.error {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.is-invalid {
  border-color: red !important;
}

.form-check-input.is-invalid {
  border-color: red;
}

.select2-container--default .select2-selection--single {
  height: 40px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  display: flex;
  align-items: center;
}

.hero-section {
  position: relative;
  top: 0;
  height: 400px;
  background-image: url('/image/top-banner.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  margin-bottom: 20px;
}

.navbar-custom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  color: white;
  padding: 10px 15px 15px 0;
  z-index: 10;
}

.navbar-custom div.container-logo {
  background-color: rgb(255, 90, 0);
  width: 110px;
  padding: 15px;
}

.menu-toggle {
  border: none;
  background: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.sidebar {
  position: absolute;
  top: 0;
  right: -70%;
  width: 70%;
  height: 100%;
  background-color:rgb(255, 90, 0);
  color: white;
  transition: right 0.4s ease;
  z-index: 50;
  padding: 30px 20px;
}

.sidebar.active {
  right: 0;
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar a:hover {
  opacity: 0.8;
}

.sidebar .close-btn {
  font-size: 30px;
  color: white;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.form-content {
  margin-top: -15px;
  background-color: #F3F3F3;
}

.container-logo {
  width: 110px;
  height: 50px;
  background-color: rgb(255, 90, 0);
  border-top-right-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.container-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header-subtitle {
  opacity: 70%;
}

.title {
  font-family: 'Unilever Shilling Bold', sans-serif;
  font-size: 32px;
}

/* Custom Radio Button Style */
.radio-box-group {
  display: flex;
  gap: 10px;
}

.radio-box {
  position: relative;
  flex: 1;
}

.radio-box input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-box label {
  display: block;
  padding: 12px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: white;
  font-weight: 500;
}

.radio-box input[type="radio"]:checked+label {
  background-color: rgb(255, 90, 0);
  border-color: rgb(255, 90, 0);
  color: white;
}

.radio-box input[type="radio"].is-invalid+label {
  border-color: red;
}

.radio-box label:hover {
  border-color: rgb(255, 90, 0);
}

.pajak-details {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.pajak-details.show {
  display: block;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Product Image in Select2 */
.select2-results__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.product-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  /* border: 1px solid #dee2e6; */
}

.product-name {
  flex: 1;
  font-size: 14px;
}

/* Selected product image */
.select2-selection__rendered {
  display: flex;
  align-items: center;
  gap: 8px;
}

.selected-product-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
}

.form-label{
  color: #221D37;
  font-size: 13px;
}

.form-title{
  color: #221D37;
  font-size: 13px;
}

.input-group-text{
    color: #221D37;
    font-size: 13px;
}

#bahanContainer .form-label {
  color: #5A595B;
}

*::placeholder {
  color: #BABABA !important;
  opacity: 1 !important;
}

.btn-add-bahan{
  background-color: #F4F1FF;
  color: #221D37;
  font-size: 13px;
}

.btn-add-product{
  background-color: #F4F1FF;
  color: #221D37;
  font-size: 13px;
}

.form-select{
  font-size: 13px;
}

.form-control {
  font-size: 13px;
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    font-size: 13px !important;
}

.select2-container .select2-selection__rendered {
    font-size: 13px !important;
}

.select2-dropdown,
.select2-results__option {
    font-size: 13px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: auto;
  right: 1px;
  width: 20px;
}

.bg-grey{
  background-color: #f3f3f3;
}

.remove-bahan, .remove-ufs {
  position: absolute;
  top: 8px;
  right: 0px;

  width: 25px;           /* lebar */
  height: 25px;          /* tinggi (sama = lingkaran sempurna) */
  border-radius: 50%;    /* bikin bulat sempurna */

  border: 1px solid #dc3545; /* outline danger */
  background: white;
  color: #dc3545;

  font-size: 14px;
  line-height: 20px;     /* agar X tepat di tengah vertikal */
  text-align: center;    /* tengah horizontal */
  padding: 0;

  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;   /* X benar-benar di tengah */
}

.remove-bahan:hover, .remove-ufs:hover {
  background-color: red;
  color: white;
}

.form-control, .form-select, .btn{
  height: 40px;
}