/* Original styles.css */
body {
    font-family: Arial, sans-serif;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: black !important;
    min-height: 100vh;
    max-height: 500vh;
}
.RS{
    border-radius: 1px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding-left: 8px;
    border-color: white;
}

.calculator {
    background-color: #1a1a1a;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    border: none !important;
}
.customs-info{
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none !important;
    background-color: #1a1a1a;
    padding: 20px;
}
footer {
    background-color: #1a1a1a;  /* Dark background for footer */ 
    text-align: end;      /* Centered text */
    padding: 10px;           /* Some padding for the footer */
}
.hidden {
    display: none; /* Initially hide the details */
}
.toggle-header {
    cursor: pointer; /* Indicate clickable header */
    color: white; /* Change color to your preference */
}

.roboto-condensed-uniquifier {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
  }
.customs-info header{
    font-size: 85%;
    margin-bottom: 5px;
}
.customs-info p{
    font-size: 85%;
}
.calculator p{
font-size: 90%; margin-bottom: 0px !important;
margin-top: 0px !important;
}
.calculator header{
    font-size: 90%; margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.calculator h1{
    font-size: 90%; margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.calculator label{
    font-size: 90%; margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.calculator option{
    font-size: 90%; margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.calculator strong{
    font-size: 90%; margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.calculator span{
    font-size: 90%; margin-bottom: 0px !important;
    margin-top: 0px !important;
}
p{
  color: white !important;
  font-family: "Roboto Condensed", sans-serif;
  
}
header{
  color: white !important;
  font-family: "Roboto Condensed", sans-serif;
  
}
h1{
   color: white !important;
   font-family: "Roboto Condensed", sans-serif;
   
}
label{
   color: white !important;
   font-family: "Roboto Condensed", sans-serif;
   
}
option{
   color: white !important;
   font-family: "Roboto Condensed", sans-serif;
   
}
strong{
   color: white !important;
   font-family: "Roboto Condensed", sans-serif;
   
}
span{
   color: white !important;
   font-family: "Roboto Condensed", sans-serif;
   
}
.alumni-sans-pinstripe-regular {
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
.details{
    font-size: 20px;
}
.hed{
    font-size: 36px;
    margin-bottom: 20px;
}

.kk{
    text-decoration: underline;
    font-size: 20px;
}
/* Highlight invalid input fields */
input:invalid {
    border: 1px solid red;
}

.RSUZ{
    padding: 5px;
    font-style: normal;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 22px;
}
.refresh{
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 12px;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.1s ease-in-out;
    position: relative;
    overflow: hidden; /* Ensures ripple stays within button bounds */
}

/* Button Base Style */
.calculator .ripple-button {
    background-color: #FF9500;
    color: white;
    cursor: pointer;
    padding: 12px;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.1s ease-in-out;
    position: relative;
    overflow: hidden; /* Ensures ripple stays within button bounds */
}

/* Hover Style */
.ripple-button:hover {
    background-color: transparent !important;
    color: #FF9500 !important;
    border: 1px solid #FF9500 !important;
}

/* Active Style */
.ripple-button:active {
    background-color: #CC7A00;
    transform: scale(0.98);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Ripple Effect Styling */
.ripple-button .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background-color: rgba(255, 255, 255, 0.8); /* White color */
    animation: ripple-animation 0.6s linear;
    z-index: 1; /* Ensures ripple is on top */
    pointer-events: none; /* Prevents interference with button click */
}

/* Ripple Animation */
@keyframes ripple-animation {
    to {
        transform: scale(4); /* Controls ripple size */
        opacity: 0;
    }
}
.output div {
    background-color: #333;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}

/* Global Styles */

/* Calculator Container */

.calculator h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8em; /* Adjusted for smaller screens */
}

.calculator label {
    display: block;
    margin: 10px 0 5px;
}
input, select {
    padding: 10px;
    margin: 10px 0;
    border: none !important;
    border-radius: 5px;
}
.calculator input, .calculator select {
    
    padding: 10px;
    margin-bottom: 8px !important;
    border: 0.11px solid #444;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #fff;
    border: none !important;
}

/* Additional styles can go here */
.results {
    margin-bottom: 5px;
    
}
.results .row{
    display: flex !important;
    justify-content: space-between !important;
    padding-right: 10px;
    padding-left: 10px;
}
.results .gg {
    background-color: #333;
    border-radius: 5px;
    font-size: 18px;
    display: flex !important;
    justify-content: space-between !important;
    padding: 10px;
    margin-bottom: 10px;
}

.calculator h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

label {
    font-weight: bold;
    margin: 10px 0 5px;
    display: block;
}
.rr{
    border: none;
    
}
input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background: #333;
    color: #fff;
    border-radius: 6px;
 
}


/* Responsive Adjustments */

    

@media (max-width: 1650px) {
    .container {
        padding: 20px;
    }
    .calculator h1 {
        font-size: 1.5em;
    }
    .results div {
        font-size: 0.9em;
    }
   
}
@media  (max-width: 1400px){
    p{
        color: white !important;
        font-family: "Roboto Condensed", sans-serif;
        font-size: 0.8em !important;
      }
.customs-info header{
        color: white !important;
        font-family: "Roboto Condensed", sans-serif;
        font-size: 0.7em;
      }
      h1{
         color: white !important;
         font-family: "Roboto Condensed", sans-serif;
         font-size: 0.9em;
      }
      label{
         color: white !important;
         font-family: "Roboto Condensed", sans-serif;
         font-size: 0.9em;
      }
      option{
         color: white !important;
         font-family: "Roboto Condensed", sans-serif;
         font-size: 0.9em;
      }
      strong{
         color: white !important;
         font-family: "Roboto Condensed", sans-serif;
         font-size: 0.9em;
      }
      span{
         color: white !important;
         font-family: "Roboto Condensed", sans-serif;
         font-size: 0.9em;
      }
      .kk{
        text-decoration: underline;
        font-size: 0.9em;
    }
}
@media  (max-width: 1200px){
    .customs-info header{
        font-size: 70% !important;
        margin-bottom: 5px;
    }
    .customs-info strong{
        font-size: 95% !important;
    }
    .customs-info p{
        font-size: 75% !important;
    }
}
@media  (max-width: 996px){
    .customs-info header{
        font-size: 70%;
        margin-bottom: 5px;
    }
    .customs-info strong{
        font-size: 100%;
    }
    .customs-info p{
        font-size: 80%;
    }
}

/* Adjustments for iPhone SE and Small Screens */
@media (max-width: 320px) {
    body {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }
    .container {
        width: 100vw; /* Full viewport width */
        padding: 10px;
        margin: 0;
    }
    .calculator h1 {
        font-size: 1.3em;
        word-break: break-word; /* Break words to fit small screens */
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }
    .calculator h1 {
        font-size: 1.3em;
    }
    button {
        font-size: 1em;
        padding: 10px;
    }
}

