*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
}
.wallet_sec{
	background-color: #f5f5f7;
	padding: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}
.wallet_sec .text_center{
	text-align: center;
}
.wallet_sec .sub_title{
	color: #797986;
}
.wallet_sec .text_red{
	color: #ef4444;
}
.wallet_sec .text_green{
	color: #22c55e;
}
.wallet_sec .wallet_container{
	box-shadow: 0 10px 40px -10px #673ab626;
	color: #22222a;
	background-color: white;
	width: 100%;
	max-width: 448px;
	border-radius: 24px;
	border: 1px solid #e0e0eb80;
	padding: 32px 24px 24px;
}
.wallet_sec .form_header{
	display: flex;
	justify-content: end;
	margin-bottom: 24px;
}
.wallet_sec .form_header .form_logo{
	width: 100%;
	max-width: 200px;
}
.wallet_sec .form_header .form_col{
	width: 33.333334%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wallet_sec .form_header .btn_col{
	justify-content: end;
}
.wallet_sec .wallet_btn{
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	border: none;
	outline: none;
	cursor: pointer;
	background: none;
}
.wallet_sec .wallet_btn svg{
	width: 16px;
	height: 16px;
	display: block;
}
.wallet_sec .wallet_btn:hover{
	background-color: #66c7ff;
	color: white;
}
#logout_button:not(.active) {
	display: none;
}
.wallet_sec .wallet_box_cont{
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.wallet_sec .wallet_box{
	padding: 16px;
	background-color: #f0f0fa4d;
	border-radius: 12px;
}
.wallet_sec .form_label{
	display: block;
	width: 100%;
	font-size: 12px;
	line-height: 16px;
	color: #797986;
	text-transform: uppercase;
}
.wallet_sec .wallet_box_header:hover .toggle_btn{
	background-color: #66c7ff;
	color: white;
}
.wallet_sec .copy_cont{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
}
.wallet_sec .copy_cont #user_email{
	font-size: 16px;
	font-weight: 500;
}
.wallet_sec .copy_cont #user_topup_adress{
	font-size: 14px;
}
.wallet_sec .wallet_box_header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 5px;
}
.wallet_sec .wallet_box_header,
.wallet_sec .wallet_box_header *{ cursor: pointer; }
.wallet_sec .toggle_btn{
	min-width: 24px;
	width: 24px;
	height: 24px;
	transition: 0.15s cubic-bezier(.4,0,.2,1);
}
.wallet_sec .wallet_box.active .toggle_btn{
	transform: rotate(180deg);
}
.wallet_box .wallet_summary_amount{
	color: black;
	font-weight: 700;
	font-size: 36px;
	line-height: 40px;
}
.wallet_sec .wallet_detail_list{
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
}
.wallet_sec .wallet_box:not(.active) .wallet_detail_list{
	display: none;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__item{
	padding: 8px 0;
	border-top: 1px solid #e0e0eb80;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.wallet_sec .wallet_detail_list--transactions .wallet_detail_list__item{
	padding: 0;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__item-btn{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 8px 0;
	background: none;
	border-radius: 0;
	border: none;
	outline: none;
	cursor: pointer;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__item-btn:hover{
	background-color: #f0f0fa33;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__item-btn .status{
	font-size: 12px;
	line-height: 16px;
	padding: 4px 8px;
	border-radius: 4px;
	color: #ea580c;
	background-color: #f9731633;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__details p{
	font-size: 12px;
	line-height: 16px;
	color: #797986;
	font-weight: 400;
	margin-top: 4px;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__details{
	margin-top: 4px;
	padding: 0 8px 8px;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__item-btn .completed{
	color: #16a34a;
	background-color: #22c55e33;
}
.wallet_sec .wallet_detail_list:not(.wallet_detail_list--transactions) .wallet_detail_list__item .wallet_detail_list__label{
	width: 50%;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__item .wallet_detail_list__label.wallet_detail_list__value{
	text-align: right;
}
.wallet_sec .wallet_detail_list--transactions .wallet_detail_list__item .wallet_detail_list__label{
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}
.wallet_sec .wallet_detail_list .wallet_detail_list__item .wallet_detail_list__value{
	font-weight: 400;
	font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
}
.wallet_sec .form_fields{
	padding-top: 24px;
}

.wallet_sec .transaction_fees_list{
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
}

.wallet_sec .transaction_fees_list .wallet_detail_list__item{
	padding: 8px 0;
	border-top: 1px solid #e0e0eb80;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.wallet_sec .wallet_box:not(.active) .transaction_fees_list{
	display: none;
}

/* Empty assets message styling and visibility */
.wallet_sec .wallet_box .empty_assets,
.wallet_sec .wallet_box .empty_transactions{
	margin-top: 16px;
	font-size: 14px;
	line-height: 20px;
	color: #797986;
	text-align: center;
	background-color: #f0f0fa4d;
	padding: 12px;
	border-radius: 8px;
}
.wallet_sec .wallet_box:not(.active) .empty_assets,
.wallet_sec .wallet_box:not(.active) .empty_transactions{
	display: none;
}
/* Control visibility of assets vs empty state without inline styles */
.wallet_sec .wallet_assets #wallet_empty_assets{ display: none; }
.wallet_sec .wallet_assets.empty #wallet_empty_assets{ display: block; }
.wallet_sec .wallet_assets.empty #wallet_assets_list{ display: none; }
.wallet_sec .wallet_transactions #wallet_empty_transactions{ display: none; }
.wallet_sec .wallet_transactions.empty #wallet_empty_transactions{ display: block; }
.wallet_sec .wallet_transactions.empty #wallet_transactions_list{ display: none; }
.wallet_sec .form_fields .form_field_cont{
	padding-top: 16px;
}
.wallet_sec .form_fields .form_field_cont label{
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	display: block;
	margin-bottom: 8px;
}
.wallet_sec .form_fields .form_field_cont .input_field{
	font-size: 14px;
	line-height: 20px;
	background-color: #f0f0fa4d;
	padding: 8px 12px;
	border: 1px solid #f3f3fc;
	display: block;
	width: 100%;
	border-radius: 12px;
	height: 40px;
	color: #22222a;
	outline: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

/* Focus ring for specific wallet inputs */
.wallet_sec .form_fields .form_field_cont .input_field:focus{
    border-color: #66c7ff;
    box-shadow: 0 0 0 3px rgba(77, 190, 255, 0.25);
    background-color: #ffffff;
}
.wallet_sec .form_fields_row{
	display: flex;
	gap: 8px;
}
.wallet_sec .form_fields_row .col_1{
	width: 100%;
}
.wallet_sec .form_fields_row .col_2{
	width: 128px;
	min-width: 128px;
}
/* Improve native select spacing and custom arrow (fallback for non-supporting browsers) */
.wallet_sec .form_fields .form_field_cont select{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 40px; /* room for the arrow */
    /* Lucide chevron-down to match panel toggle */
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%2322222a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center; /* move arrow a bit left */
	background-size: 16px;
}
/* Experimental: enable base-select appearance if supported */
@supports (appearance: base-select) {
	/* Opt-in both select and its picker to base-select */
	.wallet_sec .form_fields .form_field_cont select,
	.wallet_sec .form_fields .form_field_cont ::picker(select) {
		appearance: base-select;
	}

	/* Hide UA picker icon; we provide our own chevron inside the button */
	.wallet_sec .form_fields .form_field_cont select::picker-icon{
		display: none;
	}

	/* Custom picker border */
	.wallet_sec .form_fields .form_field_cont ::picker(select){
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		background-color: white;
		box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
	}

	/* Swap the background chevron to an up arrow when open (simple image swap) */
	.wallet_sec .form_fields .form_field_cont select:open{
		background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m18 15-6-6-6 6' stroke='%2322222a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	/* Option customization */
	.wallet_sec .form_fields .form_field_cont select option{
		color: #22222a;
		background-color: white;
		padding: 8px 10px;
	}
	.wallet_sec .form_fields .form_field_cont select option:hover{
		color: white;
		background-color: #66c7ff;
	}
}
.wallet_sec .submit_btn{
	margin-top: 16px;
	padding: 16px 32px;
	border: 1px solid #bbbbbb;
	outline: none;
	font-size: 16px;
	font-weight:500;
	color: white;
	background-color: #4dbeff;
	border-radius: 50px;
	display: block;
	width: 100%;
	line-height: 1;
	cursor: pointer;
    transition: transform 0.06s ease, filter 0.06s ease, box-shadow 0.06s ease;
}
.wallet_sec .submit_btn:hover{
	background-color: #66c7ff;
}
.wallet_sec .submit_btn:active{
    transform: translateY(1px);
    filter: brightness(0.95);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}
.wallet_sec .submit_btn:disabled{
	opacity: 0.7;
	cursor: not-allowed;
}
.wallet_sec .submit_btn.loading{
	position: relative;
	padding-left: 48px; /* room for spinner */
}
.wallet_sec .submit_btn.loading::before{
	content: "";
	position: absolute;
	left: 20px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.5);
	border-top-color: #ffffff;
	animation: wallet_spin 0.8s linear infinite;
}
@keyframes wallet_spin {
	to { transform: rotate(360deg); }
}
.wallet_sec .submit_btn.altered{
	color: black;
	background-color: white;
}
.wallet_sec .submit_btn.altered:hover{
	background-color: #f0f4f9;
}
.notice_box{
	padding: 24px 32px 24px 24px;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
	background-color: #f3f3fc;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	position: fixed;
	bottom: 16px;
	right: 16px;
	width: 100%;
	max-width: 388px;
	transition: 0.15s;
}
.notice_box:not(.active){
	transform: translate(150%);
}
.notice_box .close_icon{
	position: absolute;
	right: 8px;
	top: 8px;
	width: 24px;
	height: 24px;
	padding: 4px;
	cursor: pointer;
	color: #22222a80;
	opacity: 0;
}
.notice_box:hover .close_icon{
	opacity: 1;
}
.notice_box .close_icon:hover{
	color: #22222a;
}
.notice_box .notice_head,
.notice_box .notice_body{
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: #22222a;
	margin-bottom: 4px;
}
.notice_box .notice_body{
	font-weight: 400;
	margin: 0;
}
.notice_box.error{
	background-color: #fee2e2;
	border-color: #fecaca;
}
.notice_box.error .notice_head,
.notice_box.error .notice_body,
.notice_box.error .close_icon{
	color: #7f1d1d;
}
.notice_box.success{
	background-color: #dcfce7;
	border-color: #bbf7d0;
}
.notice_box.success .notice_head,
.notice_box.success .notice_body,
.notice_box.success .close_icon{
	color: #166534;
}
