/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 0;
  background:linear-gradient(135deg, #87CEEB, #4682B4);
  border-radius: 15px;
  color: white;
  box-shadow: 0 8px 32px rgba(70, 130, 180, 0.3);
}

header h1 {
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.hidden {
  display: none !important;
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #1e293b;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}



.subtitle {
  color: white;
  margin-top: 8px;
  font-size: 1rem;
}

main {
  display: block;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
  animation: fadeIn 0.8s ease-out;
}

footer {
  text-align: center;
  padding: 16px 0;
  color: #64748b;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
/*   .container {
		padding: 5px !important;
	} */
  header { margin-bottom: 48px; }
  main { gap: 48px; }
	
}

@media (min-width: 1024px) {
/*   .container { padding: 48px; } */
  main {
    flex-direction: row;
    align-items: flex-start;
  }
  .calculator-card, .results-card { flex: 1; }
  .results-card { margin-top: 0; }
}

@media (max-width: 767px) {
  h1 { font-size: 35px !important; }
  .subtitle { font-size: 0.875rem; }
  .button-group { flex-direction: column; }
  .button-group .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
  }
  .button-group .btn:last-child { margin-bottom: 0; }
	 .container {
		padding: 5px !important;
	}
.e-con{
		padding:5px !important;
	}
}
 

.calculator-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 300ms ease;
  animation: fadeIn 1s ease-out;
}

.calculator-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.currency-selector {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.currency-selector label {
  color: #475569;
  font-weight: 500;
}

.currency-selector select {
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: white;
  color: #1e293b;
  cursor: pointer;
  transition: all 150ms ease;
}

.currency-selector select:hover,
.currency-selector select:focus {
  border-color: #3a86ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

.toggle-container {
  background:linear-gradient(135deg, #87CEEB, #4682B4);
  padding: 16px;
  text-align: center;
}

.toggle-wrapper {
  display: inline-flex;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 4px;
}

.toggle-btn {
  border: none !important;
  background: transparent !important;
  color: white !important;
  padding: 8px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 150ms ease;
}

.toggle-btn.active {
  background-color: white !important;
  color: #3a86ff !important;
  font-weight: 600;
}

.calculator-body { padding: 24px; }

.calculator-form { display: none; }
.calculator-form.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.input-group { margin-bottom: 16px; }

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #334155;
}

.input-wrapper { position: relative; }

.currency-symbol {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input-wrapper input {
  padding-left: 32px;
	  font-family: inherit !important;
}

input:focus {
  outline: none;
  border-color: #3a86ff;
  box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

.button-group {
  display: flex;
  margin-top: 24px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
}

.btn.primary {
  background:linear-gradient(135deg, #87CEEB, #4682B4);
  color: white;
  margin-right: 12px;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn.primary:active {
  transform: translateY(0);
}

.btn.secondary {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
}

.btn.secondary:hover {
  background-color: #e2e8f0;
}

.results-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 24px;
  margin-top: 32px;
  transition: transform 300ms ease, box-shadow 300ms ease;
  animation: fadeIn 1s ease-out;
}

.results-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.results-header h2 {
  margin-bottom: 0;
}

.copy-btn {
  background: transparent !important;
  border: none !important;
  color: #3a86ff !important;
  cursor: pointer !important;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 150ms ease;
}

.copy-btn:hover {
  background-color: #f1f5f9 !important;
}

.results-content {
  animation: fadeIn 0.3s ease-out;
}

.results-content h3 {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 8px;
}

.result-value {
  font-size: 2rem;
  font-weight: 600;
  color: #3a86ff;
  margin-bottom: 12px;
}

.result-explanation {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pulse-animation {
  animation: pulse 0.5s ease-in-out;
}
