/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* 🔹 Main container (design only here) */
.container {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  color: #fff;
  min-height: 100vh; /* full page height */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 🔹 Converter box inside container */
.converter-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 90%;
  max-width: 420px;
  animation: slideUp 0.8s ease;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

h1 {
  margin-bottom: 20px;
  text-align: center;
}

/* 🔹 Input, select, button styling */
.converter-box input,
.converter-box select,
.converter-box button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

.converter-box input {
  text-align: center;
}

.converter-box select {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  outline: none;
  cursor: pointer;
}

/* 🔹 Flag + select layout */
.select-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 5px 10px;
}

.select-box img {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

/* 🔹 Convert button */
.converter-box button {
  background: #00c6ff;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.converter-box button:hover {
  background: #0072ff;
}

/* 🔹 Dropdown layout */
.dropdowns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* 🔹 Result text */
#result {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  min-height: 24px;
}

/* 🔹 Footer */
footer {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.8;
  text-align: center;
  color: #fff;
}

.custom-link {
    margin-right: auto;
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(38, 50, 56, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    font-family: Arial, sans-serif;
  }

  .custom-link:hover {
    background: linear-gradient(45deg, #2575fc, #6a11cb);
    box-shadow: 0 6px 20px rgba(38, 50, 56, 0.5);
    text-decoration: none;

  }
