/* ==========================================================
		FORM CUSTOM — Global Styles
		Reusable class: .form-control-custom
		Support: input text, number, email, password, date, time,
						textarea, select (native), selectric, select2,
						custom-file, badge, form-note
	========================================================== */

/* ==========================================================
  	0. CSS VARIABLES (opsional — biar gampang ganti warna)
   ========================================================== */
:root {
	--fc-height:        42px;
	--fc-height-sm:     34px;
	--fc-radius:        9px;
	--fc-radius-sm:     7px;
	--fc-border:        1.3px solid #e0e4f5;
	--fc-border-hover:  1.3px solid #c7cffd;
	--fc-border-focus:  1.3px solid #6777EF;
	--fc-focus-shadow:  0 0 0 3px rgba(103, 119, 239, 0.12);
	--fc-bg:            #fff;
	--fc-bg-readonly:   linear-gradient(135deg, #fafbff 0%, #f4f6ff 100%);
	--fc-bg-disabled:   #f4f6ff;
	--fc-text:          #2c2c54;
	--fc-text-muted:    #b0b6c8;
	--fc-text-disabled: #a0a5b8;
	--fc-primary:       #6777EF;
	--fc-primary-dark:  #4a5cd6;
	--fc-primary-darker:#3a4bb5;
	--fc-font-size:     13px;
	--fc-font-size-sm:  12px;
	--fc-transition:    all 0.18s ease;
}

/* ==========================================================
		1. BASE — .form-control-custom
		Berlaku untuk semua input & textarea
   ========================================================== */
.form-control-custom {
	display: block;
	width: 100%;
	height: var(--fc-height);
	padding: 8px 14px;
	font-size: var(--fc-font-size);
	font-weight: 400;
	line-height: 1.4;
	color: var(--fc-text);
	background: var(--fc-bg);
	border: var(--fc-border);
	border-radius: var(--fc-radius);
	transition: var(--fc-transition);
	box-shadow: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

/* Placeholder */
.form-control-custom::placeholder {
	color: var(--fc-text-muted);
	font-size: calc(var(--fc-font-size) - 0.5px);
	font-style: italic;
	opacity: 1;
}

/* Hover (hanya jika tidak disabled/readonly) */
.form-control-custom:hover:not(:disabled):not([readonly]) {
	border-color: #c7cffd;
}

/* Focus */
.form-control-custom:focus {
	border: var(--fc-border-focus);
	box-shadow: var(--fc-focus-shadow);
	background: var(--fc-bg);
	color: var(--fc-text);
}

/* Readonly */
.form-control-custom[readonly] {
	background: var(--fc-bg-readonly);
	border-color: #d4daff;
	color: var(--fc-text);
	cursor: default;
	font-weight: 500;
}

.form-control-custom[readonly]:focus {
	box-shadow: none;
	border-color: #d4daff;
}

/* Disabled */
.form-control-custom:disabled,
.form-control-custom[disabled] {
	background: var(--fc-bg-disabled);
	color: var(--fc-text-disabled);
	cursor: not-allowed;
	border-color: #e0e4f5;
}

/* ==========================================================
		2. TEXTAREA
   ========================================================== */
textarea.form-control-custom {
	height: auto;
	min-height: 100px;
	padding: 10px 14px;
	line-height: 1.5;
	resize: vertical;
}

/* ==========================================================
		3. SELECT NATIVE (tanpa plugin)
   ========================================================== */
select.form-control-custom {
	height: var(--fc-height);
	padding: 8px 36px 8px 14px;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%236777EF' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px 12px;
	cursor: pointer;
}

/* ==========================================================
		4. INPUT NUMBER — hilangkan spinner default
   ========================================================== */
input[type="number"].form-control-custom::-webkit-outer-spin-button,
input[type="number"].form-control-custom::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"].form-control-custom {
	-moz-appearance: textfield;
}

/* ==========================================================
		5. INPUT DATE/TIME — style icon kalender
   ========================================================== */
input[type="date"].form-control-custom::-webkit-calendar-picker-indicator,
input[type="time"].form-control-custom::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.15s ease;
}

input[type="date"].form-control-custom::-webkit-calendar-picker-indicator:hover,
input[type="time"].form-control-custom::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}

/* ==========================================================
		6. CUSTOM FILE (.custom-file)
   ========================================================== */
.custom-file {
	height: var(--fc-height);
	position: relative;
}

.custom-file-input {
	height: var(--fc-height);
	cursor: pointer;
	z-index: 3;
}

.custom-file-label {
	height: var(--fc-height);
	line-height: calc(var(--fc-height) - 16px);
	padding: 8px 16px;
	border-radius: var(--fc-radius);
	border: var(--fc-border);
	font-size: var(--fc-font-size);
	color: #6c7293;
	background: var(--fc-bg);
	transition: var(--fc-transition);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.custom-file-label::after {
	content: "Pilih";
	height: var(--fc-height);
	line-height: calc(var(--fc-height) - 16px);
	padding: 8px 18px;
	border-radius: 0 var(--fc-radius) var(--fc-radius) 0;
	background: #f0f3ff;
	color: var(--fc-primary);
	font-weight: 600;
	border-left: var(--fc-border);
}

.custom-file-input:hover ~ .custom-file-label {
	border-color: #c7cffd;
}

.custom-file-input:focus ~ .custom-file-label {
	border: var(--fc-border-focus);
	box-shadow: var(--fc-focus-shadow);
}

/* ==========================================================
		7. SELECTRIC — samakan dengan form-control-custom
   ========================================================== */
.selectric-wrapper {
	width: 100%;
}

.selectric {
	height: var(--fc-height);
	border: var(--fc-border);
	border-radius: var(--fc-radius);
	background: var(--fc-bg);
	transition: var(--fc-transition);
}

.selectric:hover {
	border-color: #c7cffd;
}

.selectric-open .selectric,
.selectric-focus .selectric {
	border: var(--fc-border-focus);
	box-shadow: var(--fc-focus-shadow);
}

.selectric .label {
	height: calc(var(--fc-height) - 2px);
	line-height: calc(var(--fc-height) - 2px);
	padding: 0 14px;
	margin: 0;
	font-size: var(--fc-font-size);
	color: var(--fc-text);
}

.selectric .button {
	height: var(--fc-height);
	width: 36px;
	background: transparent;
}

.selectric .button::after {
	border-color: var(--fc-primary) transparent transparent;
	border-width: 5px 4px 0;
}

.selectric-open .selectric .button::after {
	border-color: transparent transparent var(--fc-primary);
	border-width: 0 4px 5px;
}

/* Dropdown Selectric */
.selectric-items {
	border: var(--fc-border) !important;
	border-top: none !important;
	border-radius: 0 0 var(--fc-radius) var(--fc-radius) !important;
	box-shadow: 0 8px 20px rgba(103, 119, 239, 0.12) !important;
	margin-top: -1px !important;
}

.selectric-items ul {
	padding: 4px 0;
}

.selectric-items li {
	padding: 9px 14px;
	font-size: 12.5px;
	color: var(--fc-text);
	line-height: 1.4;
	border-bottom: 1px solid #f4f6ff;
	transition: background 0.12s ease;
}

.selectric-items li:last-child {
	border-bottom: none;
}

.selectric-items li:hover,
.selectric-items li.highlighted {
	background: #eef1ff !important;
	color: var(--fc-primary-dark) !important;
}

.selectric-items li.selected {
	background: var(--fc-primary) !important;
	color: #fff !important;
}

/* Input search di dalam Selectric (custom) */
.selectric-input-wrapper {
	padding: 8px 10px;
	background: #fafbff;
	border-bottom: 1px solid #eef1ff;
	position: sticky;
	top: 0;
	z-index: 2;
}

.selectric-input-wrapper input {
	width: 100%;
	height: 36px;
	border: var(--fc-border);
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 12.5px;
	outline: none;
	transition: var(--fc-transition);
}

.selectric-input-wrapper input:focus {
	border: var(--fc-border-focus);
	box-shadow: var(--fc-focus-shadow);
}

/* ==========================================================
		8. SELECT2 — samakan dengan form-control-custom
   ========================================================== */

/* --- Single Select --- */
.select2-container--default .select2-selection--single {
	height: var(--fc-height);
	border: var(--fc-border);
	border-radius: var(--fc-radius);
	background: var(--fc-bg);
	transition: var(--fc-transition);
}

.select2-container--default .select2-selection--single:hover {
	border-color: #c7cffd;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
	border: var(--fc-border-focus);
	box-shadow: var(--fc-focus-shadow);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: calc(var(--fc-height) - 2px);
	padding-left: 14px;
	padding-right: 40px;
	font-size: var(--fc-font-size);
	color: var(--fc-text);
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--fc-text-muted);
	font-style: italic;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: calc(var(--fc-height) - 2px);
	right: 10px;
	top: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: var(--fc-primary) transparent transparent;
	border-width: 5px 4px 0;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent var(--fc-primary);
	border-width: 0 4px 5px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
	color: #8a8fa3;
	font-size: 16px;
	margin-right: 6px;
	transition: color 0.15s ease;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
	color: #dc3545;
}

/* --- Multiple Select --- */
.select2-container--default .select2-selection--multiple {
	min-height: var(--fc-height);
	border: var(--fc-border);
	border-radius: var(--fc-radius);
	background: var(--fc-bg);
	padding: 4px 8px;
	transition: var(--fc-transition);
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--multiple {
	border: var(--fc-border-focus);
	box-shadow: var(--fc-focus-shadow);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background: #eef1ff;
	border: 1px solid #d4daff;
	border-radius: 6px;
	color: var(--fc-primary-dark);
	font-size: 12px;
	padding: 3px 8px;
	margin: 2px 4px 2px 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: var(--fc-primary);
	margin-right: 4px;
}

/* --- Dropdown --- */
.select2-dropdown {
	border: var(--fc-border) !important;
	border-radius: var(--fc-radius);
	box-shadow: 0 8px 20px rgba(103, 119, 239, 0.12);
	overflow: hidden;
	margin-top: 4px;
}

.select2-container--default .select2-search--dropdown {
	padding: 8px 10px;
	background: #fafbff;
	border-bottom: 1px solid #eef1ff;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border: var(--fc-border);
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 12.5px;
	outline: none;
	transition: var(--fc-transition);
	background: #fff;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
	border: var(--fc-border-focus);
	box-shadow: var(--fc-focus-shadow);
}

.select2-container--default .select2-results__option {
	padding: 9px 14px;
	font-size: 12.5px;
	color: var(--fc-text);
	line-height: 1.4;
	transition: background 0.12s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: #eef1ff !important;
	color: var(--fc-primary-dark) !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
	background: var(--fc-primary) !important;
	color: #fff !important;
}

.select2-container--default .select2-results__group {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #8a8fa3;
	padding: 8px 14px 4px;
	letter-spacing: 0.3px;
}

.select2-container--default .select2-results__option.loading-results,
.select2-container--default .select2-results__option--load-more {
	text-align: center;
	padding: 16px;
	color: var(--fc-primary);
	font-size: 12px;
	font-style: italic;
}

.select2-container--default .select2-results__message {
	padding: 16px 14px;
	text-align: center;
	font-size: 12px;
	color: #8a8fa3;
	font-style: italic;
}

/* --- Disabled Select2 --- */
.select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
	background: var(--fc-bg-disabled);
	border-color: #e0e4f5;
	cursor: not-allowed;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
	color: var(--fc-text-disabled);
}

/* ==========================================================
		10. BADGE
   ========================================================== */
.badge {
	font-size: 11px;
	font-weight: 600;
	padding: 5px 11px;
	border-radius: 20px;
	letter-spacing: 0.2px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.badge-success {
	background: #d4f5dd;
	color: #1e7e34;
}

.badge-warning {
	background: #fff3cd;
	color: #856404;
}

.badge-danger {
	background: #ffe0e3;
	color: #b02a37;
}

.badge-info {
	background: #e0f0ff;
	color: #0c63a0;
}

.badge-primary {
	background: #eef1ff;
	color: var(--fc-primary-dark);
}

.badge-secondary {
	background: #eef0f4;
	color: #6c7293;
}

/* ==========================================================
		11. FORM NOTE
   ========================================================== */
.form-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	line-height: 1.5;
	padding: 10px 14px;
	border-radius: 8px;
	margin-top: 8px;
}

.form-note i {
	font-size: 13px;
	flex-shrink: 0;
	margin-top: 2px;
}

.form-note.note-success {
	background: #f0faf2;
	border-left: 3px solid #28a745;
	color: #1e7e34;
}
.form-note.note-success i { color: #28a745; }

.form-note.note-warning {
	background: #fff8e6;
	border-left: 3px solid #ffc107;
	color: #7a6520;
}
.form-note.note-warning i { color: #ffc107; }

.form-note.note-info {
	background: #eef4ff;
	border-left: 3px solid var(--fc-primary);
	color: var(--fc-primary-dark);
}
.form-note.note-info i { color: var(--fc-primary); }

.form-note.note-danger {
	background: #fff0f1;
	border-left: 3px solid #dc3545;
	color: #a02634;
}
.form-note.note-danger i { color: #dc3545; }

/* ==========================================================
		12. HELPER: .form-control-custom-sm (ukuran kecil)
   ========================================================== */
.form-control-custom-sm {
	height: var(--fc-height-sm);
	font-size: var(--fc-font-size-sm);
	padding: 6px 12px;
	border-radius: var(--fc-radius-sm);
}

/* Select2 ukuran kecil */
.select2-container--default.select2-container--sm .select2-selection--single,
.select2-container--default.select2-container--sm .select2-selection--multiple {
	height: var(--fc-height-sm);
	min-height: var(--fc-height-sm);
	border-radius: var(--fc-radius-sm);
}

.select2-container--default.select2-container--sm .select2-selection--single .select2-selection__rendered {
	line-height: calc(var(--fc-height-sm) - 2px);
	font-size: var(--fc-font-size-sm);
	padding-left: 10px;
}

.select2-container--default.select2-container--sm .select2-selection--single .select2-selection__arrow {
	height: calc(var(--fc-height-sm) - 2px);
}

/* ==========================================================
		13. RESPONSIVE
   ========================================================== */
	@media (max-width: 576px) {
    :root {
			--fc-height:    40px;
			--fc-font-size: 12.5px;
    }

    .form-control-custom,
    .custom-file,
    .custom-file-input,
    .custom-file-label,
    .custom-file-label::after,
    .selectric,
    .selectric .label,
    .selectric .button {
			height: 40px;
    }

    .selectric .label {
			line-height: 38px;
    }

    .form-control-custom::placeholder {
			font-size: 12px;
    }

    .form-note {
			font-size: 12px;
			padding: 9px 12px;
    }
	}

/* ==========================================================
		14. INPUT GROUP (prepend / append)
   ========================================================== */
.input-group {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
}

/* Input di dalam input-group */
.input-group > .form-control-custom {
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	border-radius: var(--fc-radius) !important;
	height: var(--fc-height);
}

/* Prepended element (kiri) */
.input-group-prepend {
	display: flex;
	margin-right: -1.3px;   /* overlap border 1.3px */
	z-index: 2;
}

.input-group-prepend > .input-group-text,
.input-group-prepend > .btn {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-right: 0;
}

/* Appended element (kanan) */
.input-group-append {
	display: flex;
	margin-left: -1.3px;
	z-index: 2;
}

.input-group-append > .input-group-text,
.input-group-append > .btn {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-left: 0;
}

/* Kalau input di tengah, sudutnya rata */
.input-group > .form-control-custom:not(:first-child) {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.input-group > .form-control-custom:not(:last-child) {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

/* --- Input Group Text (prepend/append dengan teks/icon) --- */
.input-group-text {
	display: flex;
	align-items: center;
	height: var(--fc-height);
	padding: 8px 14px;
	font-size: var(--fc-font-size);
	font-weight: 500;
	color: #6777EF;
	background: #f0f3ff;
	border: var(--fc-border);
	border-radius: var(--fc-radius);
	white-space: nowrap;
	line-height: 1;
	transition: var(--fc-transition);
}

.input-group-text i {
	font-size: 13px;
}

/* --- Button dalam Input Group --- */
.input-group-append > .btn,
.input-group-prepend > .btn {
	height: var(--fc-height);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	font-size: var(--fc-font-size);
	font-weight: 600;
	border: var(--fc-border);
	background: #f0f3ff;
	color: var(--fc-primary);
	transition: var(--fc-transition);
	border-radius: var(--fc-radius);
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}

.input-group-append > .btn:hover,
.input-group-prepend > .btn:hover {
	background: #e0e4f5;
	color: var(--fc-primary-dark);
	border-color: #c7cffd;
}

.input-group-append > .btn:active,
.input-group-prepend > .btn:active {
	background: #d4daff;
	color: var(--fc-primary-darker);
}

/* --- Button versi primer (kalau butuh solid) --- */
.input-group-append > .btn-primary,
.input-group-prepend > .btn-primary {
	background: linear-gradient(135deg, #6777EF 0%, #8B97F5 100%);
	color: #fff;
	border: none;
	box-shadow: 0 3px 8px rgba(103, 119, 239, 0.25);
	padding: 8px 20px;
}

.input-group-append > .btn-primary:hover,
.input-group-prepend > .btn-primary:hover {
	background: #4a5cd6;
	color: #fff;
}

/* --- Focus state: shadow gabung ke seluruh grup --- */
.input-group:focus-within > .form-control-custom {
	border-color: var(--fc-primary);
	box-shadow: none;
	z-index: 3;
}

.input-group:focus-within {
	box-shadow: var(--fc-focus-shadow);
	border-radius: var(--fc-radius);
}

.input-group:focus-within > .input-group-text,
.input-group:focus-within > .input-group-append > .btn,
.input-group:focus-within > .input-group-prepend > .btn {
	border-color: var(--fc-primary);
}

/* --- Input group ukuran kecil --- */
.input-group.input-group-sm > .form-control-custom,
.input-group.input-group-sm > .input-group-text,
.input-group.input-group-sm > .input-group-append > .btn,
.input-group.input-group-sm > .input-group-prepend > .btn {
	height: var(--fc-height-sm);
	font-size: var(--fc-font-size-sm);
	padding: 6px 12px;
}

/* ==========================================================
		15. CUSTOM CHECKBOX & RADIO (versi modern, tanpa vendor)
   ========================================================== */

/* --- Wrapper --- */
.custom-control {
	position: relative;
	display: block;
	min-height: 22px;
	padding-left: 32px;
	margin-bottom: 8px;
}

/* --- Input asli disembunyikan --- */
.custom-control-input {
	position: absolute;
	z-index: -1;
	opacity: 0;
	width: 0;
	height: 0;
}

/* --- Label --- */
.custom-control-label {
	position: relative;
	margin-bottom: 0;
	font-size: 13px;
	color: var(--fc-text);
	font-weight: 400;
	cursor: pointer;
	line-height: 1.5;
	user-select: none;
	display: block;
}

/* Kotak checkbox & radio */
.custom-control-label::before {
	content: "";
	position: absolute;
	left: -32px;
	top: 1px;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 1.3px solid #d4daff;
	border-radius: 6px;
	transition: all 0.18s ease;
	pointer-events: none;
}

/* Icon centang / dot */
.custom-control-label::after {
	content: "";
	position: absolute;
	left: -32px;
	top: 1px;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	transition: all 0.18s ease;
	pointer-events: none;
}

/* --- Hover --- */
.custom-control-label:hover::before {
	border-color: var(--fc-primary);
	box-shadow: 0 0 0 3px rgba(103, 119, 239, 0.08);
}

/* --- Checked state --- */
.custom-control-input:checked ~ .custom-control-label::before {
	background: linear-gradient(135deg, #6777EF 0%, #8B97F5 100%);
	border-color: var(--fc-primary);
	box-shadow: 0 2px 6px rgba(103, 119, 239, 0.3);
}

.custom-control-input:checked ~ .custom-control-label::after {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
}

/* --- Focus state --- */
.custom-control-input:focus ~ .custom-control-label::before {
	border-color: var(--fc-primary);
	box-shadow: 0 0 0 3px rgba(103, 119, 239, 0.15);
}

/* --- Disabled state --- */
.custom-control-input:disabled ~ .custom-control-label {
	color: var(--fc-text-disabled);
	cursor: not-allowed;
}

.custom-control-input:disabled ~ .custom-control-label::before {
	background: var(--fc-bg-disabled);
	border-color: #e0e4f5;
}

.custom-control-input:disabled:checked ~ .custom-control-label::before {
	background: #c7cffd;
	border-color: #c7cffd;
}

/* ==========================================================
		16. CUSTOM RADIO (override radius jadi bulat)
   ========================================================== */
.custom-radio .custom-control-label::before {
	border-radius: 50%;
}

.custom-radio .custom-control-label::after {
	background-size: 8px 8px;
	border-radius: 50%;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4' fill='%23fff'/%3E%3C/svg%3E");
}

/* ==========================================================
		17. CUSTOM SWITCH (opsional)
   ========================================================== */
.custom-switch {
	padding-left: 54px;
}

.custom-switch .custom-control-label::before {
	left: -54px;
	width: 40px;
	height: 22px;
	border-radius: 20px;
	top: 0;
}

.custom-switch .custom-control-label::after {
	left: -50px;
	top: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
	transition: all 0.22s ease;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
	left: -28px;
	background: #fff;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
	background: linear-gradient(135deg, #6777EF 0%, #8B97F5 100%);
	border-color: var(--fc-primary);
}

/* ==========================================================
		18. RESPONSIVE — input group di mobile
   ========================================================== */
	@media (max-width: 576px) {
    .input-group-text,
    .input-group-append > .btn,
    .input-group-prepend > .btn {
			padding: 6px 12px;
			font-size: 12px;
			height: 40px;
    }

    .input-group > .form-control-custom {
			height: 40px;
    }

    .custom-control {
			padding-left: 30px;
    }

    .custom-control-label {
			font-size: 12.5px;
    }

    .custom-control-label::before,
    .custom-control-label::after {
			left: -30px;
			width: 18px;
			height: 18px;
    }
	}