/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-5383j6hyu8] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-5383j6hyu8] {
    flex: 1;
}

.sidebar[b-5383j6hyu8] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-5383j6hyu8] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-5383j6hyu8]  a, .top-row[b-5383j6hyu8]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-5383j6hyu8]  a:hover, .top-row[b-5383j6hyu8]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-5383j6hyu8]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-5383j6hyu8] {
        justify-content: space-between;
    }

    .top-row[b-5383j6hyu8]  a, .top-row[b-5383j6hyu8]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-5383j6hyu8] {
        flex-direction: row;
    }

    .sidebar[b-5383j6hyu8] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-5383j6hyu8] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-5383j6hyu8]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-5383j6hyu8], article[b-5383j6hyu8] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.page-container[b-rnrr1pkvg1] {
    background-image: url("IMG_5205.JPG");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh; /* Чтобы фон был на всю высоту */
    width: 100%;
    position: relative;
    overflow: hidden;
}
.container[b-rnrr1pkvg1] {
    display: flex;
    justify-content: center; /* Центрирует по горизонтали */
    align-items: center;     /* Центрирует по вертикали */
    height: 100vh;           /* Высота на весь экран, чтобы видеть эффект */
    position: relative;
    z-index: 2;
    flex-direction: column;
}
.textbox[b-rnrr1pkvg1]{
    border-radius: 5px;
    border: none;
}
.quiz-button[b-rnrr1pkvg1] {
    /* Цвета и фон */
    background: linear-gradient(0deg, #595d70, #6f7186);
    color: #cdd9ea;
    margin: 10px;
    /* Размеры и форма */
    padding: 15px 30px;
    border: none;
    border-radius: 5px; /* Делает кнопку овальной */

    /* Текст */
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;

    /* Тень для объема */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    /* Плавность анимации */
    transition: all 0.3s ease;
}

/* Эффект при наведении мышки */
.quiz-button:hover[b-rnrr1pkvg1] {
    transform: translateY(-3px); /* Кнопка чуть-чуть "всплывает" */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1); /* Становится чуть ярче */
}

/* Эффект при самом моменте нажатия */
.quiz-button:active[b-rnrr1pkvg1] {
    transform: translateY(1px); /* Кнопка "вдавливается" */
}
.floating-icon[b-rnrr1pkvg1] {
    /* Фиксируем или абсолютно позиционируем */
    position: fixed;

    /* Координаты (отступы от краев) */
    bottom: 0;


    /* Размер картинки */
    width: 130%;
    height: auto;


    /* Чтобы текст не перекрывал картинку (или наоборот) */
    z-index: 1;
    rotate: 180deg;
    /* Важно: если картинка мешает нажимать на кнопки под ней */
    pointer-events: none;
}
.floating-icon2[b-rnrr1pkvg1] {
    /* Фиксируем или абсолютно позиционируем */
    position: fixed;

    /* Координаты (отступы от краев) */
   top: 1%;


    /* Размер картинки */
    width: 80%;
    height: auto;


    /* Чтобы текст не перекрывал картинку (или наоборот) */
    z-index: 1;
    rotate: 90deg;
    /* Важно: если картинка мешает нажимать на кнопки под ней */
    pointer-events: none;
}
/* /Pages/Inventory.razor.rz.scp.css */
.page-container[b-yam69a89ug] {
    background-image: url("IMG_5205.JPG");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.inventory-grid[b-yam69a89ug] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.inventory-slot[b-yam69a89ug] {
    background: #2c2c2c;
    border: 2px solid #444;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.1s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inventory-slot:hover[b-yam69a89ug] {
    border-color: #ffd700;
    transform: scale(1.05);
}

.inventory-slot img[b-yam69a89ug] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-name[b-yam69a89ug] {
    color: white;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
}
.quiz-button[b-yam69a89ug] {

    background: linear-gradient(0deg, #595d70, #6f7186);
    color: #cdd9ea;
    margin: 20px;

    padding: 15px 30px;
    border: none;
    border-radius: 5px;


    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;


    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);


    transition: all 0.3s ease;
}
.Inventory[b-yam69a89ug]{
    position: fixed;
    display: flex;
    bottom: 0;
    right: 0;
}

.quiz-button:hover[b-yam69a89ug] {
    transform: translateY(-3px); /* Кнопка чуть-чуть "всплывает" */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1); /* Становится чуть ярче */
}

/* Эффект при самом моменте нажатия */
.quiz-button:active[b-yam69a89ug] {
    transform: translateY(1px); /* Кнопка "вдавливается" */
}
/* /Pages/Question.razor.rz.scp.css */
.page-container[b-um4jrc3ya7] {
    background-image: url("IMG_5205.JPG");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh; 
    width: 100%;
    position: relative;
    overflow: hidden;
}
.container[b-um4jrc3ya7] {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center; /* Центрирует по горизонтали */
    align-items: center;     /* Центрирует по вертикали */
    height: 100vh;           /* Высота на весь экран, чтобы видеть эффект */
    z-index: 2;
}
.textbox[b-um4jrc3ya7]{
    border-radius: 5px;
    border: none;
}
.question[b-um4jrc3ya7] {
    display: flex;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
    max-width: 60%;
    min-height: 20vh;
    justify-content: center;
    align-items: center;
    background: linear-gradient(#585c70, #707387);
    color: #cdd9ea;
    margin: 20px;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
}
.quiz-button[b-um4jrc3ya7] {
   
    background: linear-gradient(0deg, #595d70, #6f7186);
    color: #cdd9ea;
    margin: 20px;
   
    padding: 15px 30px;
    border: none;
    border-radius: 5px; 


    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;

 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    
    transition: all 0.3s ease;
}
.Inventory[b-um4jrc3ya7]{
    position: fixed;
    display: flex;
    bottom: 0;
    right: 0;
}

.quiz-button:hover[b-um4jrc3ya7] {
    transform: translateY(-3px); /* Кнопка чуть-чуть "всплывает" */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1); /* Становится чуть ярче */
}

/* Эффект при самом моменте нажатия */
.quiz-button:active[b-um4jrc3ya7] {
    transform: translateY(1px); /* Кнопка "вдавливается" */
}

.floating-icon[b-um4jrc3ya7] {
    /* Фиксируем или абсолютно позиционируем */
    position: fixed;

    /* Координаты (отступы от краев) */
    top: 0;
    

    /* Размер картинки */
    width: 130%;
    height: auto;

  
    /* Чтобы текст не перекрывал картинку (или наоборот) */
    z-index: 1;

    /* Важно: если картинка мешает нажимать на кнопки под ней */
    pointer-events: none;
}
.floating-icon2[b-um4jrc3ya7] {
    /* Фиксируем или абсолютно позиционируем */
    position: fixed;

    /* Координаты (отступы от краев) */
    bottom: 1%;


    /* Размер картинки */
    width: 80%;
    height: auto;


    /* Чтобы текст не перекрывал картинку (или наоборот) */
    z-index: 1;
    rotate: 90deg;
    /* Важно: если картинка мешает нажимать на кнопки под ней */
    pointer-events: none;
}
.erorrs[b-um4jrc3ya7] {
    background: #9e1b40;
    color: white;
    padding: 2%;
    border-radius: 10px;
}
/* /Pages/ViewItem.razor.rz.scp.css */
.page-container[b-f9nvhrh3w0] {
    background-image: url("IMG_5205.JPG");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh; /* Чтобы фон был на всю высоту */
    width: 100%;
    position: relative;
    overflow: hidden;
}
.question[b-f9nvhrh3w0] {
    display: flex;
    word-break: break-word;
    overflow-wrap: anywhere;
    justify-content: center;
    align-items: center;
    background: linear-gradient(#585c70, #707387);
    color: #cdd9ea;
    margin: 10px auto;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    max-width: 70%;
}
.quiz-button[b-f9nvhrh3w0] {

    background: linear-gradient(0deg, #595d70, #6f7186);
    color: #cdd9ea;
    margin: 20px;

    padding: 15px 30px;
    border: none;
    border-radius: 5px;


    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;


    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);


    transition: all 0.3s ease;
}
.Inventory[b-f9nvhrh3w0]{
    display: flex;
    word-break: break-word;
    overflow-wrap: anywhere;
    justify-content: center;
    align-items: center;
}

.quiz-button:hover[b-f9nvhrh3w0] {
    transform: translateY(-3px); /* Кнопка чуть-чуть "всплывает" */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1); /* Становится чуть ярче */
}

/* Эффект при самом моменте нажатия */
.quiz-button:active[b-f9nvhrh3w0] {
    transform: translateY(1px); /* Кнопка "вдавливается" */
}
