/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-fgsznana18] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-fgsznana18] {
    flex: 1;
}

.sidebar[b-fgsznana18] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-fgsznana18] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-fgsznana18]  a, .top-row[b-fgsznana18]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-fgsznana18]  a:hover, .top-row[b-fgsznana18]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-fgsznana18]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-fgsznana18] {
        justify-content: space-between;
    }

    .top-row[b-fgsznana18]  a, .top-row[b-fgsznana18]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-fgsznana18] {
        flex-direction: row;
    }

    .sidebar[b-fgsznana18] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-fgsznana18] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-fgsznana18]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-fgsznana18], article[b-fgsznana18] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-9fvjkr4upq] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-9fvjkr4upq] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-9fvjkr4upq] {
    font-size: 1.1rem;
}

.bi[b-9fvjkr4upq] {
    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-9fvjkr4upq] {
    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-9fvjkr4upq] {
    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-9fvjkr4upq] {
    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-9fvjkr4upq] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-9fvjkr4upq] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-9fvjkr4upq] {
        padding-bottom: 1rem;
    }

    .nav-item[b-9fvjkr4upq]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-9fvjkr4upq]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-9fvjkr4upq]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-9fvjkr4upq] {
        display: none;
    }

    .collapse[b-9fvjkr4upq] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-9fvjkr4upq] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Ekonomi.razor.rz.scp.css */
/* /Pages/Home.razor.rz.scp.css */
.content[b-9gtmmuh6zb] {
  background: url("../bilder/bg.png");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  height: 100%;
}

.box[b-9gtmmuh6zb] {
  background-color: #DDECF4;
  border: 1px solid #c0c0c0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}
/* /Pages/Produktionskostnadskalkyl.razor.rz.scp.css */
@charset "UTF-8";
body[b-h48p916u6e] {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  /* Bakgrundsbild representerar byggnation och fastigheter */
  background: url("https://images.unsplash.com/photo-1501594907352-04cda38ebc29?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.logo[b-h48p916u6e] {
  width: 25%;
}

.content[b-h48p916u6e] {
  background-image: url("bilder/testbackground.jpg");
}

.calculator[b-h48p916u6e] {
  /*background: #DDEDF5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  padding: 25px 35px;
  margin: 20px;*/
}

.calculator h2[b-h48p916u6e] {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.intro[b-h48p916u6e] {
  text-align: center;
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.intro h3[b-h48p916u6e] {
  margin: 0 0 10px;
  color: #333;
}

.intro p[b-h48p916u6e] {
  margin: 0;
  color: #555;
}

.section[b-h48p916u6e] {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #fafafa;
}

.section-title[b-h48p916u6e] {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.input-group[b-h48p916u6e] {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 10px;
}

.input-group label[b-h48p916u6e] {
  color: #555;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.input-group input[b-h48p916u6e],
.input-group select[b-h48p916u6e] {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border 0.3s;
}

.input-group input:focus[b-h48p916u6e],
.input-group select:focus[b-h48p916u6e] {
  outline: none;
  border-color: #007bff;
}

/* Grundläggande knappstil */
.btn-calc[b-h48p916u6e] {
  padding: 12px 18px;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  /*display: flex;*/
  align-items: center;
  gap: 8px;
}

.btn-calc:hover[b-h48p916u6e] {
  /*transform: translateY(-1px);*/
  box-shadow: rgba(0, 0, 0, 0.8) 2px 2px 10px;
}

/* Specifika knappfärger baserat på funktion */
.btn-calc-calc[b-h48p916u6e] {
  background: #007bff;
}

/* Blå för Beräkna */
.btn-calc-save[b-h48p916u6e] {
  background: #28a745;
}

/* Grön för Spara data */
.btn-calc-load[b-h48p916u6e] {
  background: #ffc107;
}

/* Amber för Ladda data */
.btn-calc-share[b-h48p916u6e] {
  background: #6f42c1;
}

/* Lila för Dela data */
.btn-calc-loadshare[b-h48p916u6e] {
  background: #17a2b8;
}

/* Turkos för Ladda delad data */
.button-group[b-h48p916u6e], .share-group[b-h48p916u6e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.button-group[b-h48p916u6e] {
  display: grid;
  grid-template-columns: repeat(4, 24%);
}

.share-input[b-h48p916u6e] {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}

.result[b-h48p916u6e] {
  margin-top: 20px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

.result span[b-h48p916u6e] {
  font-weight: 500;
}

.positive[b-h48p916u6e] {
  color: green;
}

.negative[b-h48p916u6e] {
  color: red;
}

@media (max-width: 768px) {
  .input-group[b-h48p916u6e] {
    display: block;
  }
  input[b-h48p916u6e] {
    margin-top: 10px;
  }
  input[b-h48p916u6e], select[b-h48p916u6e] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
  }
  .button-group[b-h48p916u6e] {
    display: block;
  }
  .button-group button[b-h48p916u6e] {
    width: 100%;
    margin-bottom: 10px;
  }
}
