/* Override Vercel design system for admin panel */
* {
    padding: 0;
    margin: 0;
}

body {
    background: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: #fff;
}

main {
    display: flex;
    justify-content: space-between;
}

/* Левая панель */

.menu {
    width: 20%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.menu h1 {
    color: #ffffff;
    margin-top: 2.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.line {
    margin-top: 2rem;
    width: 90%;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2); 
}

nav {
    width: 100%;
    margin-top: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav li {
    width: 90%;
    height: 4rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

nav i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

nav a {
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

nav li:hover i,
nav li:hover a {
    color: #ffffff;
}

nav li.active {
    background: var(--vercel-blue);
}

nav li.active i,
nav li.active a {
    color: #ffffff;
}

/* Правая панель */

.control {
    width: 80%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.title {
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.title h2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
}

.information {
    width: 100%;
    height: 10rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 2rem;
}

.information figure {
    margin-top: 6rem;
    width: 25%;
    height: 10rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.information figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.form-online {
    background: var(--vercel-green);
}

.form-online p {
    margin-left: 0.2rem;
}

.form-create {
    background: #fe9d18;
}

.form-create p {
    margin-left: 0.2rem;
}

.form-create-char {
    background: #ee504c;
}

.form-create-char p {
    margin-left: 0.2rem;
}

.status {
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: flex-start;
    margin-left: 4rem;
}

.status p {
    margin-left: 0.2rem;
}

.title-info {
    margin-top: 10rem;
    display: flex;
    justify-content: center;
    color: #000000;
}

.information-text {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.information-text p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

.information-text img {
    width: 25rem;
    margin-right: 4rem;
}

.edit {
    width: 100%;
    height: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edit form {
    box-shadow: 0 5px 5px rgba(0,0,0,0.25);    
    border-radius: 0.5rem;
    width: 45%;
    height: 25rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

form h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.active {
    background: #9c27b0;
    border-radius: 0.5rem;
}

.set {
    padding-left: 1rem;
    width: 25rem;
    height: 2.5rem;
}

.set-select {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    width: 26.25rem;
    height: 2.5rem;
}

.button {
    width: 26.5rem;
    height: 2.5rem;
    border: none;
    background: #63b967;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.button:hover {
    background: #000000;
}

/* Адаптация под различные устройства */

@media screen and (max-width: 1280px) {
    .menu h1 {
        margin-top: 2.5rem;
        font-size: 1.4rem;
    }

    .menu {
        height: 56rem;
    }
}

@media screen and (max-width: 1440px) {
    .menu h1 {
        margin-top: 2.5rem;
        font-size: 1.4rem;
    }

    .menu {
        height: 44.9rem;
    }

    .control {
        height: 44.9rem;
    }
}


@media screen and (min-width: 1920px) {
    .menu {
        height: 67.5rem;
    }

    .control {
        height: 67.5rem;
    }
}