/* root start */

:root {
    /*colors*/
    --bg-color: #f8f9fa;
    --bg1-color: #ffffff;
    --ft-color: #f2f2f2;
    --txt-color: #212529;
    /* fonts */
    --fdesc: "Rubik", "lato", sans-serif;
    --fhead: "Raleway", serif;
    --fs0: 4.2rem;
    --fs1: 3.6rem;
    --fs2: 2.4rem;
    --fs3: 2.2rem;
    --fs4: 2rem;
    --fs5: 1.5rem;
    --fs6: 1.4rem;
    --fs7: 1.3rem;
}

:root {
    --indigo: #272846;
    --indigosemi: #27284679;
    --white: #fefeff;
    --aqua: #e4e8f6;
    --aquasemi: #e3f7f630;
    --greyLight-1: #e4ebf5;
    --greyLight-2: #c8d0e7;
    --greyLight-3: #454d65;
    --greyDark: #9baacf;
    --skyblue: #bbe6ec;
    --skybluesemi: #bbe6ec30;
    --darkblue: #2e688d;
    --darkbluesemi: #2e688d88;
    --darkbluesemi2: #2e688dee;
    --darkblueinvi: #2e698d00;
    --darkteal: #256385;
    --fdesc: "Rubik", "lato", sans-serif;
    --fhead: "Raleway", serif;
    --fs0: 4.2rem;
    --fs1: 3.6rem;
    --fs2: 2.4rem;
    --fs3: 2.2rem;
    --fs4: 2rem;
    --fs5: 1.5rem;
    --fs6: 1.4rem;
    --fs7: 1.3rem;
    --shadow: -0.5rem -0.5rem 1rem #ffffffbf, 0.5rem 0.5rem 1rem #80808080;
    --shadow1: 0 2px 8px rgba(0, 0, 0, .195);
    --shadow2: 2px 4px 8px #21273126;
    --tran1: 0.25s ease;
    --tran2: 0.5s ease;
    --tran3: 1s ease;
    --cubicin: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubicout: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}


/* Root end */

body {
    background-color: var(--bg-color);
    color: var(--txt-color);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container-add {
    font-family: "Quicksand", sans-serif;
    display: flex;
    margin: 130px;
    justify-content: space-evenly;
    padding: 60px;
    margin-top: -15px;
}


/* 1   structure*/

.forms-section-un {
    width: 50%;
    background-color: var(--bg1-color);
    padding: 20px;
    border-radius: 10px;
}


/* Logo Container */
.logo-container-peda {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers all three logos together */
    gap: 30px;               /* Adds equal spacing between the logos */
}

/* Base style for all logos in this container */
.logo-container-peda img {
    height: 100px;           /* Reduced slightly to fit 3 logos better */
    width: auto;
    margin-bottom: 40px;
}

/* Specific styling for the middle logo if needed */
.logo-container-peda img.center-logo {
    height: 150px !important;
    width: auto !important;
    margin-bottom: 40px !important; 
}

/* Reset unique sizing for the last-child to keep them consistent */
.logo-container-peda img:last-child {
    height: 110px;
    width: auto;             /* Changed from fixed 110px for better aspect ratio */
    margin-bottom: 40px;
}


/* Heading Section */


/* 1 h */

.event-celeberation-peda {
    font-size: 20px;
    font-family: "Alex Brush";
    text-align: center;
    color: var(--greyLight-3);
}


/* 2 h */

.event-name-peda {
    font-size: 20px;
    font-family: "quicksand";
    text-align: center;
    color: var(--greyLight-3);
}


/* 3 h */

.event-name-peda-small {
    font-size: 15px;
    font-family: "Rubick";
    text-align: center;
    color: var(--greyLight-3);
}


/* 4 h */

.event-name-peda-last {
    font-size: 18px;
    font-family: "quicksand";
    text-align: center;
    color: var(--greyLight-3);
    margin-bottom: 30px;
}


/* Heading Section End */


/* -------------------------- */


/* Input Groups */

.inputs-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 10px; */
    gap: 0px;
}


/* dynamic input distance */

#manualInput {
    display: none;
}

.inputs-group1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 0px;
}

.inputsGroup {
    font-family: "Quicksand", sans-serif;
    position: relative;
    width: 48%;
}

.inputs-box-peda {
    font-size: 14px;
    padding: 10px;
    outline: none;
    border: 1px solid rgb(200, 200, 200);
    background-color: transparent;
    border-radius: 10px;
    width: 100%;
}

.dropdownGroup {
    font-family: "Quicksand", sans-serif;
    position: relative;
    width: 48%;
}

.dropdownGroup label {
    font-size: 14px;
    position: absolute;
    top: -13px;
    scale: 0.85;
    left: 20px;
    pointer-events: none;
    color: rgb(100, 100, 100);
    background-color: white;
    padding: 0 4px;
}

.inputsGroup {
    position: relative;
    margin-bottom: 20px;
}

.inputsGroup input {
    width: 100%;
    padding: 12px 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    outline: none;
    background: white;
}


/* Default label style */

.inputsGroup label {
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.3s ease;
    color: rgb(100, 100, 100);
    background: white;
    padding: 0 4px;
}


/* When input is focused OR has content */

.inputsGroup input:focus+label,
.inputsGroup input:not(:placeholder-shown)+label {
    top: -10px;
    transform: scale(0.85);
    color: #333;
    padding: 0 4px;
}


/* Optional: input border color change */

.inputsGroup input:focus {
    border-color: rgb(150, 150, 200);
}


/* Input Gropus End */


/* Check Box  */

.questions {
    display: flex;
    margin: 15px 0;
    font-weight: bold;
    font-size: 16px;
}

.check {
    cursor: pointer;
    position: relative;
    margin: auto;
    width: 18px;
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.check:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 50, 84, 0.03);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #c8ccd4;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.check:hover:before {
    opacity: 1;
}

.check:hover svg {
    stroke: #4285f4;
}

input[type="checkbox"]:checked+.check svg {
    stroke: #4285f4;
}

input[type="checkbox"]:checked+.check svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

input[type="checkbox"]:checked+.check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}

.radios-group {
    font-size: 14px;
    display: flex;
    justify-content: left;
    gap: 30px;
    margin-bottom: 20px;
}

.radios-group1 {
    font-size: 14px;
    display: flex;
    justify-content: left;
    gap: 50px;
    margin-bottom: 35px;
}

.radios-group2 {
    font-size: 14px;
    display: flex;
    justify-content: left;
    gap: 50px;
    margin-bottom: 20px;
    margin-top: 15px;
    margin-left: 0px;
}

.radios-group label {
    font-size: 14px;
    display: flex;
    align-items: center;
}


/* Check Box  End*/


/* Location */

.inpuut {
    border: 2px solid transparent;
    width: 25em;
    height: 2.8em;
    padding-left: 0.8em;
    outline: none;
    overflow: hidden;
    background-color: #f3f3f3;
    border: 1px solid rgb(134, 134, 134);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.5s;
}

.inpuut:hover,
.inpuut:focus {
    border: 2px solid #4a9dec;
    box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
    background-color: white;
}

.locations-icon {
    margin-right: 10px;
    margin-top: 5px;
}


/* Location End*/


/* after Loaction */

.questions-topic {
    display: flex;
    margin: 25px 0 3px 0;
    font-weight: bold;
    font-size: 16px;
}

.multiple-select {
    color: rgb(100, 100, 100);
    font-size: 13px;
    font-weight: 400;
    font-family: "Quicksand", sans-serif;
}

.checkbox-group {
    /* display: flex; */
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 10px;
    gap: 0px;
}

.topic-checkbox {
    flex: 50%;
}

.topic-checkbox .event-check div:first-child {
    color: rgb(100, 100, 100);
    font-size: 14px;
}

.topic-checkbox .event-check div:last-child {
    font-size: 14px;
    font-family: "Quicksand", sans-serif;
    letter-spacing: .5px;
}

.event-check {
    font-size: 13px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    cursor: pointer;
    position: relative;
    width: 320px;
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.event-check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #c8ccd4;
    stroke-width: 1;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.event-check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.event-check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.event-check:hover svg {
    stroke: var(--darkblue);
}

input[type="checkbox"]:checked+.event-check svg {
    stroke: var(--darkblue);
}

input[type="checkbox"]:checked+.event-check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}


/* after location end */


/* Button */

.summary-button {
    padding: 6px 10px;
    width: 200px;
    border-radius: 30px;
    border: 1px solid var(--darkblue);
    color: var(--darkblue);
    margin-right: 15px;
    transition: var(--tran2);
}

.summary-button:hover {
    color: #ffffff;
    background-color: var(--darkblue);
}


/* Button end */

.details-section {
    align-items: center;
    background: #fcfcfc;
    border-radius: 15px;
    box-shadow: 1.95px 1.95px 2.6px #00000026;
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
    width: 44%;
    margin-bottom: 30%;
}


/* 1 & 2 div structure end*/


/* Second Section */

.details-section h3 {
    font-family: "Oswald", sans-serif;
    color: #636363;
    margin-top: 20px;
    margin-left: -300px;
    font-size: 30px;
    text-align: left;
}

.details-section h3 span {
    font-size: 18px;
}


/* imag and video css */

.video-container {
    position: relative;
    width: 100%;
    /* height: 100vh; */
    overflow: hidden;
    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .animated-vehicles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        .vehicle {
            position: absolute;
            width: 100px;
            height: auto;
            animation-duration: 5s;
            animation-iteration-count: infinite;
            animation-timing-function: linear;
        }
        .car {
            bottom: 10%;
            left: -10%;
            height: 50%;
            width: 50%;
            animation-name: car-move;
        }
        .bus {
            bottom: 12%;
            left: -10%;
            height: 100%;
            width: 40%;
            animation-name: bus-move;
        }
        .train {
            height: 100%;
            width: 100%;
            /* animation-name: train-move; */
        }
        .flight {
            margin-top: 10%;
            right: 10%;
            animation-name: flight-move;
        }
        .auto {
            bottom: 18%;
            left: -15%;
            height: 40%;
            width: 30%;
            animation-name: auto-move;
        }
        .bike {
            bottom: 18%;
            left: -15%;
            animation-name: bike-move;
        }
        .metro {
            bottom: 5%;
            left: 0%;
            height: 100%;
            width: 100%;
            /* animation-name: metro-move; */
        }
        .walk {
            bottom: 12%;
            left: -100%;
            animation-name: walk-move;
        }
    }
}

@keyframes car-move {
    0% {
        left: -10%;
    }
    100% {
        left: 110%;
    }
}

@keyframes bus-move {
    0% {
        left: -10%;
    }
    100% {
        left: 110%;
    }
}

@keyframes train-move {
    0% {
        left: -20%;
    }
    100% {
        left: 110%;
    }
}

@keyframes flight-move {
    0% {
        left: -20%;
        top: 10%;
    }
    100% {
        left: 110%;
        top: 5%;
    }
}

@keyframes auto-move {
    0% {
        left: -10%;
    }
    100% {
        left: 110%;
    }
}

@keyframes bike-move {
    0% {
        left: -15%;
    }
    100% {
        left: 110%;
    }
}

@keyframes metro-move {
    0% {
        left: -10%;
    }
    100% {
        left: 110%;
    }
}

@keyframes walk-move {
    0% {
        left: -10%;
    }
    100% {
        left: 55%;
    }
}


/* image and vide css end */

.car-image {
    height: 40vh;
    margin-bottom: 140px;
    transition: 0.5s ease-in-out;
    overflow: hidden;
}

.car {
    margin-top: -40px;
    height: 400px;
    width: 650px;
}

.bus {
    margin-top: -120px;
}

.train-im {
    margin-top: -100px;
    height: 400px;
    width: 650px;
}

.flight {
    margin-top: -145px;
    overflow: hidden;
}

.journey-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: -160px;
    margin-bottom: -40px;
}

.journey-line {
    border-bottom: 1px dashed rgb(116, 116, 116);
    display: flex;
    padding: 10px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.start-journey {
    width: 40%;
    text-align: center;
    font-size: 14px;
}

.journey-line img {
    margin: 6px;
    height: 30px;
    width: auto;
}

.end-journey {
    width: 40%;
    text-align: center;
    margin-left: 0px;
    font-size: 14px;
}

.date-meal {
    /* outline: 1px solid red; */
    display: flex;
    /* gap: 50px; */
}

.date-meal-details {
    display: flex;
    justify-content: center;
    align-items: center;
}

.date-box {
    display: flex;
    background: #ffffff;
    /* margin-left: 25px; */
    padding: 2px;
    border-radius: 6px;
    margin-top: -5px;
    margin-bottom: 30%;
}

.start-date-box,
.end-date-box {
    margin: 0 8px;
    width: 70px;
    text-align: center;
    position: relative;
}

.start-date-box::before,
.end-date-box::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 10px;
    border-radius: 10px;
}

.start-date-box::before {
    background-color: #6ccdbf;
}

.end-date-box::before {
    background-color: #f78d89;
}

.label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #6ccdbf;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    background: white;
}

.end-date-box .label {
    color: #f78d89;
}

.date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.day {
    font-size: 26px;
    font-weight: bold;
    color: #333;
}

.month,
.year {
    font-size: 14px;
    color: #777;
}

.meal-type {
    margin-top: 25px;
}

.emission-section {
    height: 110px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
}

.emission-meter {
    font-family: "Oswald", sans-serif;
    color: #3e3e3e;
    text-align: center;
    font-size: 20px;
    margin-left: -30px;
    font-weight: 600;
    margin-top: 8%;
}

.data-list {
    margin-left: 0px;
    margin-top: -33px;
    padding: 10px;
}

.emission-value {
    margin-top: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.emission-level {
    margin-top: 7%;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    /* white-space-collapse: break-spaces; */
    /* width: 100%; */
}

.btnn {
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px 30px;
    width: 150px;
    font-weight: 500;
    background: #017789;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 0.6em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.transition {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transition-duration: 500ms;
    background-color: rgba(16, 134, 185, 0.6);
    border-radius: 9999px;
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btnn:hover .transition {
    width: 14em;
    height: 14em;
}

.btnn:active {
    transform: scale(1);
}


/* Second Section End*/

.textbig {
    text-wrap: nowrap;
}


/* Media Screeen */

@media screen and (max-width: 1328px) {
    .container-add {
        flex-direction: column;
        margin: 5px;
        padding: 20px;
        background-color: white;
    }
    .forms-section-un {
        width: 100%;
        box-shadow: none;
    }
    .inputs-group {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .radios-group,
    .radios-group1,
    .radios-group2 {
        flex-direction: row;
        justify-content: left;
        align-items: center;
        gap: 30px;
    }
    .details-section {
        width: 100%;
        margin-bottom: 5%;
    }
    .journey-line img {
        margin: 2px;
        margin-left: -100px;
        height: 15px;
        width: auto;
    }
}

@media screen and (max-width: 502px) {
    .meter {
        padding: 20px;
        height: 50px;
        width: auto;
        margin-top: -10px;
        margin-left: -25px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    .forms-section-un {
        padding: 0px;
    }
    .forms-section-un img {
        height: 10vh;
        margin-bottom: 40px;
    }
    .logo-container-peda img:last-child {
        height: 100%;
        margin-bottom: 40px;
        width: 60px;
    }
    .textbig {
        white-space: normal;
    }
    .radios-group,
    .radios-group1,
    .radios-group2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: start;
    }
    .duration-container {
        margin-bottom: 15px;
        margin-top: 0px;
        margin-left: 0px;
    }
    .duration-container select {
        width: 30%;
        height: 3.5em;
        transition: all 0.5s;
        padding-left: 0.8em;
        background-color: #f3f3f3;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 10px;
    }
    .btnn {
        padding: 0.5em 1.5em;
    }
    .details-section {
        overflow: hidden;
        width: 100%;
        height: auto;
        background: #fcfcfc;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
        border-radius: 15px;
        margin-top: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .meter {
        padding: 20px;
        height: 50px;
        width: auto;
        margin-top: 5px;
        /* margin-left: -25px; */
    }
    .details-section h3 {
        margin-top: 20px;
        margin-left: -200px;
        font-size: 18px;
        text-align: left;
    }
    .details-section h3 span {
        font-size: 16x;
    }
    .car-image {
        height: 250px;
        margin-bottom: 140px;
        transition: 0.5s ease-in-out;
        overflow: hidden;
    }
    .car {
        margin-top: -20px;
        height: 300px;
        width: 450px;
    }
    .bus {
        margin-top: -100px;
        height: 330px;
        width: 580px;
    }
    .train-im {
        margin-top: -95px;
        height: 350px;
        width: 580px;
    }
    .flight {
        margin-top: -145px;
        height: 400px;
        width: 650px;
        overflow: hidden;
    }
    .journey-details {
        height: 20%;
    }
    .start-journey {
        width: 35%;
        text-align: center;
        margin-left: 10px;
        font-size: 12px;
    }
    .journey-line img {
        margin: 2px;
        height: 20px;
        margin-left: -10px;
        width: auto;
    }
    .end-journey {
        width: 35%;
        text-align: center;
        margin-left: 0px;
        font-size: 12px;
    }
    .date-meal {
        display: flex;
        gap: 30px;
    }
    .date-box {
        margin-left: -5px;
        padding: 2px;
        border-radius: 6px;
        margin-top: 5px;
    }
    .start-date-box,
    .end-date-box {
        margin: 0 20px;
        width: 95px;
        text-align: center;
        position: relative;
    }
    .start-date-box::before,
    .end-date-box::before {
        position: absolute;
        top: 20px;
        left: 0;
        width: 100%;
        height: 10px;
        border-radius: 10px;
    }
    .start-date-box::before {
        background-color: #6ccdbf;
    }
    .end-date-box::before {
        background-color: #f78d89;
    }
    .label {
        display: block;
        font-size: 8px;
        font-weight: 600;
        color: #6ccdbf;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        position: relative;
    }
    .end-date-box .label {
        color: #f78d89;
    }
    .date {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: white;
        padding: 10px;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        position: relative;
    }
    .day {
        font-size: 14px;
        font-weight: bold;
        color: #333;
    }
    .month,
    .year {
        font-size: 8px;
        color: #777;
    }
    .meal-type {
        margin-top: 6px;
    }
    .emission-meter {
        font-size: 16px;
        margin-left: 10%;
        font-weight: 600;
        margin-top: 15px;
    }
    .data-list {
        margin-left: -40px;
        margin-top: 5px;
        padding: 10px;
    }
    .meter {
        padding: 20px;
        height: 50px;
        width: auto;
        /* margin-top: -25px; */
        /* margin-left: -20px; */
    }
    .emission-value {
        margin-top: 5px;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        margin-left: 10%;
    }
    .emission-level {
        text-align: left;
        font-size: 10px;
        width: 100%;
        margin-left: 8%;
    }
    .chart-skills {
        position: relative;
        width: 250px;
        height: 125px;
        overflow: hidden;
        margin-top: 30% !important;
    }
    .journey-line {
        margin-top: -7%;
    }
}


/* Meter */

#chart-container {
    width: 60%;
    height: auto;
    background-color: white;
    color: #017789;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}


/* Modal Styles */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    /* Reduced width for compact design */
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Speedometer chart styling */

#speedometerChart {
    border-radius: 50%;
    /* Circular chart */
    margin-top: 20px;
}


/* Meter Css */

.box {
    width: 100%;
    margin: 0 auto;
    /* padding: 3rem; */
    display: flex;
    border-radius: 1.5rem;
    background-color: #f2f2f2;
    /* box-shadow: 0px 0px 15.84px 0.16px rgba(35, 31, 32, 0.1); */
    /* display: flex; */
    justify-content: center;
    /* Horizontally center */
    align-items: center;
    /* Vertically center */
}

@media screen and (max-width: 522px) {
    .box {
        width: 100%;
        margin: 0 auto;
        /* padding: 3rem; */
        /* display: flex; */
        display: grid;
        border-radius: 1.5rem;
        background-color: #f2f2f2;
        /* box-shadow: 0px 0px 15.84px 0.16px rgba(35, 31, 32, 0.1); */
        /* display: flex; */
        justify-content: center;
        /* Horizontally center */
        align-items: center;
        /* Vertically center */
    }
    .meter {
        width: 188px;
        margin: 30px auto 0;
        /* position: relative; */
    }
    .emission-section {
        height: 150px;
        margin-top: -10%;
        border-radius: 10px;
        text-align: center;
        /* width: 350px; */
    }
}


/* 
.meter {
    width: 188px;
    margin: 30px auto 0;
    position: relative;
}

.meter-hand {
    position: absolute;
    left: 40%;
    bottom: 6px;
    margin-left: -5px;
    z-index: 1;
    transition: all 2s ease-in-out;
    transform-origin: 94% 48%;
}

.speed {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

#speed {
    min-width: 300px;
    display: inline-block;
}

.unit {
    font-size: 2rem;
    font-weight: 500;
    color: #bbe697;
}

.meter .num {
    font-size: 1rem;
    font-weight: 600;
    position: absolute;
}

#num_1 {
    left: 25px;
    top: 80px;
}

#num_2 {
    left: 37px;
    top: 56px;
}

#num_3 {
    left: 55px;
    top: 35px;
}

#num_4 {
    left: 87px;
    top: 25px;
}

#num_5 {
    right: 55px;
    top: 35px;
}

#num_6 {
    right: 37px;
    top: 56px;
}

#num_7 {
    right: 25px;
    top: 80px;
} */

.meter {
    padding: 10px;
    border-radius: 10px;
    position: relative;
    display: block;
    width: 200px;
    /* Reduced width */
    height: 200px;
    /* Reduced height */
    /* margin: 40px auto; */
}

#needle {
    position: absolute;
    left: 50%;
    top: 15%;
    /* Adjusted for smaller meter */
    transform-origin: 50% calc(100% - 10px);
    /* Adjust pivot for smaller needle */
    transform: rotate(-100deg);
    /* Starting position of the needle */
}

#svgmeter {
    margin: auto;
    max-width: 100%;
}

.meter h3 {
    display: block;
    text-align: center;
    margin-top: -60px;
    /* Adjusted for smaller size */
    font-family: Arial;
}


/* RESET STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.chart-skills {
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
}

.chart-skills *,
.chart-skills::before {
    box-sizing: border-box;
}


/* CHART-SKILLS STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.chart-skills {
    position: relative;
    width: 250px;
    height: 125px;
    overflow: hidden;
}

.chart-skills::before,
.chart-skills::after {
    position: absolute;
}

.chart-skills::before {
    content: '';
    width: inherit;
    height: inherit;
    border: 45px solid rgba(211, 211, 211, .3);
    border-bottom: none;
    border-top-left-radius: 175px;
    border-top-right-radius: 175px;
}

.chart-skills::after {
    content: '';
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: bold;
    color: cadetblue;
}

.chart-skills li {
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: inherit;
    border: 45px solid;
    border-top: none;
    border-bottom-left-radius: 175px;
    border-bottom-right-radius: 175px;
    transform-origin: 50% 0;
    animation-fill-mode: forwards;
    animation-duration: .4s;
    animation-timing-function: linear;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.chart-skills li:nth-child(1) {
    z-index: 4;
    border-color: #29B151;
    animation-name: rotate-one;
}

.chart-skills li:nth-child(2) {
    z-index: 3;
    border-color: #8EC34A;
    animation-name: rotate-two;
    animation-delay: .4s;
}

.chart-skills li:nth-child(3) {
    z-index: 2;
    border-color: #F0D440;
    animation-name: rotate-three;
    animation-delay: .8s;
}

.chart-skills li:nth-child(4) {
    z-index: 1;
    border-color: #ED7E3D;
    animation-name: rotate-four;
    animation-delay: 1.2s;
}


/* ANIMATIONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@keyframes rotate-one {
    100% {
        transform: rotate(45deg);
        /**
     * 12% => 21.6deg
     */
    }
}

@keyframes rotate-two {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(90deg);
        /**
     * 32% => 57.6deg 
     * 57.6 + 21.6 => 79.2deg
     */
    }
}

@keyframes rotate-three {
    0% {
        transform: rotate(90deg);
    }
    100% {
        transform: rotate(135deg);
        /**
     * 34% => 61.2deg 
     * 61.2 + 79.2 => 140.4deg
     */
    }
}

@keyframes rotate-four {
    0% {
        transform: rotate(135deg);
    }
    100% {
        transform: rotate(180deg);
        /**
     * 22% => 39.6deg  
     * 140.4 + 39.6 => 180deg
     */
    }
}


/* New class for 50% width side-by-side layout */

.row-50-50 {
    display: flex;
    gap: 10px;
    /* space between the fields */
}

.row-50-50>.dropdownGroup,
.row-50-50>.inputsGroup {
    width: 50%;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}