@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@media (min-width: 767.98px) {
    .page {        
        display: flex;  
        height: 100vh;   
        width: 100vw;  
        min-height: 900px;
        min-width: 900px;
        overflow-y: hidden auto;        
        flex-direction: row;
        margin: 0;
    }

    
    .sidebar {
        
        flex: 0.3;
        min-width: 250px;
        height: 100vh;                  
        position: sticky;
        background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);        
        top: 0;
        box-sizing: border-box;
        position: fixed;
        overflow: auto;
        
    }
    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }
    /* Never collapse the sidebar for wide screens */
    .sidebar .collapse {
        
        display: block;
    }
.form-section {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-section h3, .form-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

    .form-select {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

button[type="submit"],
button[type="button"] {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.option-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.option-list li {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 8px;
    justify-content: space-between;
}

.option-list button {
    background: transparent;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.option-list button:hover {
    color: #a71d2a;
}
.rz-editor-toolbar {
  white-space: nowrap;
  overflow-x: auto;
}
     
    /*  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    /*
    html, body {
        
        height: 100%;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: black;
        
     }
    .main .top-row {
        display:flex;
        flex: 1;
       
    }
   
    .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content:center;
        height: 3.5rem;        
        align-items: center;
        display:flex;
        flex: 1;
    
    }
    
    */
    .css-template {
        display: flex;
        flex-direction: column;
        height: calc(100% - 119px);
        left: 0px;
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% -120px);
        position: absolute;
        right: 0px;
        top: 60px;
        width: 800px;
        z-index: 510;
        pointer-events: none;
    }

    .css-fulltemplate {
        height: 100vh;
        left: 0px;
        overflow-y: auto;
        position: absolute;
        top: 0px;
        width: 100%;
        z-index: 510;
    }
    .css-templdialog {
        background-color: rgba(255, 255, 255);
        border-radius: 3px;
        color: black;
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: 100%;
        outline: 0px;
        pointer-events: auto;        
    }

    .css-innertempldialog {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: auto;
        max-height: 100%;
    }

    .ccs-templheadercontent {
        -moz-box-align: center;
        align-items: center;
        display: flex;
        font-size: 20px;
        font-style: inherit;
        font-weight: 500;
        letter-spacing: -0.008em;
        line-height: 1;
        margin: 0px;
        min-width: 0px;
    }

    .css-templheader {
        -moz-box-align: center;
        align-items: center;
        display: flex;
        flex: 0 0 auto;
        -moz-box-pack: justify;
        justify-content: space-between;
        /*transition: box-shadow 200ms;*/
        z-index: 1;
        padding: 24px 24px 22px;
        box-shadow: none;        
    }

    .css-templscroll {
        flex: 1 1 auto;
        overflow: hidden auto;
        padding: 2px 24px;
    }

    .ccs-templspan {
        flex: 1 1 auto;
        min-width: 0px;
        overflow-wrap: break-word;
        width: 100%;
    }

    .innertemplates {
        display: flex;
        flex-direction: column;
        
    }



    body, html {
        height: 100%;
        margin: 0;
         overflow-x: hidden;
      }
      .page-wrapper {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        
      }
    main {
        flex-grow: 1;
        margin-left: 250px;
        overflow-x: hidden;
    }

    .tabs {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 10px;
        gap: 5px;
    }

    .tab-button {
        position: relative;
        padding: 6px 10px;
        background: #e0e0e0;
        border: none;
        cursor: pointer;
        border-radius: 4px;
    }

    .tab-button.active {
        background: #9e9e9e;
        color: white;
    }

    .tab-content {
        padding: 10px;
        border: 0px solid #ccc;
        background: rgb(231, 228, 228);
    }

    .myissue-container {
        display: table;       
        width: 100%;
        height: 100%; /* Optional full height */
        table-layout: fixed;
        /*box-sizing: border-box;*/
        overflow: hidden auto;

        
      }

      .table-row {
        display: table-row;
        height: 100%;
        width: 100%;
        }

        .table-cell {
        display: table-cell;
        vertical-align: top;
        padding: 20px;
        border: 0px  #ccc;
        }

        .left-column {
        width: 70%;
        background-color: white;
        height: 100%;
        }

        .right-column {
        width: 30%;
        background-color: white;
        height: 100%;
        }

        .issue-content {
        padding-bottom: 10px; /* leave space for sticky textarea */
        min-height: 1800px;        
        margin-bottom: 0;        
        }

        .sticky-footer {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 10px 0;
        border-top: 1px solid #ccc;
        }


    .issues-container {
        display: flex;
        flex: 4;
        width: 90vw;
        height: 90vh; /* Optional full height */
        flex-direction: row;
      }

    .left {
        flex: 3; /* 1 part */        
        background-color: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1rem;
        flex-direction: column;
      }
      
    .right {
        flex: 1; /* 4 parts */
        background: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1rem;
        flex-direction: column;

    }

    .underleft {
        flex: 8; /* 4 parts */
        background: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1.5rem;
        flex-direction: row;
        
    }

    .underleft-left {
        flex: 1; /* 4 parts */
        background: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1rem;
        flex-direction: column;
        padding: 10px;
        margin: 10px;
        

    }
    .underleft-right {
        flex: 4; /* 4 parts */
        background:white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1rem;
        flex-direction: row;

    }

    .underleft-left-left, .underleft-left-right {
        flex: 4; /* 4 parts */
        background: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1rem;
        flex-direction: row;   
    }

    .mytext {
        color: grey;
        font-size: 1rem;

    }

    .underright {
        flex: 2; /* 4 parts */
        background: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1rem;
        flex-direction: row;

    }

    .underright-left {
        flex: 2; /* 4 parts */
        background: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1.5rem;
        flex-direction: column;

    }

    .underright-left-left, .underright-left-right {
        flex: 1; /* 4 parts */
        background: white;
        display: flex;
        justify-content: left;
        align-items: left;
        color: grey;
        font-size: 1.5rem;
        flex-direction: column;

    }

   /* ul li:nth-child(1) { color:red;}
    ul li:nth-child(2) { color:blue;}
    ul li:nth-child(3) { color:green;}
    ul li:nth-child(4) { color:orange;}
    ul li:nth-child(5) { color:purple;}
    ul li:nth-child(6) { color:teal;}
    ul li:nth-child(7) { color:rgb(14, 14, 1);}
    ul li:nth-child(8) { color:rgb(2, 1, 1);}
    ul li:nth-child(9) { color:yellowgreen;}
*/
    
/*
    .top-row {
        height: 3.5rem;
        display: flex;    
        justify-content: right;
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
    }
*/
    .flex-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    }


    .checkbox-label {
    display: flex;
    align-items: center;
    gap: 20px; /* space between checkbox and text */
    cursor: pointer;
    font-family: sans-serif;
    font-size: 16px;
    }
    

    dl {
        margin: 0;
    }

    .dl-row {
        display: flex;
        gap: 10px;
        margin-bottom: 8px;
    }

    dt, dd {
        margin: 0;
    }
    

    .top-row2 {
        height: 3.5rem;
        flex: 1;
        display: flex;    
        justify-content: left;
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        font-size: 1.5rem;
    }

    .issue-grid-vertical, .teil3-links, .mydecr-teil, .teil2-links{
        flex: 2;
        display: flex;        
        margin-top: 0px;
        padding-bottom: 5px;
        margin-left: 0;
        margin-right: 0;
        height: fit-content;
        flex-direction: row;
        background-color:white; 
        font-family: Arial;
        font-size: 12px; 
         
    }
    .dropdown {
        height: 60px;
        padding: 5px;
    }

    .issue-teil-top-column{    
        background-color:white;
        color: grey; 
        line-height: 20px;
        width: 150px;
        margin-top: 0;
        margin-bottom: 0;
        padding-right: 0px;
       
    }

    .teil3-links{        
        background-color:white;
        color: grey; 
        line-height: 20px;
        margin-top: 0;
        margin-bottom: 10px;
        margin-right: 10px;  
        font-size: 12px;     
        
    }

    .input-style {
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
        font-family: inherit;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: rgb(250, 246, 246);
        color: #333;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        box-sizing: border-box;
}

.login-form {
    margin: 0;
    height: 90vh;
    width: 80vw;
    display: flex;    
    justify-content: center; /* center horizontally */
    align-items: center;
    
    
}

.input-style:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Specific element targets */
input[type="text"].input-style,
textarea.input-style,
select.input-style {
  display: block;
}

.bold-line {
        height: 5px;        /* thickness */
        background-color: black; /* color */
        border: none;       /* remove default border */
    }

/* Checkbox styling - separate due to nature */
.checkbox-style {
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

.checkbox-style:checked {
  background-color: #1eed06;
  border-color: #08d34f;
}

.checkbox-style:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 3px;
  height: 15px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Optional label styling */
label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  color: #333;
}

.top-row {
    height: 3.5rem;
    display: flex;    
    justify-content: right;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
}

.details-container {
    border: 0.5px solid #ccc;
    border-radius: 8px;
    margin: 10px 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    padding: 5px;;
  }

  .details-title {
    background: #007bff;
    color: white;
    padding: 12px;
    cursor: pointer;
    user-select: none;
  }

  .details-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 12px;
    /*display: none;  Hidden by default */
    background: #f9f9f9;
  }

  .details-container.collapsed .details-content {
    max-height: 0; /* Collapse */
    padding: 0 12px; /* Keep side padding but remove vertical space */
    
    padding-top: 0;
    padding-bottom: 0;
}

  .active .details-content {
    display: block; /* Show when active */
  }

.custom-table {
    width: 90%; /* Table width */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font */
    color: #484444; /* Text color */
    font-size: medium;
    background-color: white; /* Background color */
    border-collapse: collapse;
    margin: 10px ;
    box-shadow: 0 0 0px rgba(0,0,0,0.1);
}

.custom-table th, .custom-table td {
    border: 0px solid #ccc;
    padding: 2px 1px;
    text-align: left;
}

.custom-table th {
    background-color: #4CAF50;
    color: white;
}

.custom-table tr:hover {
    background-color: #f1f1f1;
}

.myfont {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font */
    color:rgb(55, 52, 52); /* Text color */
    font-size: medium;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}
.styled-input,
.styled-textarea,
.styled-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.styled-textarea {
    height: 100px;
    resize: vertical;
}

.styled-select {
    height: 36px;
}

.checkbox-wrapper,
.radio-wrapper {
    margin-bottom: 5px;    
}

.checkbox-label,
.radio-label {
    margin-left: 6px;
    cursor: pointer;
}

.main {
    flex: 2;
    flex-direction: row;
}


    .main .top-row > h3 {
        margin-bottom: 0;
    }

    .main .top-row > a {
        margin-left: 1.5rem;
    }
.sidebar {
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}
.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

/*

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    flex: 2;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0rem;     
    padding: 20px; 
    box-sizing: border-box;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.line-1 {
    height: 1px;
    background: black;
  }
  
.line-2 {
    border-top: 1px solid black;
}
  
.top-row {
    height: 3.5rem;
    display: flex;    
    justify-content: right;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
}

.main {
    flex: 2;
    flex-direction: row;
}


    .main .top-row > h3 {
        margin-bottom: 0;
    }

    .main .top-row > a {
        margin-left: 1.5rem;
    }
    */
/*
.sidebar {
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}
.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}
*/
/*
.issue-grid{              
    display: flex;    
    flex: 2;   
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 0;
    
    background-color:white;
    font-family: Arial;
    font-size: 12px;    
}
.issue-grid-vertical{
    display: flex;
    margin-top: 0;
    padding-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    height: fit-content;
    flex-direction: row;
    background-color:white; 
    font-family: Arial;
    font-size: 12px;   
}

.issue-grid-vertical-sum{
    display: flex;
    flex: 2;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    min-width: 800px;
    max-width: 1200px;
    flex-direction: row;
    font-family: Arial;
    font-size: 12px;    
}

.issu-sum-label{
    width: 90px;
    margin-left: 0;
    margin-right: 0;
    line-height: 30px;
}

.issu-sum-cont{
    width: 650px;
    margin-left: 0;
    margin-right: 0;
    height: fit-content;
    padding-top: 5px;
    padding-bottom: 10px;
    padding-left: 0px;
}

.issue-grid-header{   
    display: flex;    
    flex: 2;
    width:100%; 
    margin-top: 0;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    color: black;
    height: fit-content;
}

.teil1-header{
    font-family: Arial;
    font-size: 12px;
    background-color:white;
    color: black; 
    line-height: 10px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
.teil2-header{
    font-family: Arial;
    font-size: 12px;
    background-color:white;
    color: black; 
    line-height: 10px;
    margin-top: 0;
    margin-bottom: 0;
    padding:0;
    
}
.teil1{
    font-family: Arial;
    font-size: 12px;
    background-color:white;
    color: grey; 
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
    padding-top: 0;
    min-width: 250px;
    max-width: 450px;        
}

.header-teil-top-column-responsible{
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    background-color:white;
    color: black; 
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
}

.header-teil-top-column-responsible-link{
    font-family: Arial;
    font-size: 12px;
    background-color:white;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
}

.teil2{    
    background-color:white;
    color: grey; 
    line-height: 280px;
    margin-top: 0;
    margin-bottom: 20px;
    min-width: 300px;
    
}
.teil1-links{    
    background-color:white;
    color: grey; 
    line-height: 140px;
    margin-top: 0;
    margin-bottom: 20px;
    margin-right: 30px;
    width: 80%;
   
}
.teil2-links{    
    background-color:white;
    color: grey; 
    line-height: 180px;
    margin-top: 0;
    margin-bottom: 20px;
    width: 20%;
}

.teil3-links{
    
    background-color:white;
    color: grey; 
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    margin-right: 30px;
    width: 650px;
    
}

.issue-teil1-links{    
    background-color:white;
    color: grey;
    line-height: 140px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 30px;
    min-width: 100px;        
}

.issue-teil2-links{    
    background-color:white;
    color: grey; 
    line-height: 180px;
    margin-top: 0;
    margin-bottom: 10px;
    min-width: 100px;
}

.issue-teil-top{    
    background-color:white;
    color: grey; 
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0;
}

.issue-teil-top-column{    
    background-color:white;
    color: grey; 
    line-height: 30px;
    width: 100px;
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 0px;
   
}

.issue-teil-top-column-black{    
    background-color:white;
    color: rgb(78, 75, 75); 
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 2px;
    min-width: 100px;
}
.issue-teil-top-column-responsible{    
    background-color:white;
    color: gray; 
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    min-width: 100px;
}

.issue-teil-top-column-responsible-black{    
    background-color:white;
    color: rgb(78, 75, 75); 
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    min-width: 100px;
}
*/
.issue-teil-top-column-responsible{    
    background-color:white;
    color: gray; 
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    min-width: 150px;
    padding-top: 20px;
    padding-left: 0px;
}
.issue-teil-top-column-responsible-black{    
    background-color:white;
    color: rgb(78, 75, 75); 
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    min-width: 350px;
    padding-top: 20px;
    padding-left: 0px;
}
 .sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.nav-item {
font-size: 0.9rem;
padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

    .nav-item a.active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }

    .nav-item a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }



.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


/** Simple drag and drop with Blazor CSS **/

/*.issues-container {
    display: flex;
    justify-content: space-around;
    margin: 0px;
}
    */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dialog {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    width: 1000px;
    max-width: 90%;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.dialog.animated {
    transform: scale(1);
    opacity: 1;
}

.dialog-buttons {
    text-align: right;
    margin-top: 1rem;
}

.btn-close {
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
}

/* version for tool bar show over the text*/
.editor-container {
    position: relative;
    padding-top: 10px; /* Reserve space for toolbar */
}

/* Move toolbar to top of container */
.editor-container .rz-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    border-bottom: 1px solid #ccc;
    background-color: white;
}
.editor-container .rz-toolbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.editor-container {
    padding-top: 5px;
}
.editor-container .rz-toolbar {
    height: 25px;
}
/*Radzen Editor*/
.editor-wrapper {
    position: relative;
    height: auto;
}

/* Always reserve space for toolbar to prevent layout jump */
.editor-wrapper .rz-toolbar {
    height: 20px;
    transition: opacity 0.2s ease;
}

/* Show toolbar when editing */
.editor-wrapper.show-toolbar .rz-toolbar {
    opacity: 1;
    visibility: visible;
}

/* Hide toolbar when not editing, but keep space */
.editor-wrapper.hide-toolbar .rz-toolbar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dialog-body {
    background-color: white;
    max-height: 80vh;
    max-width: 1200px;
    overflow-y: auto;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    flex-grow: 1;
}

.dialog-footer {
    padding: 1rem;
    border-top: 1px solid #ccc;
    background-color: #f5f5f5;
    text-align: right;
}

.issue-status {
    display: flex;
    flex-direction: column;
    width: 50%;    
}

    .issue-status ul {
        flex: 1;
        
    }

.dropzone {
    padding: 10px;
    border: 2px dashed #75868a;
    list-style: none;
    
}

.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.draggable {
    margin-bottom: 5px;
    margin-right: 0;
    padding: 10px 10px;
    border: 1px solid #424d5c;
    cursor: grab;
    background: #e1e5e9;
    color: #292727;
    border-radius: 5px;
    width: 80%;
    height: 7%;
    line-height: 10px;    
}

.draggable:active {
    cursor: grabbing;
}

.dragging {
    cursor: grabbing;
}

.description {
    font-size: 11px;
}

.last-updated {
    margin-bottom: 0;
    font-size: 10px;
    color: #131414;
    font-weight: bold;
}

    .last-updated small {
        text-transform: uppercase;
        color: #c4cbd4;
        font-size: 11px;
    }
    .asText {
        background: #e7e9eb;
        border: none;
        margin-right: 10px;
        border-radius: 5px;
        transition: opacity 0.1;
        font-size: 1rem;
        width: 120px;
        height: 50px;
        padding: 10px;
    }
    .task-item {
        padding: 10px;
        border: 1px solid #ccc;
        margin-bottom: 5px;
        background-color: white;
        cursor: move;
    }

     /*
    ul for add comments for issue details
    */
    .ul-list {
      list-style: none;
      padding: 0;
      max-width: 600px;
      margin: 0 auto;
    }

    .li-item {
      background-color: white;
      padding: 20px;
      margin-bottom: 15px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .title {
      font-weight: normal;
      font-size: 1.2em;
      margin-bottom: 10px;
    }

    .content {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 5px;
    }

    .actions {
      display: flex;
      gap: 10px;
    }

    .text-button {
      background: none;
      border: none;
      color: #7db5f1;
      cursor: pointer;
      font-size: 1.3em;
      padding: 0;
    }

    .text-button:hover {
      text-decoration: underline;
    }
    



#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

   

    }