@media all and (max-width: 1100px) {
  .list-view.editing .toolbar,
  .list-view.editing .edited-grid {
    display: none;
  }
}
a[highlight] {
    font-weight: bold;
    text-decoration: underline;
}

.start-page {
    margin-top: 50px;
}

.welcome-header {
    font-size: 2.5em;
    color: #007bff;
}

.info-paragraph {
    font-size: 1.2em;
    margin: 20px 0;
    color: #333;
}

.explore-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 20px;
}

/*vaadin-dialog-overlay {*/
/*    width: 90vw !important;  !* 90% szerokości ekranu *!*/
/*    max-width: 600px !important; !* Maksymalna szerokość na desktopach *!*/
/*    min-width: 300px !important; !* Minimalna szerokość na bardzo małych ekranach *!*/
/*}*/

/*vaadin-dialog-overlay::part(content) {*/
/*    display: flex !important;*/
/*    flex-direction: column !important;*/
/*    align-items: center !important;*/
/*    justify-content: center !important;*/
/*}*/

@media screen and (max-width: 600px) {
    vaadin-dialog-overlay {
        width: 95vw !important; /* Na bardzo małych ekranach 95% szerokości */
        max-width: 100% !important;
    }
}

.explore-button:hover {
    background-color: #0056b3;
}

.event-type-login {
    background-color: #d1ecf1; /* Soft blue (informational) */
}

.event-type-insert {
    background-color: #d4edda; /* Soft green (success) */
}

.event-type-update {
    background-color: #fff3cd; /* Soft yellow (warning) */
}

.event-type-delete {
    background-color: #f8d7da; /* Soft red (danger) */
}

.event-type-login-failed {
    background-color: #e46670; /* Soft red (danger) */
}

.event-type-reset-password {
    background-color: #bd91ec; /* Soft red (danger) */
}

/* Kolor dla procentu > 90% */
.green-row {
    background-color: #d4edda;
}

/* Kolor dla procentu 80-90% */
.yellow-row {
    background-color: #fff3cd;
}

/* Kolor dla procentu 70-80% */
.orange-row {
    background-color: #ffeeba;
}

/* Kolor dla procentu < 70% */
.red-row {
    background-color: #f8d7da;
}

/* Dla ekranów większych niż 1200px szerokości */
@media (min-width: 1200px) {
    vaadin-tabs {
        max-width: 600px !important; /* Zwiększamy szerokość na większych ekranach */
    }
}

/* Dla ekranów mniejszych niż 1200px */
@media (max-width: 1199px) {
    vaadin-tabs {
        max-width: 400px !important; /* Mniejsza szerokość na średnich ekranach */
    }
}

/* Dla ekranów mobilnych */
@media (max-width: 600px) {
    vaadin-tabs {
        max-width: 300px !important; /* Jeszcze mniejsza szerokość na telefonach */
    }
}

/* możesz zawęzić do Twojego grida po klasie: .edited-grid */
vaadin-grid.edited-grid::part(status-entered) {
    color: #c1121f !important;      /* czerwony */
    font-weight: 600;
}

vaadin-grid.edited-grid::part(status-accepted) {
    color: #b45309 !important;      /* bursztyn/pomarańcz */
    font-weight: 600;
}

vaadin-grid.edited-grid::part(status-in-progress) {
    color: #85ae8f !important;      /* zielony "w trakcie" (stonowany) */
    font-weight: 600;
}

vaadin-grid.edited-grid::part(status-completed) {
    color: #15803d !important;      /* zielony */
    font-weight: 600;
}

vaadin-grid.edited-grid::part(status-canceled) {
    color: #6b7280 !important;      /* szary */
    font-weight: 600;
}



