/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body */
body {
  background-color: #f5f6fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #1a237e, #00838f);
  color: white;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Main container */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

/* Card */
.card {
  background-color: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Input field */
input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* Currency selector buttons */
.row {
  display: flex;
  gap: 10px;
}

.selectBtn {
  flex: 1;
  padding: 12px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #e3f2fd;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
}

.selectBtn:hover {
  background-color: #bbdefb;
}

/* Convert button */
#convertBtn {
  padding: 14px;
  border-radius: 10px;
  background-color: #1976d2;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#convertBtn:hover {
  background-color: #1565c0;
}

/* Result card */
.result {
  background-color: #e8f5e9;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Play Store button */
.playBtn {
  display: block;
  margin-top: 15px;
  text-decoration: none;
  padding: 12px;
  text-align: center;
  background-color: #0f9d58;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.playBtn:hover {
  background-color: #0b8043;
}

/* Dialog overlay */
.dialog {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

/* Dialog box */
.dialog-box {
  background-color: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Dialog input */
.dialog-box input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

/* Currency list in dialog */
.dialog-box ul {
  max-height: 300px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 8px;
}

.dialog-box li {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dialog-box li:hover {
  background-color: #f1f1f1;
}

/* Cancel button */
.dialog-box button {
  align-self: flex-end;
  padding: 8px 15px;
  border: none;
  border-radius: 8px;
  background-color: #e53935;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dialog-box button:hover {
  background-color: #b71c1c;
}

/* Utility */
.hidden {
  display: none;
}




/* App Notes Section */
.app-notes {
  background-color: #fff;
  margin: 20px auto;
  padding: 25px;
  border-radius: 12px;
  max-width: 800px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  line-height: 1.6;
  color: #333;
  font-size: 0.95rem;
}

.app-notes h2, .app-notes h3 {
  color: #1a237e;
  margin-bottom: 10px;
}

.app-notes h2 {
  font-size: 1.4rem;
  margin-top: 15px;
}

.app-notes h3 {
  font-size: 1.1rem;
  margin-top: 12px;
}

.app-notes p {
  margin-bottom: 12px;
}

.app-notes ol, .app-notes ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.app-notes li {
  margin-bottom: 8px;
}


footer { background:#111; color:white; padding:50px; }
.footer-content { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:30px; margin-bottom:30px; }
.footer-column h3 { margin-bottom:15px; }
.footer-bottom { text-align:center; font-size:14px; opacity:0.7; }

.social-icons a img { width:24px; margin-right:10px; }


.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #222;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
}

.social-icons img {
  width: 20px;
  filter: invert(1);
}

.social-icons a:hover {
  background: #2196F3;
  transform: translateY(-4px);
}


.social-icons a:nth-child(1):hover { background:#1877F2; } /* Facebook */
.social-icons a:nth-child(2):hover { background:#000000; } /* TikTok */
.social-icons a:nth-child(3):hover { background:#E1306C; } /* Instagram */



