.pincode-lookup {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.pincode-heading {
    margin-top: 15px;
}
#pincode-result p, #loading {
 color: #003f5d;
    font-weight: 600;
    margin-top: 10px;
}
.input-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.input-wrapper input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
}

.input-wrapper button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  max-width: 30%;
}
.ifsc-error {
    color: red;
    font-weight: 600;
    text-align: center;
    margin: 10px auto;
}
/* Mobile responsive: stack input and button */
@media (max-width: 600px) {
  .input-wrapper {
    flex-direction: column;
  }

  .input-wrapper button {
    width: 100%;
  }
  .input-wrapper button {
  max-width: 100%;
}
}


/* Table Styles */
.pincode-table {
    width: 100%;
    border-collapse: collapse;
}

.pincode-table th,
.pincode-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.pincode-table thead {
    text-transform: uppercase;
}
.pincode-table th {
    background-color: #f4f4f4;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    .input-wrapper {
        flex-direction: column;
    }

    .pincode-lookup input[type="text"],
    .pincode-lookup button {
        width: 100%;
        margin: 5px 0;
        border-radius: 5px;
    }

    .pincode-table,
    .pincode-table thead,
    .pincode-table tbody,
    .pincode-table th,
    .pincode-table td,
    .pincode-table tr {
        display: block;
        width: 100%;
    }

    .pincode-table thead tr {
        display: none;
    }

    .pincode-table tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #ddd;
    }

    .pincode-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .pincode-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}
