/*================================================================================
	Item Name: Stack - Responsive Admin Theme
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */

/* Background */
html body.boxed-layout {
  background-color: #fefaf2;
}

html body.bg-full-screen-image {
  background: linear-gradient(135deg, #fff100, #006bff, #08c2ff, #fff100);
}

html body.bg-full-screen-image_register {
  background: linear-gradient(135deg, #006bff, #08c2ff, #fff100, #006bff);
}

/* Asterisk Required */
form label.required::after {
  content: " *";
  color: red;
}

.bg-color-event-custom-header {
  background: linear-gradient(135deg, #fff100, #006bff, #08c2ff);
}

.btn-color-event-run {
  background: transparent;
  color: #006bff; /* pakai salah satu warna gradient utk teks */
  border: 1px solid #006bff;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover: berubah jadi gradient fill */
.btn-color-event-run:hover {
  background: linear-gradient(135deg, #fff100, #006bff, #08c2ff);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Active: tetap terasa ditekan */
.btn-color-event-run:active {
  transform: translateY(0);
  border-color: transparent;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Variant */

.btn-color-event-run_success {
  background: transparent;
  color: #14d015; /* pakai salah satu warna gradient utk teks */
  border: 1px solid #14d015;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover: berubah jadi gradient fill */
.btn-color-event-run_success:hover {
  background: linear-gradient(135deg, #fff100, #006bff, #08c2ff);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Active: tetap terasa ditekan */
.btn-color-event-run_success:active {
  transform: translateY(0);
  border-color: transparent;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.btn-color-event-run_info {
  background: transparent;
  color: #006bff; /* pakai salah satu warna gradient utk teks */
  border: 1px solid #006bff;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover: berubah jadi gradient fill */
.btn-color-event-run_info:hover {
  background: linear-gradient(135deg, #fff100, #da5262, #006bff);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Active: tetap terasa ditekan */
.btn-color-event-run_info:active {
  transform: translateY(0);
  border-color: transparent;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Badge Keterangan */

.badge-outline-color-event-run_warning {
  background: transparent;
  color: #ff7531; /* warna teks awal */
  border: 1px solid #ff7531;
  padding: 6px 12px; /* sesuaikan biar mirip badge */
  border-radius: 50px; /* biar tetap pill */
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

/* Hover effect mirip gradient button */
.badge-outline-color-event-run_warning:hover {
  background: #ff7531;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.badge-outline-color-event-run_info {
  background: transparent;
  color: #006bff; /* warna teks awal */
  border: 1px solid #006bff;
  padding: 6px 12px; /* sesuaikan biar mirip badge */
  border-radius: 50px; /* biar tetap pill */
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

/* Hover effect mirip gradient button */
.badge-outline-color-event-run_info:hover {
  background: #006bff;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.badge-outline-color-event-run_secondary {
  background: transparent;
  color: #2d2d2d; /* warna teks awal */
  border: 1px solid #2d2d2d;
  padding: 6px 12px; /* sesuaikan biar mirip badge */
  border-radius: 50px; /* biar tetap pill */
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

/* Hover effect mirip gradient button */
.badge-outline-color-event-run_secondary:hover {
  background: #2d2d2d;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Nav */

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #000;
  background-color: #fff100;
}

/* Href */

a {
  color: #006bff;
  text-decoration: none;
  background-color: transparent;
}

/* Table */

.table-responsive {
  max-height: 400px;
  overflow-y: auto;
}

table th,
table td {
  vertical-align: middle !important;
  padding: 0.75rem 1rem;
  text-align: center;
  /* center text */
}

table tbody tr:hover {
  background-color: #f1f5f9;
}

.table-light,
.table-light > th,
.table-light > td {
  background-color: #fefaf2;
}

/* Pagination styling */
.pagination .page-item .page-link {
  border-radius: 50% !important;
  margin: 0 3px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #fff100, #006bff, #08c2ff);
  border-color: #fff;
  color: #fff;
}

/* Gradient border for the card */
.card-gradient-border {
  border: 4px solid;
  border-image-slice: 1;
  border-width: 4px;
  border-image-source: linear-gradient(135deg, #fff100, #006bff, #08c2ff);
  border-radius: 10px;
  /* optional rounded corners */
}

/* Optional: subtle row hover effect */
.table-hover tbody tr:hover {
  background-color: rgba(155, 93, 229, 0.1);
}

/* Gradient border for the metode pembayaran */
.border-metode-pembayaran-color-event-run-border {
  border: 4px solid;
  border-image-slice: 1;
  border-width: 4px;
  border-image-source: linear-gradient(135deg, #fff100, #006bff, #08c2ff);
  border-radius: 10px;
  /* optional rounded corners */
}
