.content {
      flex: 1;
      padding: 20px;
    }

    .container {
      max-width: 700px;
      width: 95%;
      margin: auto;
      background: white;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 0 10px #ccc;
    }

    .about-section {
      margin-top: 40px;
      background: #f1f5f9;
      padding: 25px;
      border-radius: 8px;
      font-size: 15px;
      line-height: 1.6;
    }

    .about-section h3 {
      font-size: 20px;
      margin-bottom: 10px;
    }

    .about-section ul {
      padding-left: 20px;
    }

   

    @media (max-width: 768px) {
      .dropdown-group {
        flex-direction: column;
      }
    }
   h2 {
      color: #002e5b;
    }

    .tab-buttons {
      display: flex;
      flex-wrap: wrap; 
      margin-bottom: 15px;
      gap: 5px;
    }

    .tab-buttons button {
      padding: 10px 16px;
      border: 1px solid #ccc;
      background: #e4eaf1;
      margin-right: 5px;
      cursor: pointer;
      flex: 1 1 auto;
    }

    .tab-buttons button.active {
      /*background-color: #002e5b;*/
      background: linear-gradient(135deg, #d0e7ffcc, #90caf9cc);
      color: #002e5b;
      border-color: #002e5b;
    }

    .converter-box {
      background: #fff;
      flex-wrap: wrap;
      border: 1px solid #ccc;
      padding: 20px;
      max-width: 700px;
      display: flex;
      justify-content: space-between;
    }

    .converter-section {
      width: 45%;
      
    }

    .converter-section label {
      font-weight: bold;
      display: block;
      margin-bottom: 5px;
    }

/* General select styling */
.converter-section select {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #f4f6f9;
    color: #002e5b;
    text-align: center; /* centers the selected text */
    appearance: none; /* removes default browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow-y: auto;
}

/* Scrollbar styling for better UX */
.converter-section select::-webkit-scrollbar {
    width: 8px;
}

.converter-section select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.converter-section select::-webkit-scrollbar-thumb {
    background: #90caf9;
    border-radius: 8px;
}

.converter-section select::-webkit-scrollbar-thumb:hover {
    background: #64b5f6;
}

/* Hover & focus effect */
.converter-section select:hover,
.converter-section select:focus {
    border-color: #002e5b;
    background-color: #e3f2fd;
    outline: none;
}

/* Input styling */
.converter-section input {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .converter-section select {
        height: 120px;
        font-size: 14px;
    }

    .converter-section input {
        font-size: 14px;
    }
}


   /* .converter-section select {
      width: 100%;
      height: 150px;
      margin-bottom: 10px;
      text-align: center;
    }*/

    .converter-section input {
      width: 100%;
      padding: 8px;
      margin-top: 10px;
    }

    .result-box {
      margin-top: 20px;
      font-weight: bold;
    }
 /* Mobile Responsive */
@media (max-width: 768px) {
    .dropdown-group {
        flex-direction: column;
    }

    .converter-section select {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .converter-box {
        flex-direction: column;
    }

    .converter-section {
        width: 100%;
    }

    .tab-buttons button {
        flex: 1 1 100%;
        min-width: unset;
        font-size: 0.9em;
        padding: 8px 10px;
    }

  /*  .converter-section select {
        height: 100px;
    }*/
}

/* Inline label and input for Result */
.result-inline {
    display: flex;
    align-items: center;
   
}

.result-inline label {
    font-weight: bold;
    min-width: 60px; /* optional: fixed width for the label */
}

.result-inline input {
    flex: 1; /* input takes remaining space */
    padding: 8px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .result-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .result-inline input {
        width: 100%;
    }
}
