@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url(./basic-elements.css);
@import url(./body.css);
@import url(./footer.css);
@import url(./navbar.css);
@import url(./trades.css);
@import url(./nft.css);
@import url(./slideshow.css);

.modal{
    font-family: Kanit, sans-serif;
}

.modal-header {
    padding: 12px 24px;
	border: none;
}

.modal-body {
    padding: 5px 24px;
}

.modal-content{
	border-radius:32px;
	border:none;
}

.head_currency{
	display:flex;
	align-items:center;
}

.head_currency img{
	width:24px;
	height:24px;
}

.head_currency label{
	color: #280d5f;
    font-weight: 600;
    line-height: 1.5;
    padding: 2px 6px;
    font-size: 16px;
	text-transform: uppercase;
}

.head_currency span {
    margin: 0 10px 0 7px;
}

.modal button.btn-close {
    color: #7a6eaa;
    opacity: 1;
    background: none;
	display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 24px;
    height: 24px;
}

.search_select_token{
	display:flex;
	flex-direction:column;
	gap:16px;
}

.search_select_token input{
	background-color: #eeeaf4;
    border-radius: 16px;
    box-shadow: inset 0px 2px 2px -1px rgba(74, 74, 104, 0.1);
    color: #280d5f;
    display: block;
    font-size: 16px;
    height: 48px;
    outline: 0px;
    padding: 0px 16px;
    width: 100%;
    border: 1px solid #d7caec;
}

.search_select_token input::placeholder{
	color:#7a6eaa;
}

.select-token-sec{
	display:flex;
	flex-direction:column;
	gap:8px;
}

.select-token-sec label{
	color: #7a6eaa;
    font-weight: 400;
    line-height: 1.5;
    font-size: 14px;
}

.select-tokens {
    display: flex;
    gap: 10px;
	flex-wrap: wrap;
}

.select-tokens div{
	border: 1px solid #f6f6f6;
    border-radius: 20px;
    padding: 2px 6px 2px 2px;
    display: flex;
    align-items: center;
    background-color: #eff4f5;
    transition: background-color 0.15s;
	gap: 6px;
	color: #280d5f;
    font-weight: 400;
    font-size: 16px;
	cursor: pointer;
	text-transform: uppercase;
}

.select-tokens div svg,
.select-tokens div img{
	width:24px;
}

.token_list{
	margin:0 -24px;
	height: 390px;
    overflow: auto;
}

.token_item{
	display:flex;
	align-items:center;
	padding:5px 24px;
	gap: 10px;
	cursor: pointer;
}

.token_item:hover{
	background:#faf9fa;
}

.token_item img {
    width: 28px;
	border-radius:50%;
}

.item_name {
    display: flex;
    flex-direction: column;
}

.item_name label{
	color: #280d5f;
    font-weight: 600;
    line-height: 1.5;
    font-size: 16px;
	text-transform:uppercase;
	cursor: pointer;
}

.item_name span{
	color: #7a6eaa;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    font-size: 14px;
}

.token_item svg {
    margin-left: auto;
}

.modal-footer {
    justify-content: center;
	padding: 20px;
    border: none;
}

.modal-footer button{
	font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0px 16px;
    background-color: transparent;
    color: #1fc7d4;
    box-shadow: none;
    margin: 0;
}

.modal-backdrop.show {
    background: #280d5f99;
    opacity: 1;
}

.settings_modal .modal-dialog{
	max-width:560px;
}

.settings_modal .modal-header{
	padding:12px 24px 0px 24px;
	position: relative;
    z-index: 1;
}

.settings_modal ul.nav {
	gap:12px;
}

.settings_modal ul.nav li button {
    background: transparent;
	padding:8px 12px;
	color: #7a6eaa;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
}

.settings_modal ul.nav li button.active{
	color:#280d5f;
	font-weight: 600;
}

.settings_modal ul.nav li button.active:before{
	content:'';
	position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 3px;
    background: #1fc7d4;
    width: 100%;
    border-radius: 2px 2px 0px 0px;
}

.settings_modal .modal-body{
	border-top: 1px solid #e7e3eb;
    margin-top: -1px;
	padding:24px;
}

label.swaphead{
	color: #7645d9;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-size: 12px;
}

.def_speed_sec span{
	color: #280d5f;
    font-weight: 400;
    line-height: 1;
    font-size: 16px;
	margin:0 0 10px 0;
	display: flex;
    align-items: center;
    gap: 5px;
}

.def_speed_select {
    display: flex;
    align-items: center;
    gap: 4px;
	flex-wrap: wrap;
}

.def_speed_select button{
	border-radius: 12px;
    height: 40px;
    color: #02919d;
    border: 2px solid #1fc7d4;
	font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
	padding: 0px 16px;
    background-color: transparent;
}

.def_speed_select button.active {
    background: #1fc7d4;
    color: #fff;
    box-shadow: rgba(14, 14, 44, 0.4) 0px -1px 0px 0px inset;
    border: none;
}

.slippage_select {
    display: flex;
    align-items: center;
    background-color: #eeeaf4;
    border-radius: 16px;
    padding: 1px;
    width: fit-content;
	gap: 4px;
	padding-right: 8px;
}

.slippage_select button{
	border: 0px;
    border-radius: 16px;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.03em;
    transition: background-color 0.2s, opacity 0.2s;
    background-color: #eeeaf4;
    box-shadow: none;
	padding:0px 16px;
	line-height:52px;
}

.slippage_select button.active{
	background:#7a6eaa;
	color: #fff;
	box-shadow:rgba(14, 14, 44, 0.4) 0px -1px 0px 0px inset;
}

.slippage_select_value {
    width: 82px;
    position: relative;
}

.slippage_select_value input{
	background-color: #eeeaf4;
    border-radius: 16px;
    box-shadow: inset 0px 2px 2px -1px rgba(74, 74, 104, 0.1);
    color: #280d5f;
    display: block;
    font-size: 16px;
    height: 40px;
    outline: 0px;
    padding: 0px 16px;
    width: 100%;
    border: 1px solid #d7caec;
    padding-right: 28px;
}

.slippage_select_value label{
	position: absolute;
    right: 10px;
    top: 8px;
    color: #7a6eaa;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
}

.warning{
	padding: 16px;
    border-radius: 16px;
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    margin-top: 8px;
    background: rgba(255, 178, 55, 0.098);
    border-color: #ffb237;
	display:flex;
	align-items:flex-start;
	gap:12px;
}

.warning_content {
    color: #280d5f;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
}

.warning_content button{
	background:transparent;
	color: #280d5f;
    font-weight: 600;
	text-decoration:underline;
}

.deadline_enter_det {
    width: 128px;
    position: relative;
}

.deadline_enter_det input{
	background-color: #eeeaf4;
    border-radius: 16px;
    box-shadow: inset 0px 2px 2px -1px rgba(74,74,104,0.1);
    color: #280d5f;
    display: block;
    font-size: 16px;
    height: 40px;
    outline: 0px;
    padding: 0px 16px;
    width: 100%;
    border: 1px solid #d7caec;
	padding-right:48px;
}

.deadline_enter_det input::placeholder{
	color: #7a6eaa;
}

.deadline_enter_det label {
    position: absolute;
    right: 10px;
    top: 50%;
    color: #7a6eaa;
    font-weight: 400;
    line-height: 1.2;
    font-size: 16px;
    border-left: 1px solid #d7caec;
    padding-left: 4px;
    transform: translateY(-50%);
}

.deadline_enter_sec {
    display: flex;
    gap: 8px;
    align-items: center;
}

.deadline_enter_sec button{
	border-radius: 12px;
    color: #02919d;
    border: 2px solid #1fc7d4;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 36px;
    padding: 0px 16px;
    background: transparent;
}

.modal .form-switch {
    padding-left: 0;
	width: 100%;
    float: left;
}

.modal .form-check .form-check-input{
	float: right;
    width: 56px;
    height: 32px;
    background-color: #eeeaf4;
    box-shadow: inset 0px 2px 2px -1px rgba(74, 74, 104, 0.1);
    border: none;
}

.modal .form-switch label{
	color: #280d5f;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
}

.modal .form-check .form-check-input:checked{
	background-color:#31d0aa;
}

.customrouting {
    width: 100%;
    margin: 15px 0 0;
    float: left;
}

.customrouting button {
    width: 100%;
    display: block;
    border-radius: 12px;
    line-height: 44px;
    color: #02919d;
    border: 2px solid #1fc7d4;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0px;
	background:transparent;
}

button.connect_wallet{
    border: 0px;
    border-radius: 16px;
    box-shadow: rgba(14, 14, 44, 0.4) 0px -1px 0px 0px inset;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 48px;
    padding: 0px 24px;
    background-color: #1fc7d4;
	color:#fff;
	width: 100%;
}

@media screen and (max-width:590.9px){
	.settings_modal .modal-body{
		padding:15px;
	}
	.settings_modal .modal-header{
		padding:12px 15px 0px 15px;
	}
	.settings_modal ul.nav{
		gap:0px;
	}
	.settings_modal ul.nav li button,
	.def_speed_select button{
		font-size:15px;
	}
	.slippage_select{
		flex-wrap:wrap;
		padding: 5px;
	}
	.slippage_select_value{
		width:100%;
	}
	.slippage_select button{
		font-size:15px;
		line-height:42px;
		padding:0px 12px;
	}
	.modal-header{
		padding:12px 15px;
	}
	.modal-body {
		padding: 5px 15px;
	}
	.select-tokens div{
		font-size:15px;
	}
	.warning svg {
		min-width: 24px;
	}
}

.wallet-balance {
    color: #7A6EAA;
    font-size: 12px;
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-thickness: initial;
    text-decoration-style: dotted;
    text-decoration-color: #7A6EAA;
    text-underline-offset: 0.1em;
}

.disabledButton {
    color: #bdc2c4;
    border: #e9eaeb;
    box-shadow: none;
    background: #e9eaeb;
    cursor: not-allowed;
}

.small-menu-button.paragraph:hover{
    cursor: pointer;
}

.liquidity-main-button {
    margin: 10px;
    justify-content: space-between;
}

.liquidity-image {
    margin-right: 10px;
}

.swap-spinning {
    margin-right: 10px;
}