* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.container {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  color: #333;
  font-size: 2.5em;
}

.converte-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.currency-row {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: end;
}

.currency-input {
  flex: 2;
}

.currency-select {
  flex: 1;
}

input,
select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0ee;
  background: #f8f9fa;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  text-align: left;
}

.converter-btn {
  padding: 15px 30px;
  border: none;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 18px;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
  font-weight: 600;
}

.converter-btn:hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.loading {
  margin: 20px;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

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

.info {
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}

.result {
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  margin-top: 30px;
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 12px;
  display: none;
}

.erro {
  background: linear-gradient(45deg, #ff4e50 0%, #f9d423 100%);
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
  display: none;
}
.logo {
  width: 120px;
  max-width: 100%;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 50%;
  border: 4px solid #667eea;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 10px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}


