/* === [AUTO-CSS] UNIVERSAL ======================== */

* {
    box-sizing: border-box;
}


/* === [AUTO-CSS] ROOT ============================= */

:root {
    --bg: #f5f7f5;
    --dark: #17231b;
    --green: #2f7d4a;
    --green-light: #eaf4ed;
    --line: #dfe6e1;
    --muted: #748078;
    --orange: #c9842b;
    --red: #d84242;
    --text: #26342b;
    --white: #fff;
}


/* === [AUTO-CSS] TAGS ============================= */

body {
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}

button, input {
    font: inherit;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
}

header .wrap {
    align-items: center;
    display: flex;
    gap: 25px;
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

input[type=range] {
    accent-color: var(--green);
    width: 100%;
}

nav {
    align-items: center;
    display: flex;
    gap: 28px;
    margin-left: auto;
}

nav a {
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
}


/* === [AUTO-CSS] CLASSES ========================== */

.activity-row {
    border-bottom: 1px solid var(--line);
    display: grid;
    font-size: 12px;
    grid-template-columns:100px 1fr 160px;
    padding: 13px 18px;
}

.activity-row:last-child {
    border: 0;
}

.activity-time {
    color: var(--muted);
}

.activity-value {
    color: var(--green);
    font-weight: bold;
    text-align: right;
}

.btn {
    background: var(--green);
    border: 0;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    padding: 11px;
    width: 100%;
}

.btn-row {
    display: grid;
    gap: 8px;
    grid-template-columns:1fr 1fr;
}

.btn.secondary {
    background: #edf2ee;
    color: var(--text);
}

.btn:hover {
    background: #25663c;
}

.camera {
    align-items: center;
    background: linear-gradient(135deg, #243a2b, #142219);
    color: #b7c7bb;
    display: flex;
    justify-content: center;
    min-height: 430px;
    position: relative;
}

.camera-badge {
    background: #ffffff14;
    border: 1px solid #ffffff25;
    border-radius: 5px;
    color: #dbe7de;
    font-size: 11px;
    font-weight: bold;
    left: 20px;
    padding: 7px 11px;
    position: absolute;
    top: 20px;
}

.camera-icon {
    font-size: 45px;
    margin-bottom: 12px;
}

.camera-name {
    bottom: 20px;
    color: #fff;
    font-size: 13px;
    left: 20px;
    position: absolute;
}

.camera-placeholder {
    text-align: center;
}

.camera-placeholder b {
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.camera-placeholder small {
    display: block;
    margin-top: 7px;
}

.camera-placeholder strong {
    color: #fff;
    display: block;
    font-size: 16px;
}

.cancel-button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    font-size: 13px;
    justify-content: center;
    text-decoration: none;
}

.cancel-button,
.login-button {
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    height: 48px;
    transition: .15s;
    font-size: 13px;
}

.cancel-button:hover {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--green);
}

.control {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}

.control h3 {
    font-size: 14px;
    margin: 0;
}

.control small {
    color: var(--muted);
}

.control-head {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.control-icon {
    font-size: 22px;
}

.control-status {
    background: #f6f8f6;
    border-radius: 5px;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 12px;
}

.control-status b {
    color: var(--green);
}

.controlling {
    color: var(--green)!important;
}

.demo-mode {
    background: var(--green-light);
    border-radius: 4px;
    color: var(--muted);
    font-size: 11px;
    padding: 6px 10px;
}

.dev-box {
    background: var(--green-light);
    border: 1px solid #d8e9dc;
    border-radius: 10px;
    margin: auto;
    max-width: 800px;
    padding: 35px;
}

.dev-box p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.dev-box strong {
    color: var(--green);
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.development {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 10px;
    gap: 7px;
    white-space: nowrap;
}

.dot {
    background: #f0f;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #faf1dd;
    height: 8px;
    width: 8px;
}

.dot.green {
    background: #37a45a;
}

.dot.orange {
    background: #e2a52b;
}

.environment {
    padding: 28px;
}

.environment h3 {
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0 0 15px;
}

.eyebrow {
    color: var(--green);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.feature {
    padding: 25px;
}

.feature h3 {
    color: var(--dark);
    font-size: 17px;
    margin: 0 0 10px;
}

.feature p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.feature-grid {
    display: grid;
    gap: 30px;
    grid-template-columns:repeat(3, 1fr);
}

.feature-icon {
    font-size: 25px;
    margin-bottom: 18px;
}

.field {
    margin-bottom: 20px;
}

.field input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    height: 46px;
    outline: none;
    padding: 0 14px;
    transition: .15s;
    width: 100%;
}

.field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-light);
}

.field label {
    color: var(--dark);
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 8px;
}

.forgot {
    color: var(--green);
    font-weight: bold;
    text-decoration: none;
}

.here {
    color: var(--green) !important;
}

.hero h1 {
    color: var(--dark);
    font-size: 48px;
    letter-spacing: -2px;
    margin: 12px 0 14px;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
    margin: auto;
    max-width: 650px;
}

.join {
    background: var(--green);
    border: 0;
    border-radius: 6px;
    color: #fff;
    /*cursor: not-allowed;*/
    cursor: pointer;
    display: block;
    font-weight: bold;
    margin: 25px auto 0;
    padding: 14px 28px;
}
.join.gray {
    background: #b6beb8;
}

.join:hover {
    background: #25663c;
}

.languages {
    border-left: 1px solid var(--line);
    display: flex;
    gap: 7px;
    /*margin-left: auto;*/
    padding-left: 18px;
}
.demo-body .languages,
.login-body .languages {
    margin-left: auto;
}

.languages a {
    color: var(--muted);
    font-size: 11px;
    font-weight: bold;
    padding: 5px;
    text-decoration: none;
}

.languages a.active {
    color: var(--green);
}

.live {
    background: var(--red);
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    left: 18px;
    padding: 6px 10px;
    position: absolute;
    top: 18px;
}

.live-badge {
    background: #d84242;
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    left: 20px;
    padding: 7px 11px;
    position: absolute;
    top: 20px;
}

.login {
    border: 1px solid var(--green);
    border-radius: 6px;
    color: var(--green) !important;
    font-weight: bold;
    padding: 10px 20px !important;
}

/* LOGIN */
.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-body {
        margin: 0;
        min-height: 100vh;
        background: var(--bg);
        color: var(--text);
        font-family: Arial, sans-serif;
        display: flex;
        flex-direction: column;

}

.login-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 15px 40px #18281c0c;
    max-width: 420px;
    overflow: hidden;
    width: 100%;
}

.login-button {
    background: var(--green);
    border: 0;
    color: #fff;
    width: 100%;
}

.login-button:hover {
    background: #25663c;
}

.login-form {
    padding: 30px 35px 35px;
}

.login-head {
    border-bottom: 1px solid var(--line);
    padding: 35px 35px 25px;
    text-align: center;
}

.login-head h1 {
    color: var(--dark);
    font-size: 27px;
    margin: 8px 0 8px;
}

.login-head p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.login-icon {
    align-items: center;
    background: var(--green-light);
    border-radius: 50%;
    color: var(--green);
    display: flex;
    font-size: 24px;
    font-weight: bold;
    height: 54px;
    justify-content: center;
    margin: 0 auto 20px;
    width: 54px;
}

.login-info {
    background: var(--green-light);
    border-radius: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    margin-top: 22px;
    padding: 15px;
    text-align: center;
}

.login:hover {
    background: var(--green-light);
}

.logo {
    color: var(--dark);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}

.logo span {
    color: var(--green);
}

.online {
    align-items: center;
    color: #f0f;
    display: flex;
    font-size: 11px;
    gap: 7px;
    white-space: nowrap;
}

.online.gray {
    color: var(--muted);
}

.online.green {
    color: var(--green);
    font-weight: bold;
}

.options {
    align-items: center;
    display: flex;
    font-size: 11px;
    gap: 15px;
    justify-content: space-between;
    margin: -3px 0 25px;
}

.page-head h1 {
    color: var(--dark);
    font-size: 25px;
    margin: 0 0 5px;
}

.page-head p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 60px;
}

.queue-info {
    background: #fafbfa;
    color: var(--muted);
    font-size: 11px;
    padding: 18px 25px;
    text-align: center;
}

.queue-info {
    background: #fafbfa;
    color: var(--muted);
    font-size: 12px;
    padding: 18px;
    text-align: center;
}

.queue-ip {
    font-family: monospace;
}

.queue-number {
    color: #9aa39d;
}

.queue-row {
    align-items: center;
    border-bottom: 1px solid #edf0ee;
    display: grid;
    font-size: 13px;
    grid-template-columns:55px 1fr 160px;
    padding: 15px 25px;
}

.queue-row {
    align-items: center;
    border-bottom: 1px solid #edf0ee;
    display: grid;
    font-size: 13px;
    grid-template-columns:55px 1fr 160px;
    padding: 15px 25px;
}

.queue-row:last-child {
    border: 0;
}

.queue-status {
    color: var(--muted);
    font-size: 11px;
    font-weight: bold;
    text-align: right;
}

.queue-title {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 20px 25px;
}

.queue-title span {
    color: #f0f;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.queue-title span.gray {
    color: var(--muted);
    font-weight: normal;
    letter-spacing: normal;
}

.queue-title span.orange {
    color: #c28a1e;
}

.queue-title strong {
    font-size: 13px;
}

.range-labels {
    color: var(--muted);
    display: flex;
    font-size: 10px;
    justify-content: space-between;
    margin-top: 5px;
}

.remember {
    align-items: center;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    gap: 7px;
}

.remember input {
    accent-color: var(--green);
}

.section-head {
    margin-bottom: 35px;
    text-align: center;
}

.section-head h2 {
    color: var(--dark);
    font-size: 31px;
    margin: 8px 0;
}

.section-head p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.section-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-title h2 {
    color: var(--dark);
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
}

.section-title span {
    color: var(--muted);
    font-size: 11px;
}

.sensor {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    padding: 20px 0;
}

.sensor strong {
    color: var(--dark);
    font-size: 17px;
}

.sensor-name {
    color: var(--muted);
    font-size: 13px;
}

.sensor-value {
    color: #f0f;
    font-size: 20px;
    font-weight: bold;
}

.sensor-value small {
    color: var(--muted);
    font-size: 11px;
    font-weight: normal;
}

.sensor-value.dark {
    color: var(--dark);
    font-size: 20px;
}

.sensor-value.gray {
    color: #a0aaa3;
}

.setting {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}

.setting-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.setting-head strong {
    font-size: 13px;
}

.setting-value {
    color: var(--green);
}

.show-password {
    background: transparent;
    border: 0;
    color: var(--green);
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    padding: 8px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.status {
    padding: 30px;
}

.status-head {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding-bottom: 22px;
}

.status-head span {
    color: #f0f;
    font-size: 11px;
    font-weight: bold;
}

.status-head span.green {
    color: var(--green);
}

.status-head span.orange {
    color: #c28a1e;
}

.status-head strong {
    font-size: 14px;
}

.timer {
    /*margin-left: auto;*/
    text-align: right;
    border-left: 1px solid var(--line);
    padding-left: 18px;
}

.timer small {
    color: var(--muted);
    display: block;
    font-size: 9px;
    letter-spacing: 1px;
}

.timer strong {
    color: var(--dark);
    font-size: 24px;
}

.wrap {
    margin: auto;
    width: min(1180px, calc(100% - 40px));
}

.you {
    background: var(--green-light);
    border-left: 4px solid var(--green);
    padding-left: 21px;
}

.you .queue-ip {
    color: var(--green);
    font-weight: bold;
}


/* === [AUTO-CSS] OTHER ============================ */

/* ACTIVITY */
.activity {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 50px;
    overflow: hidden;
}

/* AUTOMATION */
.automation {
    display: grid;
    gap: 15px;
    grid-template-columns:1fr 1fr;
}

/* BUTTONS */
.login-buttons {
    display: grid;
    gap: 10px;
    grid-template-columns:1fr 2fr;
}

/* CAMERA */
.live-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 15px 40px #18281c0c;
    display: grid;
    grid-template-columns:2fr 1fr;
    overflow: hidden;
}

/* CONTROLS */
.controls {
    display: grid;
    gap: 15px;
    grid-template-columns:repeat(3, 1fr);
}

/* DEMO */
.demo {
    padding: 80px 0;
}

/* DEVELOPMENT */
.dev-section {
    padding: 70px 0;
    text-align: center;
}

/* FEATURES */
.features {
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    padding: 70px 0;
}

/* FOOTER */
footer {
    color: var(--muted);
    font-size: 12px;
    padding: 35px 0;
}

/* HEADER */
header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    height: 76px;
}

/* HERO */
.hero {
    padding: 75px 0 45px;
    text-align: center;
}

/* LIVE */
.live-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 15px 40px #18281c0c;
    display: grid;
    grid-template-columns:2fr 1fr;
    overflow: hidden;
}

/* LOGIN */
.login {
    border: 1px solid var(--green);
    border-radius: 6px;
    color: var(--green);
    font-size: 11px;
    font-weight: bold;
    padding: 9px 16px;
    text-decoration: none;
    white-space: nowrap;
}

/*!* LOGIN *!*/
/*main.login {*/
/*    align-items: center;*/
/*    display: flex;*/
/*    flex: 1;*/
/*    justify-content: center;*/
/*    padding: 60px 20px;*/
/*}*/

/* NOTICE */
.notice {
    background: #fff8e9;
    border: 1px solid #eed9aa;
    border-radius: 6px;
    color: #80662d;
    font-size: 11px;
    margin-top: 18px;
    padding: 13px 16px;
}

/* QUEUE */
.queue {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 45px auto 0;
    max-width: 800px;
    overflow: hidden;
}

/* SECTIONS */
.section {
    padding-top: 38px;
}

/* STATUS */
.status {
    padding: 30px;
}

/* TITLE */
.page-head {
    align-items: end;
    display: flex;
    justify-content: space-between;
    padding: 40px 0 20px;
}

/* === [AUTO-CSS] MEDIA ============================ */

@media (max-width: 900px) {

    /* === [AUTO-CSS] TAGS ============================= */
    nav a:not(.login) {
        display: none;
    }


    /* === [AUTO-CSS] CLASSES ========================== */
    .development {
        display: none;
    }

}

@media (max-width: 800px) {

    /* === [AUTO-CSS] TAGS ============================= */
    nav a:not(.login) {
        display: none;
    }

    /* === [AUTO-CSS] CLASSES ========================== */
    .activity-row {
        grid-template-columns:75px 1fr;
    }

    .activity-value {
        display: none;
    }

    .camera {
        min-height: 300px;
    }

    .controls, .automation {
        grid-template-columns:1fr;
    }

    .demo-mode {
        display: none;
    }

    .feature-grid {
        grid-template-columns:1fr;
    }

    .hero {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .live-panel {
        grid-template-columns:1fr;
    }

    .online {
        display: none;
    }

    .queue-row {
        grid-template-columns:40px 1fr 120px;
    }

}

@media (max-width: 600px) {

    /* === [AUTO-CSS] TAGS ============================= */
    footer .wrap {
        justify-content: center;
    }

    footer .wrap div:last-child {
        display: none;
    }

    header .wrap {
        width: calc(100% - 30px);
    }

    main {
        padding: 35px 15px;
    }


    /* === [AUTO-CSS] CLASSES ========================== */
    .login-form {
        padding: 25px;
    }

    .login-head {
        padding: 30px 25px 22px;
    }

    .queue-status {
        font-size: 9px;
    }

    .queue-title {
        padding: 18px 15px;
    }

    .queue-title span {
        font-size: 8px;
    }

    .you {
        padding-left: 11px;
    }


    /* === [AUTO-CSS] OTHER ============================ */
    .queue-row {
        font-size: 12px;
        grid-template-columns:35px 1fr 110px;
        padding: 14px 15px;
    }

    /*.online {*/
    /*    display: none;*/
    /*}

}

@media (max-width: 500px) {

/* === [AUTO-CSS] CLASSES ========================== */
    .languages {
        padding-left: 10px;
    }

    .logo {
        font-size: 19px;
    }

}
