@import '_content/BlazorTools/BlazorTools.g2o6elejzp.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ujf285qjzu] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ujf285qjzu] {
    flex: 1;
}

.sidebar[b-ujf285qjzu] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ujf285qjzu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ujf285qjzu]  a, .top-row[b-ujf285qjzu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ujf285qjzu]  a:hover, .top-row[b-ujf285qjzu]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ujf285qjzu]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ujf285qjzu] {
        justify-content: space-between;
    }

    .top-row[b-ujf285qjzu]  a, .top-row[b-ujf285qjzu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ujf285qjzu] {
        flex-direction: row;
    }

    .sidebar[b-ujf285qjzu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ujf285qjzu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ujf285qjzu]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ujf285qjzu], article[b-ujf285qjzu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ujf285qjzu] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ujf285qjzu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-11dvjgfy83] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-11dvjgfy83] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-11dvjgfy83] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-11dvjgfy83] {
    font-size: 1.1rem;
}

.bi[b-11dvjgfy83] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-11dvjgfy83] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-11dvjgfy83] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-11dvjgfy83] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-11dvjgfy83] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-11dvjgfy83] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-11dvjgfy83] {
        padding-bottom: 1rem;
    }

    .nav-item[b-11dvjgfy83]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-11dvjgfy83]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-11dvjgfy83]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-11dvjgfy83] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-11dvjgfy83] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-11dvjgfy83] {
        display: none;
    }

    .nav-scrollable[b-11dvjgfy83] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/NotEnoughMana/NotEnoughManaPage.razor.rz.scp.css */
:host[b-q5y370vda6] {
  --card-height: 150px;
  --equip-thumb-height: 50px;
  --board-height: 561px;
  --side-actions-width: 100px;
}

/* Compact layout for small screens */
@media (max-width: 768px) {
  :host[b-q5y370vda6] {
    --card-height: 110px;
    --equip-thumb-height: 38px;
    --board-height: 70vh;
    --side-actions-width: 64px;
  }

  .board-header[b-q5y370vda6] {
    min-width: 0 !important;
    padding-right: 0.5rem;
  }

  .players-strip[b-q5y370vda6] {
    min-width: 0 !important;
  }

  .nem-actions[b-q5y370vda6] {
    width: var(--side-actions-width) !important;
    min-width: var(--side-actions-width) !important;
    max-width: var(--side-actions-width) !important;
  }

  .nem-board[b-q5y370vda6] {
    min-width: 0 !important;
  }
}

/* Medium screens */
@media (min-width: 769px) and (max-width: 1199px) {
  :host[b-q5y370vda6] {
    --card-height: 130px;
    --equip-thumb-height: 44px;
    --board-height: 70vh;
    --side-actions-width: 90px;
  }
}

/* Large screens keep defaults */

/* Drop zone visual layout tweaks */
:host[b-q5y370vda6]  .rz-dropzone {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ensure card images never exceed available zone height */
:host .nem-card[b-q5y370vda6] {
  max-height: var(--card-height, 150px);
  height: var(--card-height, 150px);
  width: auto;
}
:host .nem-card-thumb[b-q5y370vda6] {
  max-height: var(--equip-thumb-height, 50px);
  height: var(--equip-thumb-height, 50px);
  width: auto;
}
/* /Components/Pages/Strom/Auswertungen/VergleichPage.razor.rz.scp.css */
.period-selectors[b-69l0kh42uw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.comparison-table[b-69l0kh42uw], .comparison-chart[b-69l0kh42uw] {
    overflow-x: auto;
}

.comparison-chart[b-69l0kh42uw]  .rz-chart {
    min-width: 700px;
}

.electricity-comparison[b-69l0kh42uw] {
    min-width: 0;
}
/* /Components/Pages/Strom/LiveDataPage.razor.rz.scp.css */
:root[b-2vkprp5kb0] {
  --rz-card-padding: 1rem;
}

/* Generic responsive card behavior */
.responsive-card[b-2vkprp5kb0] {
  min-width: 280px;
  width: 100%;
}

/* Specific cards can have max widths on desktop */
@media (min-width: 992px) {
  .meter-card[b-2vkprp5kb0] {
    max-width: 780px;
  }
  .solar-card[b-2vkprp5kb0] {
    max-width: 600px;
  }
}

/* Stats row on day section */
.stats-row[b-2vkprp5kb0] {
  gap: 1rem;
}
.stat-card[b-2vkprp5kb0] {
  width: 100%;
}
@media (min-width: 768px) {
  .stat-card[b-2vkprp5kb0] {
    flex: 1 1 calc(50% - 1rem);
  }
}
@media (min-width: 1200px) {
  .stat-card[b-2vkprp5kb0] {
    flex: 1 1 calc(25% - 1rem); /* try to fit all four in a row if space allows */
    max-width: calc(25% - 1rem);
  }
}

/* Gauges row: show 2 per row on tablets, 1 per row on phones */
.gauges-row[b-2vkprp5kb0] {
  gap: 1rem;
}
.gauge-item[b-2vkprp5kb0] {
  flex: 1 1 240px; /* grow, shrink, base width */
  min-width: 220px;
}

/* Ensure charts are usable on mobile */
.chart-card .rz-chart[b-2vkprp5kb0] {
  width: 100% !important;
}

/* Adjust headings on small screens */
@media (max-width: 480px) {
  h1.rz-heading[b-2vkprp5kb0],
  .rz-heading-h1[b-2vkprp5kb0] {
    font-size: 1.5rem;
  }
  h2.rz-heading[b-2vkprp5kb0],
  .rz-heading-h2[b-2vkprp5kb0] {
    font-size: 1.25rem;
  }
}

/* Tighten paddings on small screens */
@media (max-width: 576px) {
  .rz-card[b-2vkprp5kb0] {
    padding: 0.75rem;
  }
  .rz-stack[b-2vkprp5kb0] {
    gap: 0.5rem;
  }
}

/* Ensure charts break to full row within flex containers */
.full-row-chart[b-2vkprp5kb0] {
  flex: 0 0 100%;
  max-width: 100%;
}
/* /Components/Pages/TableTop/DnD/CharakterSheet.razor.rz.scp.css */
.character-header[b-edp64wiwnr] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.character-info[b-edp64wiwnr] {
    flex: 1;
    margin-right: 20px;
}

.character-avatar img[b-edp64wiwnr] {
    max-width: 150px;
    border-radius: 10px;
}

.stats[b-edp64wiwnr], .inventory[b-edp64wiwnr] {
    margin-top: 20px;
}

.stat-item[b-edp64wiwnr], .inventory-item[b-edp64wiwnr] {
    background: #f4f4f4;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}
