body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

.converter-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
	container-type: inline-size;
	container-name: converter-card;
	max-width: 900px;
	margin: 0 auto;
}
.is-style-dark .converter-card *{
	color: rgb(33, 37, 41);
}
.section-block_block.is-style-dark .converter-card *, .secondary-hero_block.is-style-dark .converter-card *, .sticky-bar_block.is-style-dark .converter-card *{
	color: rgb(33, 37, 41);
}
.amount-input-section {
    display: flex;
    justify-content: center;
}

.amount-wrapper {
    position: relative;
    width: 100%;
   
}
.flex-items{
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}
.amount-input-container {
    position: relative;
    display: flex;
    align-items: center;
	justify-content: center;
    background: #f8f9fa;
    width: 100%;
    padding: 1rem;
	text-align: center;
	font-size: 2rem;
	color: black;
    transition: border-color 0.2s ease-in-out;
}

.amount-input-container:focus-within {
    font-size: 2rem;
	color: black;
}

.currency-symbol {
	font-size: 2rem;
	font-weight: 500;
	color: black;
    margin-right: 0.5rem;
}

.amount-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1.25rem;
    padding: 0;
    outline: none;
	font-weight: 500;
	font-size: 2rem;
	color: black;
	text-align: center;
}

.currency-code {
    font-weight: 500;
    color: black;
    margin-left: 0.5rem;
	position: absolute;
	right: 24px;
}
@container (max-width: 400px) {
	.currency-code {
		right: 12px;
	}
	.amount-input{
		text-align: left;
	}
}
.currency-section {
    margin-top: 2rem;
}

.currency-card {
    
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
}
.currency-card-body{
	border: 2px solid #eee;
	border-radius: 12px;
}
.currency-card-header {
    margin-bottom: 1rem;
}

.currency-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flag-wrapper {
    width: 36px;
    height: 36px;
	margin: 8px;
    /* border-radius: 50%; */
    overflow: hidden;
}

.flag-img {
    width: 100%;
    height: 100%;
	
    object-fit: contain;
}

.currency-details h3 {
    font-size: 1rem;
    margin: 0;
    color: #495057;
}

.amount-display {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-top: 0.25rem;
}

.amount-display.highlight {
    color: #00A3E1;
}

.switch-currencies-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.switch-button {
    width: 64px;
    height: 64px;
    border:none;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-button:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.switch-icon {
    font-size: 2rem;
    color: #00A3E1;
}

.animate-swap {
    animation: swap 0.5s ease-in-out;
}

@keyframes swap {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(180deg); }
}

.exchange-rate-card,
.comparison-card {
    background: none;
    border-radius: 1rem;
    padding: 1.5rem;
}
.exchange-rate-card{
	background: #f8f9fa;
	text-align: center;
}
#exchange-rate-display{
	color: #00A3E1;
}
.exchange-rate-header,
.comparison-header {
    margin-bottom: 1rem;
}
.comparison-header h3{
	margin-bottom: 0;
}
.comparison-header i{
	font-size: 1.5rem;
}
.loading-spinner .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e9ecef;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.rate-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rate-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}

.trend {
    display: flex;
    align-items: center;
}

.trend-arrow {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.trend-arrow.visible {
    opacity: 1;
}

.trend-arrow.up {
    color: #198754;
}

.trend-arrow.down {
    color: #dc3545;
    transform: rotate(180deg);
}

.comparison-table {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
	font-size: 1.25rem;
}

.comparison-row {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.comparison-row:last-child {
    border-bottom: none;
}

/* .header-row {
    font-weight: 600;
}

.best-rate {
    
    font-weight: 600;
} */

.extra-amount {
    color: #dc3545;
}

.highlight-provider {
    background-color: rgba(0, 163, 225, 0.1);
    font-weight: 600;
}
.highlight-provider .extra-amount{
	color: #00A3E1;
}
/* .highlight-provider .col-2 {
	color: #00A3E1;
} */
 @media (max-width: 768px) {
	.converter-card{
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
 }
@container (max-width: 768px) {

	.comparison-table {
		font-size: 1rem;
	}
	.currency-cards{		
		.col-md-2{
			width: 100%;
		}
		.col-md-5{
			width: 100%;
		}
		
	}
	.switch-icon{
		transform: rotate(90deg);
	}
	.amount-input{
		max-width: 200px;
	}
    .converter-card {
        padding: 1rem;
    }
    
    .currency-section .row {
        flex-direction: column;
    }
    
    .switch-currencies-wrapper {
        margin: 0rem 0;
    }
	.currency-card{
		padding: 0;
	}
	.exchange-rate-card, .comparison-card{
		padding: 1rem 0rem;
	}
	.converter-card{
		padding: 1rem 0;
	}
	.currency-card-header{
		margin-bottom: 0rem;
	}
}
