#upi-calculator {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
}

.calculator-container {
    background: rgba(251, 249, 245, 1);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.calculator-title {
    font-size: 26px;
    font-weight: 400;
    color: #1f2937;
    margin: 0 0 24px 0;
    text-align: center;
	font-family: "tiempos-text-regular", serif;
}

.input-section {
    margin-bottom: 20px;
}
.currency-input.source {
    background: #fff;
    border: 2px solid rgba(33, 39, 33, 1);
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.2s ease;
}
.currency-input {
    margin-bottom: 16px;
	background: #f9fafb;
    display: flex;
	align-items: center;
	justify-content: space-between;
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.2s ease;
}
.currency-input-inner{
	flex-grow: 1;
	max-width: 78%;
}
.currency-input label {
    display: block;
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 500;
	
}

.amount-input {
    position: relative;
    display: flex;
    align-items: center;

}

.amount-input:focus-within {
    /* border-color: #3b82f6;
    background: #ffffff; */
}

.currency-symbol {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-right: 8px;
}

.amount {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    outline: none;
	font-family: haffer, sans-serif;

}

.amount::placeholder {
    color: #9ca3af;
}

.currency-flag {
    font-size: 14px;
    font-weight:500;
    color: #000;
    white-space: nowrap;
	padding: 8px 8px;
	border-radius: 16px;
}
.currency-flag.cad{
	background: rgb(237, 238, 237);
}
.currency-flag.inr{
	background: rgb(255, 255, 255);
}

.recipient {
    background: rgb(238, 236, 232);
    border-radius: 8px;
    padding: 16px;
}

.recipient .amount-input {
}

.recipient .amount {
    color: #1f2937;
    font-weight: 700;
}

.rate-info {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
	flex-direction: column;
    margin: 20px 0;
	gap: 12px;
	text-align: center;
 
}

.live-rate {
    font-size: 14px;
    color: rgba(8, 21, 23, 1);
    font-weight: 600;
	padding: 6px 6px;
    background: #ecfdf5;
    border-radius: 8px;
}

.service-fee {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
	background: #fff;
	border-radius: 8px;
	padding: 6px 6px;
}

#exchange-rate {
    color: rgba(8, 21, 23, 1);
}

#service-fee {
    color: #1f2937;
    font-weight: 600;
}

.transfer-btn {
    width: 100%;
    background: rgba(28, 73, 81, 1);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.transfer-btn:hover {
    background: rgba(28, 73, 81, 1);
}

.transfer-btn:active {
    background: rgba(28, 73, 81, 1);
}

.loading-indicator {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-top: 12px;
    padding: 8px;
}

.loading-indicator::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Input focus states */
.amount:focus {
    outline: none;
}

/* Error state */
.amount-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.amount-input.error:focus-within {
    border-color: #dc2626;
}

/* Success state */
.amount-input.success {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Responsive design */
@media (max-width: 480px) {
    #upi-calculator {
        padding: 12px 0;
    }
    
    .calculator-container {
        padding: 16px;
    }
    
    .rate-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .amount {
        font-size: 16px;
    }
    
    .currency-symbol {
        font-size: 16px;
    }
}
.calculator-subtitle{
	display: none;
}
@media (max-width: 480px) {
	.calculator-title{
		font-size: 24px;
	}
	.calculator-subtitle{
		display: block;
		font-size: 20px;
		color: #212721;
		font-weight: 700;
		margin-bottom: 16px;
		text-align: left;
	}
	.live-rate{
		font-size: 12px;
	}
	.service-fee{
		font-size: 10px;
	}
}	
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .amount-input,
    .transfer-btn,
    .loading-indicator::after {
        transition: none;
        animation: none;
    }
} 