/* SmogControl Widget Stylesheet */

* {
    padding: 0;
    margin: 0;
    color: #FFF;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    overflow: hidden;
    z-index: 10;
    position: relative;
    width: 300px;
    border-radius: 10px;
}

/* RESPONSIVE CIRCLES - Auto-responsive versions */

.Circle11 {
    z-index: 100;
    position: absolute;
    height: 27.4vh;
    min-height: calc(81px + .5vh);
    width: 27.4vh;
    min-width: calc(81px + .5vh);
    right: -6.6vh;
    top: -9.9vh;
    border-radius: 50%;
    background-color: rgba(253, 253, 253, 0.7);
    animation: enlarge;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

.Circle22 {
    z-index: 80;
    position: absolute;
    height: 50vw;
    min-height: calc(151px + .5vw);
    width: 50vw;
    min-width: calc(151px + .5vw);
    right: -16.5vw;
    top: -23.1vw;
    border-radius: 50%;
    opacity: 0.5;
    animation: enlarge;
    animation-duration: 7s;
    animation-iteration-count: infinite;
}

.Circle33 {
    z-index: 50;
    position: absolute;
    height: 66.5vw;
    min-height: calc(201px + .5vw);
    width: 66.5vw;
    min-width: calc(201px + .5vw);
    right: -16.5vw;
    top: -33vw;
    border-radius: 50%;
    opacity: 0.7;
    animation: enlarge;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

/* FIXED CIRCLES - Legacy versions */

.Circle1 {
    z-index: 100;
    position: absolute;
    height: 82px;
    width: 82px;
    right: -20px;
    top: -30px;
    border-radius: 50%;
    background-color: rgba(253, 253, 253, 0.7);
    animation: enlarge;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

.Circle2 {
    z-index: 80;
    position: absolute;
    height: 151px;
    width: 151px;
    right: -50px;
    top: -70px;
    border-radius: 50%;
    opacity: 0.5;
    animation: enlarge;
    animation-duration: 7s;
    animation-iteration-count: infinite;
}

.Circle3 {
    z-index: 50;
    position: absolute;
    height: 201px;
    width: 201px;
    right: -50px;
    top: -100px;
    border-radius: 50%;
    opacity: 0.7;
    animation: enlarge;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

/* CONTENT ELEMENTS */

.sun {
    z-index: 1000;
    font-size: 15px !important;
}

.logosc {
    z-index: 1000;
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-size: 20px;
    right: 1px;
    top: -2px;
    background-size: 50px;
}

img {
    width: 50px;
    height: 50px;
}

.img2 {
    min-width: calc(50px + 0.5vh);
    min-height: calc(50px + 0.5vh);
    width: 16.5vh;
    height: 16.5vh;
}

.Temp {
    z-index: 1000;
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-size: 35px;
    font-weight: 400;
    left: 20px;
    bottom: 5px;
}

#F {
    z-index: 1000;
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-size: 30px;
}

.Time {
    z-index: 1000;
    position: absolute;
    font-family: "Noto Sans", sans-serif;
    font-size: 18px;
    font-weight: 200;
    right: 20px;
    top: 80px;
}

.locationIcon {
    z-index: 1000;
    font-size: 11px !important;
}

.locationIconauto {
    z-index: 1000;
    font-size: 3.8vh !important;
}

.address {
    z-index: 1000;
    position: absolute;
    font-family: "Noto Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    bottom: 8px;
    left: 0;
    color: #415454;
}

.addressauto {
    z-index: 1000;
    position: absolute;
    font-family: "Noto Sans", sans-serif;
    font-size: 3.8vh;
    font-weight: 600;
    width: 100%;
    text-align: center;
    bottom: 8px;
    right: 0;
    color: #415454;
}

.danepow {
    z-index: 1000;
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 200;
    left: 50px;
    top: 80px;
    border-collapse: collapse;
}

.danepow td,
.danepow th {
    text-align: left;
    padding: 0px;
    padding-right: 15px;
    color: rgb(70, 68, 68);
    font-weight: 600;
    border-left: 0px solid rgb(201, 199, 199);
}

.sensor_logo {
    z-index: 1000;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 10px;
    left: 10px;
}

.sponsor {
    z-index: 1000;
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #415454;
    left: 75px;
    top: 18px;
    margin-right: 20%;
}

.sponsorauto {
    z-index: 1000;
    position: absolute;
    font-family: "Roboto", sans-serif;
    font-size: 5vh;
    font-size: calc(7px + 2.5vh);
    font-weight: 600;
    color: #415454;
    left: 25.6vh;
    top: calc(9px + 5.6vh);
    margin-right: 20%;
}

.air_info {
    z-index: 1000;
    position: absolute;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 200;
    margin-right: 10%;
    margin-left: 20%;
    left: 40px;
    bottom: 60px;
}

.ikonki {
    font-size: 12px;
    color: rgb(70, 68, 68);
}

.h6 {
    position: absolute;
    margin-right: 20%;
    z-index: 1000;
}

.powietrze {
    font-family: "Noto Sans", sans-serif;
    font-size: 30;
    padding-left: 18;
    color: white;
}

/* COLUMNS LAYOUT */

.columns {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: repeat(1, 1fr);
    position: absolute;
    left: 0px;
    /* width: 100%; */
    width: 82%;
    z-index: 1000;
}

.columns_big {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: absolute;
    left: 0px;
    width: 100%;
    z-index: 1000;
}

.col {
    font-family: "Noto Sans", sans-serif;
    padding: 2px 5px;
    text-align: center;
    width: 100%;
    background: rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*min-height: 75px;*/
}

.col_start {
    border-radius: 0px 0px 0px 0px;
}

.col_end {
    align-self: flex-end;
    padding-top: 10px;
    border-radius: 0px 0px 0px 0px;
}

.krzywa_lewy_top {
    border-radius: 10px 0px 0px 0px;
}

.krzywa_prawy_top {
    border-radius: 0px 10px 0px 0px;
}

.krzywa_lewy_down {
    border-radius: 0px 0px 0px 10px;
}

.krzywa_prawy_down {
    border-radius: 0px 0px 10px 0px;
}

.krzywa_okolo {
    border-radius: 10px;
}

.col2 {
    font-family: "Noto Sans", sans-serif;
    padding-left: 5px;
    padding-right: 19px;
    padding-bottom: 10px;
    text-align: center;
    width: 90%;
    background: rgba(0, 0, 0, 0.06);
}

.col3 {
    font-family: "Noto Sans", sans-serif;
    padding-left: 5px;
    padding-right: 10px;
    padding-bottom: 10px;
    text-align: left;
    width: 90%;
    background: rgba(0, 0, 0, 0.06);
}

.col4 {
    font-family: "Noto Sans", sans-serif;
    padding-left: 5px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 6px;
    text-align: left;
    width: 90%;
    background: rgba(0, 0, 0, 0.00);
}


/* MODERN RESPONSIVE WIDGET (Variant 10) */

.modern-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    padding: 3vh;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

.modern-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4vh;
    z-index: 100;
}

.modern-sensor-logo {
    height: 12vh;
    width: auto;
}

.modern-title-group {
    text-align: center;
}

.modern-sensor-name {
    font-size: 5vh;
    font-weight: 700;
    color: #415454;
}

.modern-branding-logo {
    height: 8vh;
    width: auto;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3vh;
    flex-grow: 1;
    z-index: 100;
}

.modern-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 3vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.modern-label {
    font-size: 3vh;
    font-weight: 300;
    text-transform: uppercase;
    color: #415454;
    margin-bottom: 1vh;
}

.modern-value-group {
    display: flex;
    align-items: baseline;
    gap: 1vh;
}

.modern-value {
    font-size: 10vh;
    font-weight: 900;
    color: #415454;
}

.modern-unit {
    font-size: 4vh;
    font-weight: 400;
    color: #415454;
}

.modern-status {
    font-size: 2.5vh;
    font-weight: 700;
    margin-top: 1vh;
    color: #415454;
    /* text-transform: uppercase; */
}

.modern-footer {
    padding: 2vh;
    text-align: center;
    z-index: 100;
}

.modern-address {
    font-size: 3.5vh;
    font-weight: 600;
    color: #415454;
}

/* LED PANEL WIDGETS (Variants 11-18) */

.led-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    /* Two-column layout */
    justify-content: space-around;
    align-items: center;
    font-family: 'Noto Sans', sans-serif;
    color: #FFF;
    text-align: center;
    overflow: hidden;
    padding: 2vmin;
    box-sizing: border-box;
}

.led-icon-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.led-icon {
    font-size: 40vmin;
    /* Extra large icon */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.led-data-col {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 2vmin;
    z-index: 100;
}

.led-label {
    font-size: 18vmin;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2vmin;
    letter-spacing: 0.5px;
}

.led-value-container {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.led-value {
    font-size: 50vmin;
    /* Significantly larger value */
    font-weight: 900;
    line-height: 0.9;
}

.led-unit {
    font-size: 20vmin;
    font-weight: 600;
    margin-left: 1vmin;
    opacity: 0.9;
}

/* PM Status Specific Colors for LED */
.led-status-green {
    background-color: #96c11f;
}

.led-status-orange {
    background-color: #f39200;
}

.led-status-red {
    background-color: #e33110;
}

.led-status-gray {
    background-color: #919191;
}

/* Standalone Icon Widget (Variant 19) */
.led-container-center {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 100;
}

.led-icon-standalone {
    font-size: 85vmin;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* ANIMATIONS */

@keyframes enlarge {
    50% {
        transform: scale(1.2);
    }
}