
body {
font-family: 'Poppins', sans-serif;
background-color: #f8f9fa;
margin: 0;
padding: 0;
}

.container {
max-width: 400px;
width: 90%;
background: #fff;
margin: 40px auto;
padding: 25px;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

/* .imageContainer{
display: flex;
    align-items: center;
    justify-content: center;
} */
.imageLogo{
 width: 150px;}
    
.container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: url('./image/fmt watermaark.jpeg') center center / contain no-repeat; 
  /* use "contain" instead of "cover" to prevent zoom-in */
}

/* Overlay (but let clicks pass through) */
.container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  pointer-events: none;
  z-index: 1;
  
}

.calculator-content {
  position: relative;
  z-index: 2; /* ✅ ensures content appears above overlay */
  color: white;
  padding: 40px;
}

/* Example input fix */
select, input, button {
  position: relative;
  z-index: 3;

}

/* If needed */
#deviceType {
  z-index: 999;
}

h2 {
/* text-align: center; */
color: #222;
margin-bottom: 20px;
font-size: 17px;
margin-bottom: 30px;
}

label {
font-weight: 600;
display: block;
margin-top: 10px;
}
select{
   color: #616161;
   select {
  appearance: none; /* removes the default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;

  background: #f8f8f8 url("data:image/svg+xml;utf8,<svg fill='gray' height='12' width='12' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 12,0 6,6'/></svg>") no-repeat right 12px center;
  background-size: 12px;
  padding-right: 35px; /* add space for the arrow */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  height: 40px;
  width: 100%;
}

}

select, input {
width: 100%;
padding: 12px;
margin-top: 8px;
border-radius: 8px;
border: 1px solid #ccc;
font-size: 16px;
}

button {
width: 100%;
padding: 14px;
margin-top: 20px;
background: #007bff;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background 0.3s ease;
}

button:hover {
background: #0056b3;
}

.result {
background: #f1f1f1;
padding: 15px;
border-radius: 8px;
margin-top: 20px;
font-size: 15px;
}


.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.popup-content input {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
}

.popup-content button {
  padding: 8px 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background: #0056b3;
}

#message {
  margin-top: 8px;
  color: red;
  font-weight: bold;
}

/* Responsive for smaller screens */
@media (max-width: 480px) {
.container {
padding: 15px;
}
h2 {
font-size: 18px;
}
select, button {
font-size: 15px;
}
}