/* base-styling  */

.w-100 {
    max-width:100px;
    width: 100%
}
.w-150 {
    max-width:150px;
    width: 100%
}
.w-200 {
    max-width:200px;
    width: 100%
}
.w-360 {
    max-width:360px;
    width: 100%
}

/* 
    Logo and Color

    Darkstyle
    Svart: #000000
    Mörk nästan-svart (små variationer): #000001, #000101, #010101, #010001
    Vit: #FFFFFF
    Kopar : #895425

    Ljus beige (bakgrund) #ddcebf
    Mörk brun/svart (top och bottom bar, text) #27221f
    Mellanbrun (knappar, accentfärg) #a6846a

    light-brown: #ede3d7 // sucess panel
    paper: #dbc5b5

    background-login:#d8c7b5
    background-login-button: #af7a50

    bg-brown-white {
        background-color: #f0e9e2;
    }
*/    

.logo-image {
  object-fit: cover;
  display: block;
}

.color-black{
    color: #000000;
}

.bg-black{
    background-color: #000000;
}

.bg-brown-white {
    background-color: #f0e9e2;
}

.color-brons {
    color:#d98f55 /* #b35c23; */
}

.bg-brons {
    background-color: #b35c23;
}

.color-brons-dark {
    color: #895425;
}

.bg-brons-dark {
    background-color: #895425;
}

.color-beige {
    color: #a6846a;
}

.bg-beige {
    background-color: #a6846a;
}

.color-brown {
    color: #d6c4b1;
}

.bg-brown {
    background-color: #d6c4b1;
}

.bg-paper {
    background-color: #dbc5b5;
}

.bg-brow-light {
    background-color: #ede3d7;
}

.color-blue {
    color: #258bdf;
}

.color-white {
    color: #ffffff;
}

.bg-blue {
    background-color: #258bdf;
    color: #ffffff;
}

.bg-blue-dark {
    background-color: #3c5ddb;
    color: #ffffff;
}

.bg-yellow {
    background-color: #f2ad31;
    /* color: #1f2937; */
    color: #ffffff;
}

.bg-green {
    background-color: #69d812;
    color: #ffffff;
}

.bg-red {
    background-color: #e34d72;
    color: #ffffff;
}

.bg-purple {
    background-color: #ae38b0; 
    color: #ffffff;
}

.bg-blue-gray {
    background-color: #4399ad;  
    color: #ffffff;
}

.bg-blue-green {
    background-color: #6ba38e;  
    color: #ffffff;
}

.bg-cyan {
    background-color: #33d3cb;
    color: #ffffff;
}

.color-yellow {
    color: #f2ad31
}

/*
    Sidebar
*/

.sidebar {
  /* height: calc(100vh - 52px); */
  background-color: #258bdf;
  color: #ffffff;
  border-radius: 0 8px 0 8px;
  display: flex;
  flex-direction: column;
  margin-top:-24px;
}

.sidebar-top {
  flex: 1; 
  padding-top: 1rem;
}

.button-clear {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  margin-bottom: 0;
  padding: 0 0 0 0;
  margin-bottom: 8px; 
  font-size: 16px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column; /* stack icon above text */
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.button-clear:focus,
.button-clear:active,
.button-clear.is-active {
  border-radius: 9999px;
  outline: none;
  color: #f2ad31;
  /* max-width: 180px; */
}

.icon-text {
  display: flex;
  flex-direction: column; /* vertical stack */
  align-items: center;
  justify-content: center;
}

.icon {
  margin-bottom: 4px; /* space between icon and label */
}

.modal-card-foot {
    padding: 0 20px 0 20px;
}

.navbar-item {
    color: #b35c23;          /* textfärg brons */
    background-color: transparent !important; /* bakgrund transparent */
}
.navbar-item:hover {
    color: #ffffff !important;    /* vit text vid hover */
    /* background-color: #b35c23 !important; /* valfritt: bakgrund brons */
}

/*
.logout-button {
  border-radius: 9999px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #444444;
}
*/

.button.is-primary {
    background-color: #b35c23;
    color: #ffffff;
    border: none;
}
.button.is-primary:hover {
    background-color: #895425; /* samma bakgrund */
    color: #000000;            /* svart text */
    border: none;
}

/* Override Bulma primary button color */
.button.is-success {
    background-color: #eee3d7; /* Dark blue */
    border: none;
    color: #000000; /* Keep text white */
}
  
  /* Optional: change hover color slightly */
.button.is-success:hover {
/* .button.is-success.is-hovered { */
    background-color: #eee3d7; /* Even darker blue on hover */
    border: none;
}

input:disabled,
textarea:disabled,
select:disabled {
  background-color: #fafafa !important;
  color: #666666 !important;
  border-color: #b5b5b5 !important; /* Optional: tweak border for visibility */
}

.content-area {
    background-color: #ffffff;
    padding: 0 0 1rem 0;
    height: calc(100vh - 52px);
    /* overflow-y: auto; */
    margin:0;
    border-radius: 12px;

}
.navbar {
    border-bottom: 1px solid #dbdbdb;
}

.tab-content {
    /* border: 1px solid #dbdbdb; */
    border-radius:8px; 
}

.button-panel {
    padding: 8px 6px 0 6px;
    border: 1px solid #dbdbdb; 
    border-radius: 12px
}

.panel-heading {
    background-color: #003366; /* Dark blue */
    border-color: #003366;
    color: #ffffff;
}

.table-container td {
    font-size:14px;
}

.table-container th {
    font-size:13px;
}


.navbar-item img {
    max-height:80px;
}

.navbar-item {
    margin-left: 30px; 
    margin-right: 30px;
    font-size:18px; 
}

.navbar-item.color-white {
    color: white;
}

/* On mobile: override to black */
@media screen and (max-width: 1024px) {
    .navbar-item.color-white {
        color: black !important;
    }
    #loginModalOpenBtn {
        margin-left:30px;
    }
}
