﻿:root {
    --primary: 237, 94%, 81%;
    --background: 266, 16%, 92%;
    --background-secondary: 256, 12%, 12%;
    --background-secondary-dark: 256, 10%, 10%;
    --background-secondary-light: 257, 11%, 16%;
    --text-primary: 0, 0%, 0%;
    /* Colors */
    --black: 0, 0%, 0%;
    --white: 0, 0%, 100%;
    --quite-gray: 0, 0%, 50%;
    --grooble: 10, 28%, 93%;
    /* Sizes */
    --heading-large: 5.6rem;
    --heading-medium: 3.6rem;
    --heading-small: 2.4rem;
    --navbar-buttons: 2.4rem;
    /* misc */
    --transition-main: .175, .685, .32;
    /* Fonts */
    --font-main: "Poppins";
}

/* ===========
    Variabels
   =========== */

/* ===============
    Global Styles
   =============== */

*, *::before, *::after {
    box-sizing: inherit;
}

html, body {
    margin: 0;
    width: 100%;
    color: hsl(var(--text-primary));
    font-family: Lato,PingFang SC,Microsoft YaHei,sans-serif;
    background-color: hsl(var(--background));
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    box-sizing: border-box;
    letter-spacing: 1px;
}

/* ============
    Typography
   ============ */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    outline:unset;
}
/* Font Size */
h1 {
    font-size: var(--heading-large);
}

h2 {
    font-size: var(--heading-medium);
}

h3 {
    font-size: var(--heading-small);
}

h4 {
    font-size: calc(var(--heading-small) - .2rem);
}

h5 {
    font-size: calc(var(--heading-small) - .4rem);
}

h6 {
    font-size: calc(var(--heading-small) - .6rem);
}
/* Font Weight */
h1, h2 {
    font-weight: 900;
}

h3, h4, h5, h6 {
    font-weight: 800;
}
/* Paragraphs */
p {
    margin: 0;
    font-size: var(--paragraph);
}
/* Links */
a {
    color: var(--primary-color);
    font-size: 16px;
    text-decoration: none;
}


/* =========
    Buttons
   ========= */

button {
    padding: .8em 1.2em;
    background-color: hsl(var(--background));
    font-size: var(--paragraph);
    cursor: pointer;
    outline: none;
}

/* =======
    Lists
   ======= */

ul, ol {
    margin: 1em 0;
}

/* =======
    Forms
   ======= */

form {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: .5em 0;
    border: none;
}

input {
    font-size: var(--paragraph);
    background-color: hsl(var(--grooble));
    outline: none;
}

textarea {
    padding: .8em 1.2em;
    font-size: var(--paragraph);
    font-family: var(--font-main);
    background-color: hsl(var(--grooble));
    border: 2px solid hsl(var(--grooble));
    outline: none;
}

input, textarea {
    transition: all .2s ease-in-out;
}


select {
    font-size: var(--paragraph);
    outline: none;
}

ul,ol {
    list-style-position: inside;
}
/* From Uiverse.io by dylanharriscameron */
.card {
    position: relative;
    width: 100%;
    height: 130px;
    border-radius: 14px;
    z-index: 99;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

.bg {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: 120px;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
    border-radius: 10px;
    overflow: hidden;
    outline: 2px solid white;
}

.blob {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 1;
    filter: blur(12px);
}

    .blob.ok {
        background-color: #28A745;
        animation: blob-bounce 3s infinite linear;
    }

    .blob.warning {
        background-color: #FFC107;
        animation: blob-bounce 2s infinite linear;
    }

    .blob.danger {
        background-color: #DC3545;
        animation: blob-bounce 1.5s infinite linear;
    }

@keyframes blob-bounce {
    0% {
        transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }

    25% {
        transform: translate(-100%, -100%) translate3d(100%, 0, 0);
    }

    50% {
        transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
    }

    75% {
        transform: translate(-100%, -100%) translate3d(0, 100%, 0);
    }

    100% {
        transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
}

.input-button-group {
    display: flex;
    align-items: center;
}

.input-field {
    flex-grow: 1;
    margin-right: 8px;
}

.submit-button {
    flex-shrink: 0;
}

/* 容器样式 */
h5.mechineName {
    margin: 5px;
    text-align: center;
}

.info-container {
    display: flex;
    flex-direction: column; /* 垂直排列每个信息块 */
    gap: 10px; /* 每个项目之间的间距 */
    padding: 5px 10px;
}

/* 每个项目的样式 */
.info-item {
    display: grid;
    grid-template-columns: 100px auto; /* 固定宽度的列，用于对齐冒号 */
    align-items: center; /* 垂直居中对齐 */
}

/* 标签和值的样式 */
.label {
    font-weight: bold;
    color: #555;
    text-align: right; /* 右对齐标签 */
    padding-right: 5px;
}

.value {
    color: #333;
    text-align: end;
}

.cpu-pie > .mud-chart-legend {
    display:none !important;
}

/* From Uiverse.io by 00Kubi */
.radio-inputs {
    width:150px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #eee;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    font-size: 14px;
}

    .radio-inputs .radio {
        flex: 1 1 auto;
        text-align: center;
    }

        .radio-inputs .radio input {
            display: none;
        }

        .radio-inputs .radio .name {
            display: flex;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            border-radius: 0.5rem;
            border: none;
            color: rgba(51, 65, 85, 1);
            transition: all 0.15s ease-in-out;
        }

        .radio-inputs .radio input:checked + .name {
            background-color: #fff;
            font-weight: 600;
        }

        /* Hover effect */
        .radio-inputs .radio:hover .name {
            background-color: rgba(255, 255, 255, 0.5);
        }

        /* Animation */
        .radio-inputs .radio input:checked + .name {
            position: relative;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            animation: select 0.3s ease;
        }

@keyframes select {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Particles */
.radio-inputs .radio input:checked + .name::before,
.radio-inputs .radio input:checked + .name::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3b82f6;
    opacity: 0;
    animation: particles 0.5s ease forwards;
}

.radio-inputs .radio input:checked + .name::before {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.radio-inputs .radio input:checked + .name::after {
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes particles {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(var(--direction));
    }
}

.radio-inputs .radio input:checked + .name::before {
    --direction: -10px;
}

.radio-inputs .radio input:checked + .name::after {
    --direction: 10px;
}

.ssytable-header .rz-column-title {
    justify-content:center !important;
}