:root {
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--primary-color: #888cdf;
	--tw-ring-offset-shadow: #888cdf;
}
.centered-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	line-height: 1.6;
	opacity: 0.773319;
}

.content {
	width: 80%;
	text-align: center;
	padding: 10px;
}

.container_trx {
    max-width: 900px;
    margin: 20px auto 30px;
    display: flex;
    gap: 20px;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.panel {
    font-family: 'Roboto', sans-serif;
    padding: 50px 50px 50px 70px;
    background: linear-gradient(180deg, rgb(34 33 37) 0%, rgb(10 9 14) 100%), #1E2126;
    border-radius: 10px;
    border:none;
    max-width: 600px;
    width: 100%;
}

.sidebar {
    width: 220px;
    flex-shrink: 0;
    color:#858282;
    font-size: 14px;
    line-height: 1.2;
}

@media (max-width: 768px) {
	.container_trx {
		flex-direction: column;
	}
	.sidebar {
		width: 100%;
	}
}

.form-group {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
	position: relative;
}

.form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0px;
	1align-items: flex-end;
}

.form-row .form-group {
	1flex: 1;
	1min-width: 200px;
	margin-bottom: 0;
}

.input-container {
	position: relative;
	width: 100%;
}


.calcul_1 {
	position: absolute;
	left: -40px;
	top: 4;
	width: 25px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	z-index: 1;
	text-align: left;
	padding-left: 5px;
	color: #777;
}

.calcul_6 {
	font-family: 'Roboto', sans-serif;
	font-family: monospace;
	width: 100%;
	padding: 8px 15px 25px;
	background-color: #181717;
	border: none;
	margin-bottom: -5px;
	border-radius: 4px;
	color: #818181;
	font-size: 14px;
	transition: all 0.3s ease;
	box-shadow: 0 0 5px #000;
}

.calcul_6:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(136, 140, 223, 0.2);
}

.calcul_4 {
	font-family: 'Roboto', sans-serif;
	position: absolute;
	top: 30px;
	left: 15px;
	color:#777;
	pointer-events: none;
	transition: all 0.3s ease;
	font-size: 12px;
}

.calcul_6:focus + .calcul_4,
.calcul_6:not(:placeholder-shown) + .calcul_4 {
	1top: -18px;
	1left: 10px;
	1font-size: 12px;
	color: var(--primary-color);
	1padding: 0 5px;
}

.calcul_4_1 {
	display: none;
}

.calcul_5 {
	font-size: 14px;
}

.label2 {
	color: #777;
}
.input_ss:hover {
	background-color: rgba(255, 255, 255, 0.15);
}

.fee-buttons {
	display: flex;
	gap: 5px;
	margin-bottom: 10px;
}

.sf {
	font-size: 12px;
	color: #888;
	margin-top: 5px;
}

.tx_hex_actively {
	display: flex;
	align-items: center;
	gap: 10px;
	padding:px;
	border-radius: 4px;
	word-break: break-all;
}

.tx_hex {
	flex: 1;
	box-shadow: var(--shadow);
	border-radius: 4px;
	padding:15px;
	border: 1px solid rgba(255, 255, 255, 0.02);
	margin-bottom:15px;
	display: inline-block;
	font-family: monospace;
	color:#777;
	word-break: break-all;
	font-size: 14px;
	margin-top:20px;
	background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
}

.copy2 {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	position:absolute;
	right:-30;
	top:93;
}

.bottom_text {
	font-size: 14px;
	line-height: 1.2;
	color: #4f4f4f;
	margin-top: 30px;
}

.bottom_text a {
	color: var(--primary-color);
	text-decoration: none;
}

.bottom_text a:hover {
	text-decoration: underline;
}

.generate:hover {
	background-color: #6a6ec9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.panel {
		padding: 50px;
		margin: 10px;
	}
	
	.form-row {
		flex-direction: column;
		gap: 15px;
	}
	
	.form-row .form-group {
		min-width: 100%;
	}
	
	.fee-buttons {
		flex-wrap: wrap;
	}
	
}

@media (max-width: 480px) {
	.panel {
		padding: 15px;
	}
	
	.calcul_1 {
		position: static;
		margin-bottom: 10px;
		display: inline-block;
	}
}

.tx_hex_actively {
	display:none;
}

.calculator-btn {
	bottom: 20px;
	right: 20px;
	background-color:#3d4085;
	color: white;
	border: none;
	border-radius: 10px;
	width: 44px;
	height: 44px;
	font-size: 1px;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}
.calculator-popup {
	bottom: 10px;
	right: 20px;
	width: 200px;
	background: #1b1c20;
	border-radius: 6px;
	box-shadow: 0px -1px 4px 1px #000;
	padding: 20px;
	z-index: 1000;
}
.close-btn {
	position: relative;
	float:right;
	top: -20px;
	right: -20px;
	background: none;
	border: none;
	font-size: 30px;
	cursor: pointer;
	color:#494949;
}
.copy_fees {
	cursor:pointer;
	color:#908c8c;
	margin-right:5px;
	margin-top:5px;
	border-radius:3px;
	text-align:left;
	font-size: 14px;
	border: 0.5px solid #2d2d2d;
	border-radius: 4px;
	background-color:#18171d;
	padding:3px 9px;
	display: inline-block;
}
.label {
	font-family: monospace;
	color: #777;
	margin-top: 0px;
	margin-left: 0px;
	font-size: 14px;
}
.input_ss {
	font-weight:normal;
}
.spinner {
	display: none;
	height: 50px;
	width: 50px;
	border-left: 3px solid #775fa8;
	border-bottom: 3px solid #5f6ea8;
	border-right: 3px solid #5f6ea8;
	border-top: 3px solid transparent;
	border-radius: 50%;
	animation: spinner 1s linear infinite;
	margin-left:47%;
	margin-top:20px;
	margin-bottom:60px;
}

.custom-block {
	font-family: 'Roboto', sans-serif;
	font-family: monospace;
	border-radius: 4px;
	1border: 1px solid #2d2d2d;
	font-size: 14px;
	margin-left:-13px;
	margin-top:3px;
}

.full-width-row {
	padding: 8px 15px;
	1border-bottom: 1px dashed #2d2d2d;
	color: #777;
	font-size: 14px;
}

.three-columns-row {
	display: flex;
}

.column {
	flex: 1;
	padding: 8px 15px;
	position: relative;
}

.column:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 8px;
	bottom: 8px;
	width: 1px;
	border-right: 1px dashed #2d2d2d;
}

.column-header {
	font-size: 12px;
	margin-bottom: 4px;
	color: #4d4d4d;
}

.column-data {
	font-size: 13px;
	color:#797979;
}
.column.narrow {
	flex: 0.3;
}
.column.max {
	flex: 1.3;
}
.generate {
    background: linear-gradient(#414c91, #253074);
}

.calculator-popup h3 {
	margin-top: 0;
	font-size: 14px;
}

.input-group {
	margin-bottom: 15px;
}

.input-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}

.input-group input {
	width: 100%;
	padding: 8px;
	border: 0px solid #ddd;
	border-radius: 4px;
	color:#ddd;
	box-sizing: border-box;
}
.input_ss_button {
	font-family: 'Roboto', sans-serif;
	font-family: monospace;
	font-weight: normal;
	border: 1px solid #252323;
    color: #8f8f8f;
    height: 1.8em;
    border-radius: 0.3em;
    background-color: #121212;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
	background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
	cursor: pointer;
}
.input_ss_button:hover {
	background: linear-gradient(#2f355b, #253074);
}
input, textarea {
    size: 30;
    background-color: #0e0e0e;
}

.eth-calculator-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color:#3d4085;
	color: white;
	border: none;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	font-size: 1px;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}

.eth-calculator-popup {
	position: fixed;
	bottom: 10px;
	right: 20px;
	width: 300px;
	background-color: #232323;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	padding: 20px;
	z-index: 1000;
}

.eth-calculator-popup h3 {
	margin-top: 0;
	color: #627eea;
}

.eth-input-group {
	margin-bottom: 15px;
}

.eth-input-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 14px;
}

.eth-input-group input {
	width: 100%;
	padding: 8px;
	border: 0px solid #ddd;
	border-radius: 4px;
	color:#ddd;
	box-sizing: border-box;
}

.eth-close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: #999;
}

.eth-unit-selector {
	display: flex;
	margin-bottom: 10px;
	margin-top: 10px;
}

.eth-unit-selector button {
	flex: 1;
	padding: 6px;
	border: 0.5px solid #8b8b8b;
	background: #a9a9a9;
	cursor: pointer;
	font-size: 12px;
}

.eth-unit-selector button.active {
	background: #627eea;
	color: white;
	border-color: #627eea;
}

.eth-unit-selector button:first-child {
	border-radius: 4px 0 0 4px;
}

.eth-unit-selector button:last-child {
	border-radius: 0 4px 4px 0;
}