/* Fonts */

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Raleway-Regular.ttf");
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/Raleway-SemiBold.ttf");
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Raleway-Bold.ttf");
}


/* Globals */

* {
    box-sizing: border-box;
    user-select: none;
}

:root {
    /* From UI Design */
    --BasicWhite: hsl(120, 8%, 99%);
    --LightGrey: hsl(225, 35%, 95%);
    --SaladGreen: hsl(162, 84%, 47%);
    --MainGradient: linear-gradient(180deg, var(--SaladGreen) 0%, var(--EmeraldGreen) 100%);
    --EmeraldGreen: hsl(166, 86%, 43%);
    --WetStone: hsl(235, 8%, 68%);
    --NavyBlue: hsl(226, 34%, 29%);
    --Black: hsl(224, 37%, 8%);
    --MainGradientInverted: linear-gradient(0deg, var(--SaladGreen) 0%, var(--EmeraldGreen) 100%);
    --NextGradient: linear-gradient(262.08deg, var(--SaladGreen) 15.69%, var(--EmeraldGreen) 87.07%);
    --NextGradientInverted: linear-gradient(262.08deg, var(--EmeraldGreen) 15.69%, #13D988C 68.85%, var(--SaladGreen) 87.07%);
    --ButtonShadow: 0px 10px 35px hsla(0, 0%, 53%, 0.25); /* For the primary button */

    /* From Wireframes, to be confirmed, changed, or removed */
    --Gray5: hsl(0, 0%, 88%);
    --Gray6: hsl(0, 0%, 95%);
    --EdgePadding: 20px;
}

html, body, h1, h2, h3, h4, h5, h6 {
    font-family: Raleway, sans-serif;
}

html, body {
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: var(--BasicWhite);
}

h1 {
    text-align: left;
    margin-top: 0.5em;
}

#burgerIcon, #chatIcon {
    flex-basis: 36px;
    flex-grow: 0;
    flex-shrink: 0;
    text-align: center;
    font-size: 24px;
    background: var(--MainGradient);
    border-radius: 12px;
    width:36px;
    height:36px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 3;
}

#burgerIcon:active, #chatIcon:active {
    background: var(--MainGradientInverted);
}

#burgerMenuSwipeIn {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 32px;
    z-index: 2;
}

#burgerMenu {
    background-color: var(--BasicWhite);
    bottom: 0;
    left: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    width: 78.7%;
    z-index: 4;
}

#burgerMenu header {
    background-color: var(--LightGrey);
    padding: 20px;
    color: var(--NavyBlue);
}

#burgerMenu header nav {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0;
}

#burgerMenuClose {
    width: 36px;
    height: 36px;
}

#burgerMenu .BuildNumber {
    font-size: 10px;
}

#burgerMenu img.Logo {
    height: 36px;
}

#burgerMenu .Profile {
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#burgerMenu .Profile .Picture {
    width: 45px;
    height: 45px;
    border-radius: 100%;
}

#burgerMenu .Profile .Name {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

#burgerMenu .Profile .Details {
    display: flex;
    flex-direction: column;
    flex-grow: 6;
}

#burgerMenu .Profile .Vehicle {
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.3px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

#burgerMenu > nav, #help > nav {
    color: var(--WetStone);
    background-color: var(--BasicWhite);
    padding-left: 20px;
    font-size: 18px;
    font-weight: 700;
}

#burgerMenu nav p, #help nav p {
    color: var(--Black);
    margin-top: 40px;
    margin-bottom: 40px;
}

#burgerMenu nav a, #help nav a {
    text-decoration: none;
    color: var(--Black);
}

#help {
    padding-top: 40px;
    display: flex;
    justify-content: center;
}

#burgerMenu footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 38px;
}

.Main.Button {
    background: var(--MainGradient);
    box-shadow: var(--ButtonShadow);
    color: var(--NavyBlue);
    text-transform: uppercase;
    padding: 20px 28px;
    border-radius: 15px;
}

#burgerMenu footer .Button {
    border: none;
    border-radius: 15px;
    color: var(--NavyBlue);
    display: block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 19px;
    margin: 14px 20px;
    padding: 12px 12px;
    text-align: center;
    text-decoration: none;
    width: auto;
}

@keyframes burgerMenuShow {
    from { transform: translateX(-100%);}
    to { transform: translateX(0);}
}

@keyframes burgerMenuHide {
    from { transform: translateX(0);}
    to { transform: translateX(-100%);}
}

@keyframes pageOut {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}
@keyframes pageIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes bottomOut {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

@keyframes bottomIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Input Elements */
input.switch {
    opacity: 0;
    width: 0;
    height: 0;
}
input.switch + label {
    background-color: var(--Gray6);
    border-radius: 12px;
    display: inline-block;
    font-size: 15px;
    padding: 8px 12px;
    position: relative;
    user-select: none;
    margin-top: 1ex;
    margin-bottom: 1ex;
}
input.switch:checked + label {
    background-image: var(--NextGradient);
}

input.toggle {
    opacity: 0;
    width: 0;
    height: 0;
}
input.toggle + label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    cursor: pointer;
    background-image: linear-gradient(262.08deg, var(--Gray6) 15.69%, hsl(0, 0%, 89%) 87.07%);
    transition: .4s;
    border-radius: 34px;
    box-shadow: 0 10px 35px hsla(0, 0%, 53%, 0.25);
    user-select: none;
}
input.toggle + label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-image: linear-gradient(305deg, hsl(0, 0%, 67%) 25%, var(--BasicWhite) 75%);
    transition: .4s;
    border-radius: 50%;
    z-index: 1;
}
input.toggle:checked + label {
    background-image: var(--NextGradient);
}
input.toggle:checked + label:before {
    transform: translateX(26px);
}

.modal-dialog {
    width: 60vw;
    height: 80vh;
    border: none;
    padding: 0;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    overflow: hidden;
}

.modal-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.terms-container h1,
.terms-container h2,
.terms-container h3 {
    text-align: center;
}

#paymentDemoModal h2 {
    text-align:center;
}

#help nav {
    background-color: var(--BasicWhite);
    padding: 24px;
    border-radius: 12px;
    max-width: 600px;
    box-shadow: 0 4px 10px hsla(0, 0%, 0%, 0.05);
    line-height: 1.6;
}

#help nav p:first-of-type {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--Black);
}

#help nav p:nth-of-type(2) {
    color: var(--WetStone);
    font-weight: 400;
    margin-bottom: 20px;
}

#help nav p i {
    margin-right: 10px;
    color: var(--EmeraldGreen);
    min-width: 16px;
}

#help nav p a {
    color: var(--NavyBlue);
    font-weight: 600;
    text-decoration: none;
}

#help nav p a:hover {
    text-decoration: underline;
}

#help nav p:nth-last-of-type(2),
#help nav p:last-of-type {
    margin-top: 24px;
    color: var(--WetStone);
    font-size: 15px;
    font-weight: 400;
}

#paymentDemoModal{
    padding:40px;
    width: 50%;
}

/* mobile design */
@media (max-width: 768px) {
    .modal-dialog {
        width: 85vw !important;
        overflow-y: hidden;
    }

    #help nav {
        margin: 0 16px;
        padding: 16px;
    }

    #paymentDemoModal{
        padding:30px;
    }
}

/* Privacy Policy Styles */
.privacy-body {
    font-family: Arial, sans-serif;
    padding: 20px;
    line-height: 1.6;
}

.privacy-body h1,
.privacy-body h2,
.privacy-body h3 {
    color: hsl(210, 22%, 22%);
}

.privacy-body ul {
    padding-left: 20px;
}

.privacy-body .section {
    margin-bottom: 25px;
}

/* Spike Phone Styles */
.otp-input-container {
    width: calc(100% - 24px);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.otp-input {
    background-color: hsl(0, 0%, 95%);
    text-align: center;
    width: 2em;
    border-radius: 12px;
    border: none;
    padding: 12px;
}

/* Contact Us Page Styles */
.contact-menu {
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    position: absolute;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 11px;
}

.contact-menu-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 12px;
}

.back-button {
    display: flex;
    flex-grow: 0;
    align-items: center;
}

.back-button img {
    width: 22px;
    height: 22px;
}

.page-title {
    flex: 6;
    font-weight: 700;
    font-size: 24px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Chat Page Styles */
#messageArea {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    height: 78vh;
    background-color: hsl(225, 35%, 95%);
}

#messageForm {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 34px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    background-color: var(--BasicWhite);
    margin: 0;
}

#messageInput {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    line-height: 19px;
    display: flex;
}

#messageForm button {
    border: none;
    background: transparent;
    display: flex;
    padding: 0;
}

.message {
    position: relative;
    max-width: fit-content;
    margin-bottom: 15px;
    padding: 6px 12px;
    line-height: normal;
    border-radius: 18px;
}

.message:before {
    width: 20px;
}

.message:after {
    width: 26px;
    background-color: hsl(225, 35%, 95%);
}

.message:before,
.message:after {
    position: absolute;
    bottom: 0;
    height: 18px;
    content: '';
}

.message.sent {
    background-color: hsl(162, 84%, 47%);
    margin-left: auto;
}

.message.sent:before {
    right: -6px;
    background-color: hsl(162, 84%, 47%);
    border-bottom-left-radius: 16px 14px;
}

.message.sent:after {
    right: -26px;
    border-bottom-left-radius: 10px;
}

.message.received {
    background-color: var(--BasicWhite);
    color: hsl(224, 37%, 8%);
    margin-right: auto;
}

.message.received:before {
    left: -6px;
    background-color: var(--BasicWhite);
    border-bottom-right-radius: 16px 14px;
}

.message.received:after {
    left: -26px;
    border-bottom-right-radius: 10px;
}

.message .timestamp {
    font-size: 10px;
    color: hsl(226, 34%, 29%);
    padding: 1.5px;
}

.message.sent .timestamp {
    text-align: right;
}

.message.received .timestamp {
    text-align: left;
}

.ChatHeader {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 1em;
}

.ChatHeaderTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ChatTitle {
    font-size: 24px;
    font-weight: 700;
    color: hsl(226, 34%, 29%);
}

.ChatActionButton > a {
    background: hsl(0, 0%, 95%);
    border-radius: 12px;
    flex-grow: 0;
    padding: 8px 12px;
    text-decoration: none;
    color: hsl(0, 0%, 0%);
    font-size: 15px;
    font-weight: bold;
}

.chat-button{
    background: hsl(0, 0%, 95%);
    border-radius: 12px;
    flex-grow: 0;
    padding: 8px 12px;
    text-decoration: none;
    color: hsl(0, 0%, 0%);
    font-size: 15px;
    font-weight: bold;
}

#chatTitle {
    color: hsl(226, 34%, 29%);
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
}

/* User Profile Styles */
.SignInLink {
    color: var(--SaladGreen);
    text-decoration: none;
    font-weight: bold;
}

.verifyLink {
    color: hsl(162, 84%, 47%);
    font-weight: bold;
    text-decoration: underline;
}

.deleteAccount {
    color: hsl(0, 100%, 50%);
}

/* Hidden elements styles */
.hidden-data {
    display: none;
}

/* Form elements positioning */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#burgerMenu nav a.deleteAccount {
    color: hsl(0, 100%, 50%);
}

/* OTP Form Styles */
.Otp {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.OtpDigit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border-radius: 8px;
    border: 1px solid var(--Gray5);
    background-color: var(--Gray6);
}

.error-message {
    color: hsl(0, 100%, 50%);
    margin-top: 10px;
}

.form-button {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
}

/*----------------------------------------- Home Screen Styles --------------------------------------------------*/
#LowerHalf {
    position: absolute;
    overflow-y: auto;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 24px 24px 0 0;
    padding: 1em 0 0;
    background-color: var(--BasicWhite);
}

#ChargingSpotList {
    table-layout: fixed;
    border-spacing: 0 1ex;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
}

.ChargingSpot {
    cursor: pointer;
    background-color: hsl(0, 0%, 95%);
}

.ChargingSpot td:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.ChargingSpot td:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.ChargingSpot .Picture {
    text-align: left;
    vertical-align: middle;
    width: 60px;
}

.ChargingSpot .Picture img {
    width: 45px;
    height: 45px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 8px;
    background-color: hsl(0, 0%, 100%);
    border-radius: 100%;
}

.ChargingSpot .Description {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-top: 1ex;
    padding-bottom: 1ex;
}

.ChargingSpot .Description .Title {
    font-size: 16px;
    font-weight: 700;
}

.ChargingSpot .Description .Distance {
    font-size: 13px;
    font-weight: 400;
}

.ChargingSpot .Description .Status {
    font-size: 13px;
    font-weight: 400;
}

.ChargingSpot .Price {
    text-align: right;
    width: 90px;
    padding-right: 1ex;
}

.ChargingSpot .Price .Currency {
    font-size: 16px;
}

.ChargingSpot .Price .Value {
    font-size: 16px;
    font-weight: 700;
}

.ChargingSpot .Price .Unit {
    font-size: 13px;
}

.auto-accept {
    position: absolute;
    right: 12px;
    margin-top: -8px;
    width: auto;
    visibility: hidden;
    background-color: hsl(0, 0%, 74%);
    border-radius: 12px;
    height: 20px;
    font-size: 12px;
    letter-spacing: -0.3px;
    padding-right: 6px;
    padding-top: -4px;
}

.auto-accept-icon {
    position: relative;
    top: 3px;
    left: 2px;
    margin-left: 4px;
}

.rating-box {
    position: absolute;
    left: 34px;
    margin-top: 40px;
    padding-top: -1px;
    height: 16px;
    border: 1px solid hsl(0, 0%, 0%);
    background-color: var(--BasicWhite);
    border-radius: 8px;
    font-size: 12px;
}

.rating-star {
    margin-left: 2px;
    margin-top: 1px;
}

.rating-text {
    position: relative;
    font-size: 12px;
    color: hsl(0, 0%, 0%);
    top: -4px;
    left: -3px;
    padding: 0;
}

.body-bg {
    background-color: hsl(120, 2%, 94%);
}

.map-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50%;
    background-color: hsl(120, 100%, 25%);
}

.menu-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 10px;
    background: linear-gradient(180deg, var(--BasicWhite) 70.13%, hsla(0, 0%, 100%, 0) 100%);
}

.svg-icon {
    fill: var(--BasicWhite);
}

.location-box {
    display: flex;
    flex-direction: column;
    flex: 6;
    text-align: center;
    color: hsl(0, 0%, 20%);
}

.location-label {
    font-size: 12px;
    color: var(--WetStone);
}

.locality-value {
    max-width: calc(100vw - 120px);
    color: var(--NavyBlue);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
}

/* ---------------------------------------------Charger_Info Styles---------------------------------------------- */
.profile-tab-charger {
    table-layout: fixed;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    position: absolute;
    overflow: hidden;
}

/*
.Charger {
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 8px;
    background-color: var(--LightGrey);
    border-radius: 4px;
    margin-top: 12px;
    margin-bottom: 12px;
}
*/
.Charger--common {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.Charger--compact {
  padding: 8px;
  background-color: var(--LightGrey);
  border-radius: 4px;
  margin: 12px 0;
}

.Charger .chargingStation {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Typography */
.text-bold-16 {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: var(--Black);
}

.text-regular-13 {
    font-weight: 400;
    font-size: 13px;
    letter-spacing: -0.3px;
    color: var(--WetStone);
}
/* Utility classes for line-height */
.lh-15 {
    line-height: 15px;
}

.lh-16 {
    line-height: 16px;
}

.text-bold-22 {
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: -0.3px;
    color: var(--NavyBlue);
}

.text-regular-16 {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: var(--Black);
}



.status-indicator {
    width: 16px;
    height: 16px;
    background: var(--SaladGreen);
    border-radius: 8px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.auto-accept-icon {
    width: 14px;
    height: 14px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.Charger .TypeAndPower,
.Charger .NameAndPrice {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

td.Separator {
    border-top: 1px solid var(--BasicWhite);
}

.Charger .Type {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.Charger .Value,
.Charger .Power {
    text-align: right;
    white-space: nowrap;
}

.body-background {
    background-color: var(--BasicWhite);
}

/* Header Menu */
.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 11px 24px 0 24px;
}

.menu-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.back-arrow {
    display: flex;
    align-items: center;
    flex-grow: 0;
}

.back-arrow img {
    width: 22px;
    height: 22px;
}

.charger-name {
    flex: 6;
    font-weight: 700;
    font-size: 24px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: var(--NavyBlue);
}

.availability-status {
    flex-basis: 36px;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: var(--SaladGreen);
}

/* Profile Section */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.profile-picture {
    text-align: center;
    margin-top: 88px;
}

.profile-picture img {
    width: 96px;
    height: 96px;
    border-radius: 100%;
}

.profile-name {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-top: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: var(--NavyBlue);
}

.profile-rating {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
    color: var(--WetStone);
}

.profile-rating span {
    font-weight: 700;
    color: var(--SaladGreen);
}

/* Profile Data Section */
.profile-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 0;
}

/* Utility classes for flex order */
.order-0 {
    order: 0;
}

.order-2 {
    order: 2;
}

.data-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100px;
    height: 57px;
    flex: none;
    flex-grow: 0;
}

.data-block-title {
    font-size: 16px;
    line-height: 34px;
    color: hsl(250, 35%, 13%);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.data-block-subtitle {
    font-size: 14px;
    line-height: 23px;
    color: hsl(231, 10%, 46%);
    flex: none;
    order: 1;
    flex-grow: 0;
}

.vertical-divider {
    width: 32px;
    height: 0;
    border: 1px solid hsl(0, 0%, 87%);
    transform: rotate(90deg);
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Profile Tab Switcher */
.tab-switcher {
    margin: 1em;
    display: flex;
    width: auto;
    flex-direction: row;
    text-align: center;
    font-size: 14px;
    gap: 2em;
    padding-top: 1em;
}

.tab-button {
    text-transform: uppercase;
    flex: 1;
    padding: 10px;
    border-bottom-width: 3px;
    border-bottom-style: solid;
}

.tab-active {
    border-bottom-color: var(--SaladGreen);
    color: var(--Black);
}

.tab-inactive {
    border-bottom-color: var(--BasicWhite);
    color: var(--WetStone);
}

/* Profile Tab Activity */
.tab-activity {
    position: absolute;
    width: 100%;
    visibility: hidden;
    padding: 20px 20px 60px 20px;
    line-height: 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.activity-icon{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: hsl(0, 0%, 88%);
    border-radius: 4px;
}

.activity-text {
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
}

/* Profile Tab Reviews */
.tab-reviews {
    padding-bottom: 60px;
    position: absolute;
    width: 100%;
    visibility: hidden;
    padding-left: 20px;
    padding-right: 20px;
}

.review-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 10px;
    background: hsl(0, 0%, 95%);
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.review-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 4px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.reviewer-rating {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: hsl(0, 0%, 67%);
}

.review-text {
    font-size: 16px;
    line-height: 22px;
    color: hsl(0, 0%, 31%);
}

.hidden-meta {
    display: none;
}

.floating-button {
    display: block;
    cursor: pointer;
    position: fixed;
    font-size: 16px;
    padding: 1em;
    text-align: center;
    color: var(--NavyBlue);
    background: var(--MainGradient);
    box-shadow: var(--ButtonShadow);
    border-radius: 15px;
    bottom: 1em;
    left: 1em;
    right: 1em;
}

/* Component Page Styles */
.component-page *,
.component-page *::before,
.component-page *::after {
    box-sizing: border-box;
}

input.switch {
    opacity: 0;
    width: 0;
    height: 0;
}

input.switch + label {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    padding: 8px 12px;
    background-color: hsl(0, 0%, 95%);
    font-size: 15px;
    user-select: none;
}

input.switch:checked + label {
    background-image: linear-gradient(262.08deg, hsl(162, 84%, 47%) 15.69%, hsl(166, 86%, 43%) 87.07%);
}

input.toggle {
    opacity: 0;
    width: 0;
    height: 0;
}

input.toggle + label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    cursor: pointer;
    background-image: linear-gradient(262.08deg, hsl(0, 0%, 95%) 15.69%, hsl(0, 0%, 89%) 87.07%);
    transition: .4s;
    border-radius: 34px;
    box-shadow: 0 10px 35px hsla(0, 0%, 53%, 0.25);
    user-select: none;
}

input.toggle + label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-image: linear-gradient(305deg, hsl(0, 0%, 67%) 25%, var(--BasicWhite) 75%);
    transition: .4s;
    border-radius: 50%;
    z-index: 1;
}

input.toggle:checked + label {
    background-image: linear-gradient(262.08deg, hsl(162, 84%, 47%) 15.69%, hsl(166, 86%, 43%) 87.07%);
}

input.toggle:checked + label:before {
    transform: translateX(26px);
}

/* EditBio/Verify OTP Page Styles */
.verify-otp-page .Button {
    border: none;
    border-radius: 12px;
    display: block;
    font-size: 15px;
    letter-spacing: -0.3px;
    line-height: 18px;
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 12px 12px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    background-color: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 20%);
    font-weight: 700;
}

.verify-otp-page .Button.Main {
    color: hsl(226, 34%, 29%);
    font-weight: 400;
    text-transform: uppercase;
}

.verify-otp-page .PagePane {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: 100%;
    padding: 20px;
    background-color: hsl(0, 0%, 100%);
    overflow: hidden;
}

.verify-otp-page .PagePane.scrollable {
    overflow-y: auto;
}

.verify-otp-page input[type="text"],
.verify-otp-page input[type="password"],
.verify-otp-page input[type="tel"],
.verify-otp-page input[type="email"],
.verify-otp-page input[type="number"] {
    width: 100%;
    background-color: var(--LightGrey);
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--LightGrey);
    padding: 12px;
    font-size: 15px;
    margin-bottom: 14px;
    outline: none;
}

.verify-otp-page input[type="text"]:focus,
.verify-otp-page input[type="password"]:focus,
.verify-otp-page input[type="tel"]:focus,
.verify-otp-page input[type="email"]:focus,
.verify-otp-page input[type="number"]:focus {
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--EmeraldGreen);
    /*border-image: var(--MainGradient) 1;*/
}

.verify-otp-page textarea {
    width: 100%;
    background-color: var(--LightGrey);
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--LightGrey);
    padding: 12px;
    font-size: 15px;
    margin-bottom: 14px;
    outline: none;
}

.verify-otp-page textarea:focus {
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--EmeraldGreen);
    /*border-image: var(--MainGradient) 1;*/
}

.verify-otp-page input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: hsl(0, 0%, 100%);
    margin: 0;
    border: 1px solid hsl(162, 84%, 47%);
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.verify-otp-page input[type="checkbox"]:checked {
    background: var(--MainGradient);
    border-radius: 4px;
    position: relative;
}

.verify-otp-page input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2.75px;
    left: 4.75px;
    width: 10.5px;
    height: 7.5px;
    border: 1.5px solid var(--BasicWhite);
    border-top: none;
    border-right: none;
    transform: translate(-50%, -50%) rotate(-45deg);
    box-sizing: border-box;
    margin-top: 5.25px;
    margin-left: 5.25px;
}

.verify-otp-page .circle-container > svg {
    margin-right: 14px;
}

.verify-otp-page .Otp {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 11px;
}

.verify-otp-page .OtpDigit {
    text-align: center;
    width: 5em;
}

.mt-1em {
    margin-top: 1em;
}

.verify-otp-page .otp-error {
    color: hsl(0, 100%, 50%);
}

.verify-otp-page .otp-update-link {
    margin-top: 8px;
}

.verify-otp-page .update-info-link {
    background-color: transparent;
    color: hsl(226, 34%, 29%);
    text-align: left;
    padding: 0;
    border: none;
    text-decoration: underline;
}

.finish-button {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
}

/* Map Page Styles */
.fullscreen-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Swipe Page Styles */
.swipe-page {
    min-height: 100%;
}

/* Shared styles for Request In Progress and History pages */
.PageHeader {
    padding: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

#pageHeader {
    color: hsl(226, 34%, 29%);
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
}

.Container {
    height: 100vh;
}

.Bottom {
    bottom: 1em;
    left: 1em;
    right: 1em;
    position: fixed;
    padding: 1em;
    text-align: center;
    text-decoration: none;
}

#requestButton {
    border-radius: 15px;
    color: var(--NavyBlue);
    background: var(--MainGradient);
    box-shadow: var(--ButtonShadow);
}
/*
#ProfileTabCharger {
    padding: 20px;
    position: absolute;
    width: 100%;
}

.Charger {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1em;
    gap: 8px;
    font-size: 16px;
    background-color: hsl(225, 35%, 95%);
    border-radius: 12px;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-top: 50px;
    margin-bottom: 50px;
    overflow: hidden;
}
*/

.Charger--card {
  align-items: flex-start;
  padding: 1em;
  font-size: 16px;
  background-color: hsl(225, 35%, 95%);
  border-radius: 12px;
  margin: 50px 0;
  overflow: hidden;
}

.base-timer {
    position: relative;
    height: 188px;
    width: 188px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.base-timer__svg {
    height: 100%;
    width: 100%;
    transform-origin: center;
}

@keyframes rotateHand {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hour-hand {
    stroke: var(--Black);
    stroke-width: 8;
    transform-origin: center;
}

.base-timer__circle {
    transform-origin: center;
}

.base-timer__label {
    position: relative;
    top: 80px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-family: Raleway;
    color: var(--NavyBlue);
    font-weight: bold;
}

.base-timer__outer-ring {
    stroke-width: 10px;
    fill: none;
    stroke: hsl(162, 84%, 47%);
}

.base-timer__inner-ring {
    stroke-width: 10px;
    fill: none;
    stroke: hsl(136, 72%, 67%);
}

/* Shared styles for History pages */
.history-menu-bar {
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    position: absolute;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 11px;
}

.history-menu-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 12px;
}

.history-back-link {
    display: flex;
    flex-grow: 0;
    align-items: center;
}

.history-back-link img {
    width: 22px;
    height: 22px;
}

.history-title {
    flex: 6;
    font-weight: 700;
    font-size: 24px;
    color: var(--NavyBlue);
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.history-table {
    table-layout: fixed;
    width: calc(100% - 40px);
    margin-top: 60px;
    margin-left: 20px;
    margin-right: 20px;
    position: absolute;
}

.history-row {
    display: flex;
    flex-direction: column;
    padding: 7px 10px;
    gap: 10px;
    background-color: var(--LightGrey);
    border-radius: 5px;
    margin-bottom: 20px;
}

.history-row-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.history-row-name {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-row-name span {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: var(--NavyBlue);
}

.history-row-status {
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.history-row-status span {
    font-weight: 400;
    font-size: 13px;
    line-height: 12px;
    color: var(--WetStone);
}

.history-row-status .state {
    color: var(--EmeraldGreen);
}

.history-row-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.history-row-detail-label {
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    align-items: center;
    color: var(--WetStone);
}

.history-row-detail-value {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    align-items: center;
    color: var(--Black);
}

.history-row-detail-right {
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Session Details and Info Row Styles (Request Finished/Pay/Pay Owner) */
.session-details {
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.3px;
    color: hsl(224, 37%, 8%);
    margin-bottom: 1em;
    text-overflow: ellipsis;
}

.info-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.left-div,
.right-div {
    display: flex;
    flex-direction: column;
    line-height: 19px;
    letter-spacing: -0.3px;
}

.info-label {
    color: hsl(235, 8%, 68%);
    margin-bottom: 1em;
}

.info-value {
    color: hsl(166, 86%, 43%);
    margin-bottom: 1em;
    text-align: end;
}

/* Charger block for finished/pay pages */
.Charger.session-finished {
    background-color: var(--BasicWhite);
    /* Use .session-finished to override background if needed */
}

/* --- Custom classes for moved inline styles --- */

/* Request_On_The_Way.html */

.Charger--light {
  align-items: flex-start;
  padding: 1em;
  font-size: 16px;
  background-color: hsl(228, 38%, 95%);
  border-radius: 12px;
  margin: 12px 12px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.profile-picture-img {
    width: 96px;
    height: 96px;
    border-radius: 100%;
}
.profile-rating-star {
    color: hsl(162, 84%, 47%);
    font-weight: 700;
}
.profile-rating-count {
    color: hsl(235, 8%, 68%);
    font-weight: 400;
}
.charger-title {
    font-weight: 700;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(226, 34%, 29%);
    flex: none;
    text-overflow: ellipsis;
}
.charger-address {
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(224, 37%, 8%);
    flex-grow: 0;
}
.charger-map-link {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 51%);
    flex: none;
    flex-direction: column-reverse;
    display: flex;
    width: 100%;
    align-items: end;
}
.charger-map-link-a {
    color: hsl(162, 84%, 47%);
    text-decoration: none;
}

/* Request_Pay.html & Request_Finished.html */
.pay-title {
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    line-height: 23.48px;
    letter-spacing: -0.3px;
    color: hsl(226, 34%, 29%);
}
.pay-logo {
    width: 5em;
    height: 5em;
}
.pay-desc {
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    line-height: 23.48px;
    letter-spacing: -0.3px;
    color: hsl(224, 37%, 8%);
}

/* Request_Pay_Form.html */
.stripe-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.stripe-payment-form {
    display: none;
}

/* Request_In_Progress.html */
.profile-tab-charger-inprogress {
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    width: 100%;
    margin-top: 40px;
}
.charger-header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 6px;
    flex: none;
    order: 0;
    flex-grow: 0;
}
.charger-header-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(226, 34%, 29%);
    flex: none;
    order: 0;
    flex-grow: 0;
    text-overflow: ellipsis;
}
.charger-details-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}
.charger-details-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 2px;
    flex: none;
    order: 0;
    flex-grow: 0;
}
.charger-details-col-end {
    align-items: flex-end;
}
.charger-details-type {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 20%);
    flex: none;
    order: 0;
    flex-grow: 0;
}
.charger-details-label {
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 51%);
    flex: none;
    order: 1;
    flex-grow: 0;
}
.charger-starttime-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 2px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Style for Login.html */
.Button {
    border: none;
    border-radius: 12px;
    display: block;
    font-size: 15px;
    letter-spacing: -0.3px;
    line-height: 18px;
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 12px 12px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    background-color: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 20%);
    font-weight: 700;
}

.Button.Main {
    color: hsl(226, 34%, 29%);
    font-weight: 400;
    text-transform: uppercase;
}

.BottomPane {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--BasicWhite);
    border-radius: 24px 24px 0 0;
    padding: 1em 20px;
    box-shadow: 0 -4px 20px hsla(0, 0%, 0%, 0.25);
}

.PagePane {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: 100%;
    padding: 20px;
    background-color: hsl(0, 0%, 100%);
    overflow: hidden;
}

.PagePane.scrollable {
    overflow-y: auto;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="number"] {
    width: 100%;
    background-color: var(--LightGrey);
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--LightGrey);
    padding: 12px;
    font-size: 16px;
    margin-bottom: 14px;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--EmeraldGreen);
    /*border-image: var(--MainGradient) 1;*/
}

textarea {
    width: 100%;
    background-color: var(--LightGrey);
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--LightGrey);
    padding: 12px;
    font-size: 16px;
    margin-bottom: 14px;
    outline: none;
}

textarea:focus {
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--EmeraldGreen);
    /*border-image: var(--MainGradient) 1;*/
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: hsl(0, 0%, 100%);
    margin: 0;
    border: 1px solid hsl(162, 84%, 47%);
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

input[type="checkbox"]:checked {
    background: var(--MainGradient);
    border-radius: 4px;
    position: relative;
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2.75px;
    left: 4.75px;
    width: 10.5px;
    height: 7.5px;
    border: 1.5px solid var(--BasicWhite);
    border-top: none;
    border-right: none;
    transform: translate(-50%, -50%) rotate(-45deg);
    box-sizing: border-box;
    margin-top: 5.25px;
    margin-left: 5.25px;
}

.circle-container {
    display: flex;
    justify-content: start;
}

.circle-container > svg {
    margin-right: 14px;
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 73.25px;
    height: 73.25px;
    border-radius: 40%;
    padding: 8px 12px;
    background-color: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 20%);
    font-size: 15px;
    font-weight: normal;
    font-family: Raleway;
}

.UserTypeButton {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: hsl(0, 0%, 95%);
    border-radius: 12px;
    border: 2px solid hsl(0, 0%, 95%);
}

.UserTypeButton:active {
    background: hsl(0, 0%, 82%);
}

.UserTypeButton.selected {
    background: hsl(0, 0%, 89%);
    border: 2px solid hsl(162, 84%, 47%);
}

.TabButton {
    flex: 1;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: var(--BasicWhite);
    padding: 8px 10px;
}

.TabButton.Active {
    border-bottom-color: var(--EmeraldGreen);
    border-image: var(--MainGradient) 1;
}

.Tab {
    display: none;
}

.Tab.Active {
    display: flex;
}

.Otp {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 11px;
}

.OtpDigit {
    text-align: center;
    width: 5em;
}

.tooltip-icon {
    position: relative;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    line-height: 1.4em;
    text-align: center;
    border-radius: 50%;
    background-color: hsl(211, 100%, 50%); /* blue circle */
    color: hsl(0, 0%, 100%); /* white "?" */
    font-weight: bold;
    font-size: 0.9rem;
    cursor: help;
    margin-left: 0.25em;
}

.tooltip-icon .tooltip-text {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    bottom: 125%; /* above the icon */
    left: 50%;
    transform: translateX(-50%);
    background: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    padding: 0.75em 1em;
    border-radius: 4px;
    white-space: normal; /* allow wrapping */
    font-size: 0.85rem;
    z-index: 10;
    max-width: 50em; /* constrain width */
    text-align: left;
}

.tooltip-icon:hover .tooltip-text,
.tooltip-icon:focus-within .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-icon .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: hsl(0, 0%, 20%) transparent transparent transparent;
}

.logo{
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 23.48px;
    letter-spacing: -0.3px;
}

.chatncharge-logo{
    width: 5em;
    height: 5em;
}

.bottomPane-head{
    font-size: 24px;
}

.bottomPane-next{
    visibility: hidden;
}

.pagePane-next{
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

.pagePane-head{
    display: flex;
    flex-grow: 0;
    align-items: center;
}

.tab-head{
    flex-direction: column;
}

.pagePane-img{
    width: 22px;
    height: 22px;
}

.tab-profile{
    display: flex;
    flex-direction: row;
    text-align: center;
    font-size: 14px;
    color: hsl(0, 0%, 51%);
    padding-top: 1em;
}

.login-tab{
    justify-content: center;
    padding-top: 20px;
}

.btn-main{
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
}

.label-head{
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-pass{
    position: absolute;
    right: 32px;
    margin-top: -74px;
}

.profile-head{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    gap: 16px;
    width: 100%;
    text-align: center;
}

.driver-head{
    font-size: 19px;
    font-weight: 700;
}

.style-head{
    color: hsl(226, 34%, 29%)
}

.signup-head{
    position: absolute;
    text-decoration:none;
    text-align: center;
    bottom: 105px;
    color: hsl(235, 8%, 68%);
    width: calc(100% - 40px);
    font-size: 14px;
}

.driver-term{
    margin-top: 20px
}

.driver-label{
    display: flex;
    align-items: center
}

.driver-input{
    transform: scale(1.2);
}

input[type="checkbox"].driver-input {
    margin-right: 10px;
}


.terms-cond{
    color: hsl(211, 100%, 50%);
    text-decoration: none;
    display: block;
    margin-left: 28px;
    margin-top: 4px;
}

.privacy-policy{
    color: hsl(211, 100%, 50%);
    text-decoration: none;
    display: block;
    margin-left: 28px;
    margin-top: 2px;
}

.verify-now{
    display: flex;
    gap: 10px
}

.payment-modal{
    margin-left: 1.2em
}

.price-modal{
    font-size: 15px
}

.auto-accept-head{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center
}

/** charger_edit.html **/

.Tab.Active {
    display: flex;
    flex-direction: column;
}

.map-updt{
    height: 50vh;
    background-color: hsl(120, 100%, 25%)
}

.foot-btn{
    display: flex;
    justify-content: space-between
}

.cancel-btn{
    position: relative;
    margin-top: 50px;
    bottom: 20px;
    width: calc(100%)
}
/**Chargers.html **/
.charge-spot{
    margin-top: 60px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.charge-spot-next{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 10px;
    background: hsl(0, 0%, 95%);
    border-radius: 4px
}

.charge-icon{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 8px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.charge-name{
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.charge-img{
    padding: 0;
    flex: none;
    order: 1;
    flex-grow: 0;
    width: 18px;
    height: 19px
}

.charger-ev{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0
}

.charger-ev-next{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 9px;
    gap: 2px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.charger-modal{
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.ac-charger{
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
    flex: none;
    order: 1;
    flex-grow: 0;
}

.charge-price{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    gap: 2px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.price-min{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 4px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.price-per-min{
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
    flex: none;
    order: 0;
    flex-grow: 0
}

.minute-price{
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
    flex: none;
    order: 1;
    flex-grow: 0;
}

.available{
    border: 1px solid hsl(0, 0%, 74%);
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0
}

.available-next{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 30px;
    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
}

.charge-available{
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.available-img{
    width: 36.36px;
    height: 20px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/** Homescreen.html/owner **/

.main-btn{
    color: hsl(226, 34%, 29%);
    font-weight: 400;
    text-transform: uppercase;
    width: calc(100% - 40px);
    margin: 14px 20px;
}

.circle-container {
    display: flex;
    justify-content: start;
}

.circle-container > svg {
    margin-right: 14px;
}

.owner-menu{
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    position: absolute;
    background: linear-gradient(180deg, var(--BasicWhite) 70.13%, hsla(0, 0%, 100%, 0) 100%)
}

.owner-menu-next{
    display: flex;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 10px;
}

.chat-page{
    flex: 6;
    text-align: center;
    color: hsl(0, 0%, 20%);
}

.owner-home{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    gap: 68px;
    margin-top: 60px;
    margin-left: 20px;
    margin-right: 20px;
}


.owner-login{
    display: flex;
    flex-direction: row;
    align-items: start;
    padding: 0px;
    gap: 12px;
    flex: none;
    order: 0;
    flex-grow: 0
}

.owner-names{
    width: 100px;
    height: 100px;
    background: hsl(0, 0%, 95%);
    border-radius: 15px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.business-details{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.owner-business{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 0px;
    gap: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.name-surname{
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: var(--NavyBlue);
    flex: none;
    order: 0;
    flex-grow:0;
}

.business-names{
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.3px;
    color: hsl(0, 0%, 0%)
}

.metrics{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0px;
    gap: 4px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.owner-homescreen{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    margin-top: 20px;
    margin-left: 20px;
    width: calc(100% - 40px);
    margin-right: 20px;
}

.homescreen-img{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 8px;
    background: var(--LightGrey);
    border-radius: 8px;
    flex: none;
    order: 0;
    flex-grow: 1
}

.owner-homescreen-img{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.homescreen-svg{
    width: 16px;
    height: 16px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.total-charged{
    font-size: 12px;
    line-height: 14px;
    color: var(--NavyBlue);
    opacity: 0.7;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.ev{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 0px;
    gap: 8px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.ev-charged{
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: var(--Black);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.ev-totalCharged{
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: var(--Black);
    opacity: 0.7;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.wallet{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 8px;
    background: var(--LightGrey);
    border-radius: 8px;
    flex: none;
    order: 1;
    flex-grow: 1
}

.wallet-svg{
    width: 17px;
    height: 16px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.wallet-balance{
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: var(--Black);
    flex: none;
    order: 0;
    flex-grow: 1;
}

.bookings{
    padding-left: 20px;
    padding-right: 20px;
}

.active-session{
    font-size: 18px;
    font-weight: 700;
    color: var(--NavyBlue);
}

.booking-views{
    width: 100%;
}

.booking-views-next{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 8px;
    background-color: var(--LightGrey);
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

.session-views{
    display: flex;
    justify-content: space-between;
    align-self: stretch;
}

.sessions{
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.bookingView-name{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 2px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.ev-modal{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 2px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.ev-bookingView{
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.3px;
    color: var(--Black);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.model-ev{
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.3px;
    color: var(--WetStone);
    flex: none;
    order: 1;
    flex-grow: 0;
}

.charger-states{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    order:1;
}

.bookingView-state{
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: -0.3px;
    color: var(--WetStone);
    flex: none;
    flex-grow: 0;
}

/** Request_in_progress_owner.html **/

.gradient-linear{
    stop-color: hsl(0, 0%, 100%)
}

.gradient-linear-alt{
    stop-color: hsl(161, 84%, 45%)
}

.gradient-linear-light{
    stop-color: hsl(81, 62%, 74%)
}

.circle-outer{
    stroke:url(#outerGradient);
    stroke-width: 50;
    fill-opacity: 0;
}

.circle-inner{
    stroke:url(#innerGradient);
    stroke-width: 50;
    fill-opacity: 0;
}

.gradient-secondHand{
    stop-color: hsl(209, 100%, 55%)
}

.gradient-secondHand-linear{
    stop-color: hsl(156, 87%, 60%)
}

.power-output-container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    gap: 2px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/** walletWithdraw.html **/
input.MonetaryAmount {
    text-align: right;
    padding-right: 3em;
}
label.CurrencyLabel {
    border-left: 1px solid var(--EmeraldGreen);
    position: absolute;
    right: 12px;
    padding-left: 8px;
    margin-right: 20px;
    margin-top: 12px;
    z-index: 1;
}

.current-balance{
    margin: 72px 20px 32px;
    display: flex;
    padding: 24px 12px 12px 12px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 24px;
    background: var(--LightGrey);
}

.balance-wallet{
    font-size: 40px;
    font-weight: 700
}

.withdraw-action{
    margin: 32px 20px;
    display: flex;
    flex-direction: column
}

/*CSS for phone number input using "intl-tel-input"*/

.iti {
    width: 100%;
    margin-bottom: 14px;
}

.iti__country-list {
    background-color: var(--BasicWhite);
    border: 2px solid var(--LightGrey);
    border-radius: 12px;
    box-shadow: 0 4px 10px hsla(0, 0%, 0%, 0.1);
    font-family: 'Raleway', sans-serif;
}

.iti__country {
    padding: 12px;
    border-bottom: 1px solid var(--LightGrey);
}

.iti__country:hover {
    background-color: var(--LightGrey);
}

.iti__country.iti__highlight {
    background-color: var(--SaladGreen);
    color: var(--BasicWhite);
}

.iti__flag-container {
    background-color: var(--LightGrey);
    border: 2px solid var(--LightGrey);
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.iti__selected-flag {
    background-color: var(--LightGrey);
    border-radius: 12px 0 0 12px;
    padding: 12px;
}

.iti__selected-flag:hover {
    background-color: hsl(225, 35%, 90%);
}

.iti input[type="tel"] {
    background-color: var(--LightGrey);
    border: 2px solid var(--LightGrey);
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 12px;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    width: 100%;
    outline: none;
}

.iti input[type="tel"]:focus {
    border-color: var(--EmeraldGreen);
}

.iti.iti--allow-dropdown input[type="tel"]:focus + .iti__flag-container {
    border-color: var(--EmeraldGreen);
}

.iti__arrow {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--WetStone);
}

