﻿.cirContainer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 10px;
    padding-top:1.5%;
}

.gridContainer {
    display: grid;
    grid-template-areas:
        "heater heater heater heater"
        "P1 P2 P3 P4"
        "P5 P6 P7 P8"
        "P9 P10 P11 P12";
    grid-template-rows: 1fr 3fr 3fr 3fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    height: 85%;
    width: 85%;
}

.heater {
    grid-area: heater;
    display: flex;
    flex-direction:row;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: var(--cardBg);
    border-radius: 10px;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: clamp(0.9rem, 0.8vw, 1.5rem);
    padding:15px;
}

.pump {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #bfc4c8;
    border-radius: 10px;
    color: white;
}

.P1 {
    grid-area: P1;
}
.P2 {
    grid-area: P2;
}
.P3 {
    grid-area: P3;
}
.P4 {
    grid-area: P4;
}
.P5 {
    grid-area: P5;
}
.P6 {
    grid-area: P6;
}
.P7 {
    grid-area: P7;
}
.P8 {
    grid-area: P8;
}
.P9 {
    grid-area: P9;
}
.P10 {
    grid-area: P10;
}
.P11 {
    grid-area: P11;
}
.P12 {
    grid-area: P12;
}

.pump_iconCard {
    width: auto;
    height: auto;
}

.pump_img {
    position:relative;
    display: flex;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    border-radius: 10px;
    width: 35%;
    height: 50%;
    background-size: 55% auto;
}
    .pump_img.imgPumpGray:hover {
        background-color: #ffed00;
    }

    .pump_img.imgPumpGray.select {
        background-color: var(--navBarA);
    }

.wrapperRowIco {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    width: 100%;
    height: 100%;
}
    .wrapperRowIco:hover {
        background-color: #ffed00;
        border-radius:10px;
    }
    .wrapperRowIco.select {
        background-color: var(--navBarA);
    }

.wrapperIcoPump {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.pump_img_small {
    display: flex;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 100%;
    background-size: 65% auto;
}

.pumpMenu {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1px;
    z-index: 999;
    left: 10%;
    top: 110%;
    width: 250%;
    height: auto;
    padding: 10px;
    border-radius: 5px;
    background-color: white;
    border-color: #77818a;
    border-style: solid;
    border-width: 1px;
}

.menuItemLabelPump {
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(0.2rem, 1vw, 1rem);
    color: black;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.imgPumpGray {
    background-image: url('../asset/img/PNG/pumpCard/pump_gray.png');
}

.imgPumpGreen {
    background-image: url('../asset/img/PNG/pumpCard/pump_green.png');
}

.imgPumpBlue {
    background-image: url('../asset/img/PNG/pumpCard/pump_blue.png');
}

.imgPumpRed {
    background-image: url('../asset/img/PNG/pumpCard/pump_red.png');
}

.pumpEraseIco {
    top: 10px; /*-20*/
    right: 10px; /*-20*/
    display: flex;
    position: absolute;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    color: #f76973;
    border-radius: 20px;
    background-color: white;
}

    .pumpEraseIco:hover {
        color: red;
        cursor: pointer;
    }

.pumpLabel {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(0.2rem, 1vw, 1rem);
    color:black;
}

.pumpNameButton {
    position: absolute;
    bottom: 10px;
    left: 10px;
    border-radius: 5px;
    color: var(--cardBg);
    padding:5px;
}
    .pumpNameButton:hover {
        background-color: #ffed00;
        border-radius: 10px;
    }
    
    .wrapperRowIco.select {
        background-color: var(--navBarA);
    }

.pumpNameEditText {
    position: absolute;
    display: flex;
    z-index: 999;
    left: 8%;
    top: 92%;
    width: 150%;
    height: 40%;
    color: black;
    border-radius: 2px;
    padding: 5px;
    outline: none;
    background-color: #e6f2ff;
    border: 1px solid var(--cardBg);
}
    .pumpNameEditText:focus {
        border-radius: 10px;
        outline: 1px solid var(--navBarA);
        background-color: white;
    }