.dashboard-container {
  display: flex;
  height: 100vh;  
}

.dashboard-main {
  flex: 1;
  background-color: #f4f6f8;
  padding: 20px;
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

.add-lkw-btn{
background-color: #1f2a40;
  color: white;
  font-size: 16px;
  font-weight: bold;
  width: 200px;
  height: 50px;
  padding: 10px;
  border: 1px solid #1f2a40;
  border-radius: 10px;
  cursor: pointer;
}

.add-lkw-btn:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dashboard-box-1 {
  background: rgba(163, 163, 163, 0.356);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.kategorie-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.kategorie-item {
    position: relative;
}

.center-btn {
  background-color: #1f2a40;
  color: white;
  font-size: 16px;
  font-weight: bold;
  width: 200px;
  height: 50px;
  padding: 10px;
  border: 1px solid #1f2a40;
  border-radius: 10px;
  cursor: pointer;
}

.center-btn:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.kategorie-button {
    width: 200px;
    height: 200px;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    background-size: cover;
    background-position: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kategorie-button:hover {
    opacity: 0.8;
    transform: scale(1.05); 
}

.delete-button {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    color: red;
    border: none;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    padding: 5px;
}

.delete-button:hover {
    color: black; 
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 900;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 700px;
    height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    transition: transform 0.3s ease-out;
    overflow: auto;
    max-height: 80vh;
}

.popup-visible {
    transform: translate(-50%, -30%);
    top: 30%;
}

.popup-header{
    display: flex;
    align-items: center;
}

.popup-lkw-input {
    width: 100%;
    height: 30px;
    margin-top: 10px;
    padding: 5px;
    font-size: 16px;
}

.edit-btn-popup {
  background-color: #1f2a40;
  color: white;
  font-size: 16px;
  font-weight: bold;
  width: 200px;
  height: 50px;
  padding: 10px;
  border: 1px solid #1f2a40;
  border-radius: 10px;
  cursor: pointer;
}

.edit-btn-popup:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.delete-button-popup {
  background-color: #ff0000d3;
  color: white;
  font-size: 16px;
  font-weight: bold;
  width: 200px;
  height: 50px;
  padding: 10px;
  border: 1px solid #ff0000d3;
  border-radius: 10px;
  cursor: pointer;
}

.delete-button-popup:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.close-btn-popup {
    position: absolute;
    right: 50px;
    font-size: 24px;
    cursor: pointer;
}
