@font-face {
  font-family: myFont; /* set name */
  src: url(../fonts/DS-DIGIB.TTF); /* url of the font */
}

body {
    display:flex;
    justify-content: center; /* Centers horizontally */
    justify-items: center; /* Centers vertically */
    height: 100vh; /* Ensures the body takes full viewport height */
    margin: 0; /* Removes default margin */

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background-color: rgb(236, 192, 112);
}

td {
    text-align: center;
}

.footer-container {
    /* background-color: cyan; */
    /* background-color: grey; */
    justify-content: center;
    justify-items: center;
    place-items: center;
    align-items: center;
    align-content: center;

    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;  
      
    background-clip: border-box;

    height: 33rem;
}

.inner-footer {
    background-clip: border-box;

    border-color: rgb(117, 117, 117);
    border-style: dashed;
    border-width: 3px;

    background: rgba(229, 228, 228, 0.5); /* White with 70% opacity */
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px); /* This blurs the moving background behind the box */
    margin: 20px auto;
}

.meter-container {
    /* background-color: greenyellow; */

    width: 30rem;
    height: 30rem;

    padding: 5px 0px 5px 5px;

    display:flex;
    justify-content: center; /* Centers horizontally */
    justify-items: center; /* Centers vertically */
}

.fill-data-container {
    /* background-color: hotpink; */

    text-align: center;
    justify-content: center;
    justify-items: center;
    align-content: center;

    width: 30rem;
    height: 30rem;

    padding: 25px 0px 5px 5px;
}

.car-image-container {
    height: 30rem;
    width: 15rem;
    margin: 0;

    text-align: center;
    align-content: center;

    /* background-color: cyan; */
}

.car-image-container > img{
    border-radius: 20px;
}

.output-container {
    background-color: rgb(239, 255, 197);
    border-style: solid;
    border-radius: 10px;
    border-width: 3px;
    border-color: black;
    padding: 0px 20px 20px 20px;
}

.business-image {
    width: 50px;
    height: 50px;
}

#gas-meter-canvas {
    height: 30rem;
    width: 14.1rem;
    border-radius: 50px;
    border-style: solid;
    border-color: black;
}

#total-amount, #gas-amount, #user-input {
    border: none;
    width: 200px;
    font-size: 60px;
    font-family: myFont;
    background-color: rgb(226, 226, 226);
}

/*AI-ASSISTED - */
button {
    /* Dimensions & Font */
    width: 80px;
    height: 80px;
    font-family: 'Arial Black', sans-serif;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;

    /* Colors */
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 8px;

    /* The "3D" Industrial Look */
    border-top: 4px solid #444;
    border-left: 2px solid #333;

    /* Layered shadows:
    1. Inner glow for depth
    2. Outer shadow for the "recessed" look
    */
    box-shadow:
    inset 0 4px 6px rgba(255, 255, 255, 0.1),
    inset 0 -4px 6px rgba(0, 0, 0, 0.6),
    4px 4px 10px rgba(0, 0, 0, 0.5);

    transition: all 0.1s ease-in-out;
    text-shadow: 2px 2px 0px #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

/* AI-ASSISTED - Hover state: slight brightening */
button:hover {
    background-color: #2a2a2a;
    filter: brightness(3);
}

/* AI-ASSISTED - Active state: The "Pressed" effect */
button:active {
    transform: translateY(2px);
    box-shadow:
    inset 0 6px 10px rgba(0, 0, 0, 0.8),
    2px 2px 5px rgba(0, 0, 0, 0.3);
    border-top: 1px solid #111;
}