@keyframes animateLeftToRight {
  from { transform: translateX(-100%); }
  to { transform: translateX(0%); }
}
@keyframes animateRightToLeft {
  from { transform: translateX(100%);  }
  to { transform: translateX(0%);  }
}
@keyframes animateTopToBottom {
  from { transform: translateY(-100%);  }
  to { transform: translateY(0%);  }
}
@keyframes animateBottomToTop {
  from { transform: translateY(100%);  }
  to { transform: translateY(0%);  }
}
@keyframes animateVisible {
  from { opacity:0;  }
  to { opacity:1;  }
}
@keyframes animateInVisible {
  from { opacity:1;  }
  to { opacity:0;  }
}
.tk-placingcontainer.pc-group{
 border-color:rgba(225, 225, 225, 1);
 fill:rgba(225, 225, 225, 1); 
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 5px 5px 5px 5px ;
 margin: 10px 5px 0px 5px ;
 padding: 10px 10px 10px 10px ;
}
.tk-placingcontainer.pc-boarder-bottom{
 border-color:rgba(115, 115, 115, 1);
 fill:rgba(115, 115, 115, 1); 
border-width: 0px 0px 1px 0px ;
 border-style: solid;
}
.tk-placingcontainer.pc-padding{
 padding: 5px 5px 5px 5px ;
}
.tk-component.tabbuttonselected:not(.isgridrowdiv *):not(:has(img)){
 background-color: rgba(227,227,227,1);
border-radius: 10px 10px 0px 0px ;
}
.tk-component.tabbuttonselected:not(.isgridrowdiv *) img.tabbuttonselected{
 background-color: rgba(227,227,227,1);
border-radius: 10px 10px 0px 0px ;
}
.tk-placingcontainer.tabbuttonselected{
 background-color: rgba(227,227,227,1);
}
.tk-component.tabbuttonselected:not(.isgridrowdiv *) input.tabbuttonselected{
 background-color: rgba(227,227,227,1);
text-shadow:unset;
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-component.tabbuttonselected:not(.isgridrowdiv *) .tk-select__native.tabbuttonselected{
 background-color: rgba(227,227,227,1);
text-shadow:unset;
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-component.tabbuttonselected:not(.isgridrowdiv *) .tk-button__native.tabbuttonselected{
 background-color: rgba(227,227,227,1);
-webkit-box-shadow:unset;
box-shadow:unset;
}
.tk-component.tabbuttonselected:not(.isgridrowdiv *) .tk-static-text__native.tabbuttonselected{
 background-color: rgba(227,227,227,1);
text-shadow:unset;
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-placingcontainer.pc-box{
 border-color:rgba(115, 115, 115, 1);
 fill:rgba(115, 115, 115, 1); 
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 5px 5px 5px 5px ;
-webkit-box-shadow:unset;
box-shadow:0px 4px 8px rgba(115, 115, 115, 1);
 margin: 7px 5px 0px 5px ;
 padding: 7px 7px 7px 7px ;
}
.tk-placingcontainer.pc-box-text{
 background-color: rgba(225,225,225,1);
}
.tk-component.tabbutton:not(.isgridrowdiv *):not(:has(img)){
 background-color: rgba(201,196,196,1);
border-radius: 10px 10px 0px 0px ;
 margin: 5px 0px 0px 0px ;
}
.tk-component.tabbutton:not(.isgridrowdiv *) img.tabbutton{
 background-color: rgba(201,196,196,1);
border-radius: 10px 10px 0px 0px ;
 margin: 5px 0px 0px 0px ;
}
.tk-component.tabbutton:not(.isgridrowdiv *) input.tabbutton{
 background-color: rgba(201,196,196,1);
text-shadow:unset;
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-component.tabbutton:not(.isgridrowdiv *) .tk-select__native.tabbutton{
 background-color: rgba(201,196,196,1);
text-shadow:unset;
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-component.tabbutton:not(.isgridrowdiv *) .tk-button__native.tabbutton{
 background-color: rgba(201,196,196,1);
-webkit-box-shadow:unset;
box-shadow:unset;
}
.tk-component.tabbutton:not(.isgridrowdiv *) .tk-static-text__native.tabbutton{
 background-color: rgba(201,196,196,1);
text-shadow:unset;
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-quickgrid-cell > .isgridrowdiv > .Text_Center div, .tk-data-table__cell.Text_Center div{
 text-align: center;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-quickgrid-cell > .isgridrowdiv > .Text_Center input, .tk-data-table__cell .Text_Center input{
 text-align: center;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-placingcontainer.Status_Warning{
 background-color: rgba(255,133,133,1);
border-radius: 2px 2px 2px 2px ;
 margin: 0px 0px 0px 0px ;
 padding: 2px 2px 2px 2px ;
}
.tk-component.Status_Warning:not(.isgridrowdiv *) input.Status_Warning{
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
 padding: 2px 2px 2px 2px ;
}
.tk-component.Status_Warning:not(.isgridrowdiv *) .tk-select__native.Status_Warning{
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
 padding: 2px 2px 2px 2px ;
}
.tk-component.Status_Warning:not(.isgridrowdiv *) .tk-button__native.Status_Warning{
 padding: 2px 2px 2px 2px ;
}
.tk-component.Status_Warning:not(.isgridrowdiv *) .tk-static-text__native.Status_Warning{
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
 padding: 2px 2px 2px 2px ;
}
.tk-placingcontainer.pc-box-lightgray{
 background-color: rgba(246,247,247,1);
 border-color:rgba(115, 115, 115, 1);
 fill:rgba(115, 115, 115, 1); 
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 5px 5px 5px 5px ;
 margin: 5px 0px 0px 0px ;
}
.tk-placingcontainer.Status_Attention{
 background-color: rgba(255,251,193,1);
border-radius: 2px 2px 2px 2px ;
}
.tk-placingcontainer.Status_Info{
 background-color: rgba(244,244,244,1);
border-radius: 2px 2px 2px 2px ;
 margin: 2px 2px 2px 2px ;
}
.tk-component.ButtonOrange:not(.isgridrowdiv *):not(:has(img)){
 border-color:rgba(200, 212, 224, 1);
 fill:rgba(200, 212, 224, 1); 
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 10px 10px 10px 10px ;
}
.tk-component.ButtonOrange:not(.isgridrowdiv *) img.ButtonOrange{
 border-color:rgba(200, 212, 224, 1);
 fill:rgba(200, 212, 224, 1); 
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 10px 10px 10px 10px ;
}
.tk-component.ButtonOrange:not(.isgridrowdiv *) input.ButtonOrange{
 color: rgba(115,115,115,1);
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-component.ButtonOrange:not(.isgridrowdiv *) .tk-select__native.ButtonOrange{
 color: rgba(115,115,115,1);
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-component.ButtonOrange:not(.isgridrowdiv *) .tk-button__native.ButtonOrange{
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 10px 10px 10px 10px ;
}
.tk-component.ButtonOrange:not(.isgridrowdiv *) .tk-static-text__native.ButtonOrange{
 color: rgba(115,115,115,1);
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
}
.tk-component.InfoBox:not(.isgridrowdiv *) input.InfoBox{
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
 margin: 0px 15px 0px 15px ;
 padding: 0px 25px 0px 0px ;
}
.tk-component.InfoBox:not(.isgridrowdiv *) .tk-select__native.InfoBox{
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
 margin: 0px 15px 0px 15px ;
 padding: 0px 25px 0px 0px ;
}
.tk-component.InfoBox:not(.isgridrowdiv *) .tk-button__native.InfoBox{
 margin: 0px 15px 0px 15px ;
 padding: 0px 25px 0px 0px ;
}
.tk-component.InfoBox:not(.isgridrowdiv *) .tk-static-text__native.InfoBox{
 text-align: left;
 vertical-align: text-top;
 font-weight: normal;
 font-style: normal;
 margin: 0px 15px 0px 15px ;
 padding: 0px 25px 0px 0px ;
}
.tk-component.ImageCarousel:not(.isgridrowdiv *):not(:has(img)){
 background-color: rgba(244,244,244,1);
 border-color:rgba(255, 133, 133, 1);
 fill:rgba(255, 133, 133, 1); 
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 2px 2px 2px 2px ;
 margin: 2px 2px 2px 2px ;
 max-height: 150px;
 min-height: unset;
 height: unset;
 max-width: 150px;
 min-width: unset;
 width: unset;
}
.tk-component.ImageCarousel:not(.isgridrowdiv *) img.ImageCarousel{
 background-color: rgba(244,244,244,1);
 border-color:rgba(255, 133, 133, 1);
 fill:rgba(255, 133, 133, 1); 
border-width: 1px 1px 1px 1px ;
 border-style: solid;
border-radius: 2px 2px 2px 2px ;
 margin: 2px 2px 2px 2px ;
 max-height: 150px;
 min-height: unset;
 height: unset;
 max-width: 150px;
 min-width: unset;
 width: unset;
}
:root {
--label-font-size: 11px;
--data-table-row-height: 10px;
--btn-border-radius: 4px;
--data-table-header-height: 12px;
--base-border-radius: 2px;
}

/* Medium (Tablet) Breakpoint */
@media(min-width: 768px) {
:root {
--label-font-size: 11px;
--data-table-row-height: 10px;
--btn-border-radius: 4px;
--data-table-header-height: 12px;
--base-border-radius: 2px;
}
}
/* Large (Desktop) Breakpoint */
@media(min-width: 1200px) {
:root {
--label-font-size: 11px;
--data-table-row-height: 10px;
--btn-border-radius: 4px;
--data-table-header-height: 12px;
--base-border-radius: 2px;
}
}
:root {
}
:root {

    /* Background: vit eller mycket ljus variant av #c8d4e0 */

    --table-bg-clr: 255, 255, 255; /* White base for default rows */



    /* Rubrikrad: #5f5b56 med vit text */

    --data-table-header-bg-color: 95, 91, 86; /* Dark gray-brown */

    --data-table-header-text-color: 255, 255, 255; /* White text */



    /* Accent: #b68535 för viktiga värden eller aktiva element. */

    --primary-color: 182, 133, 53; /* Warm gold accent */

    --primary-color-dark: 160, 115, 45; /* Slightly darker gold for hover effects if primary is used for buttons etc. */



    /* Table border: Diskreta linjer istället för kraftiga borders */

    --table-border-clr: 218, 220, 224; /* Light gray */

    --table-border-width: 1px; /* Subtle border width */



    /* Default text color for table body (soft contrast) */

    /* Using a darker grey to provide contrast against light backgrounds but not harsh black */

    --data-table-body-text-color: 40, 40, 40; 

}



/* Overall table container padding for "luftig layout" */

.tk-data-table {

    padding: 5px; /* padding around the table component */

}



/* Table content area, with subtle borders for the overall table structure */

.tk-data-table__content {

    border: var(--table-border-width) solid rgb(var(--table-border-clr));

    border-radius: var(--table-border-radius, 4px);

    overflow: hidden; /* Ensures rounded corners */

    background: rgb(var(--table-bg-clr)); /* Ensure the base background for the content area */

}



/* Table headers */

.tk-data-table__header-cell {

    background-color: rgb(var(--data-table-header-bg-color));

    color: rgb(var(--data-table-header-text-color));

    padding-top: 12px;

    padding-bottom: 12px;

    border-bottom: var(--table-border-width) solid rgba(var(--table-border-clr), 0.5); /* Soft bottom border */

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;

}



/* Ensure column resizer is visible and subtle */

.column-resizer {

    background: transparent;

}

.column-resizer:hover {

    background: rgba(var(--primary-color), 0.2); /* Subtle accent hover for resizer */

}



/* Ensure header icons align with the new header text color */

.tk-data-table__header-cell span::after,

.tk-data-table__header-cell span::before {

    color: rgb(var(--data-table-header-text-color));

}



/* Table rows for zebra striping and base styling */

.tk-data-table__row {

    background-color: rgb(var(--table-bg-clr)); /* White for even rows */

    height: auto; /* Allow content to dictate height, controlled by cell padding */

    transition: background-color 0.2s ease-in-out; /* Smooth transitions for hover */

    color: rgb(var(--data-table-body-text-color)); /* Apply softer body text color */

}



/* Radrandning (zebra striping): vitt + svagt blå (#c8d4e0 med låg opacitet) */

.tk-data-table__native.striped .tk-data-table__row:nth-of-type(2n+1) {

    background-color: rgba(200, 212, 224, 0.1); /* Faint blue overlay for odd rows */

}



/* Hover effect: tydligare blå ton (#c8d4e0) */

.tk-data-table__row:hover,

.tk-data-table__row:focus {

    background-color: rgb(200, 212, 224);

    outline: none; /* Remove default focus outline */

}



/* Accent for selected/current row: #b68535 */

.tk-data-table__row.vmCurrentRow,

.tk-data-table__row.vmSelectedRow,

tr:has(.tk-quickgrid-cell .current),

tr:has(.tk-quickgrid-cell .selected) {

    background-color: rgba(var(--primary-color), 0.15); /* Light accent background */

    box-shadow: inset 0px 0px 0px 1px rgb(var(--primary-color)); /* Subtle accent border */

}



/* Accent for first column of selected/current row, as a visual stripe */

tr:has(.tk-quickgrid-cell .current) td:first-child::before,

tr:has(.tk-quickgrid-cell .selected) td:first-child::before,

.tk-data-table__row.vmCurrentRow td:first-child::before,

.tk-data-table__row.vmSelectedRow td:first-child::before {

    background-color: rgb(var(--primary-color));

    width: 4px; /* Visible accent stripe */

    opacity: 1; /* Ensure visible */

}



/* Table cells for padding and subtle borders */

.tk-data-table__cell {

    /* "Radtexten skalla kännas luftig åt båda hållen, se till att det finns marginal både upptill samt nedtill. dock skall ändå raden hållas ganska tight" */

    padding: 10px 16px; /* Vertical padding for "airy" feel, horizontal as default for "ganska tight" */

    border-bottom: 1px solid rgba(var(--table-border-clr), 0.3); /* Softer border between rows */

    font-weight: 400; /* Regular weight for content */

    letter-spacing: 0.018em; /* To help with readability */

}



/* Remove bottom border for the last row in tbody for a cleaner look */

.tk-data-table__native tbody tr:last-child .tk-data-table__cell {

    border-bottom: none;

}



/* Accent for important values: TimeOpen column as an example */

.tk-data-table__cell.TimeOpen12598913 .tk-static-text__native {

    color: rgb(var(--primary-color)); /* Apply the warm gold accent */

    font-weight: 600; /* Make it stand out more */

}



/* Styling for buttons within table cells (e.g., the "➕" button) */

.tk-data-table__cell.fab .tk-button__native {

    margin: 0;

    padding: 0;

    width: 30px; /* Adjust size for compactness */

    height: 30px;

    font-size: 0.8em;

    box-shadow: none; /* Remove shadow for cleaner look */

    background: transparent; /* Make it transparent */

    color: rgb(var(--primary-color)); /* Use accent color for button icon/text */

}



.tk-data-table__cell.fab .tk-button__native:hover {

    background-color: rgba(var(--primary-color), 0.1); /* Subtle hover effect */

    box-shadow: none;

}



/* Styling for context actions button (three dots) */

.gridrowcontentbutton.show-actions button.tk-button__native {

    background: transparent;

    box-shadow: none;

    color: rgba(0, 0, 0, 0.6); /* Softer color for the icon */

}



.gridrowcontentbutton.show-actions button.tk-button__native:hover {

    background-color: rgba(0, 0, 0, 0.08); /* Light hover effect */

}


