.note-box {
    border: 1px solid #888;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-family: serif;
    width: 80%;               /* šírka ako percento rodiča */
    margin: 1em auto;         /* centrovanie */
    box-sizing: border-box;
    font-weight: bold; /* Tučné písmo */
}

/* alert box*/
.custom-alert {
    position: relative;
    border: 1px solid;
    border-radius: 6px;
    margin: 1em auto;
    max-width: 600px;
    width: 90%;
    box-sizing: border-box;
    font-family: serif;
    padding: 20px 16px 16px 16px;
    color: #222;
}

/* Horná tenká čiara */
.custom-alert::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

/* Automatický štítok */
.custom-alert::after {
    position: absolute;
    top: -10px;
    right: 15px;
    color: white;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 0 8px 0 8px;
    font-size: 13px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* === Important === */
.custom-alert.important {
    background: linear-gradient(to bottom, #fff5f5, #fbdada);
    border-color: #c0392b;
}
.custom-alert.important::before {
    background-color: #c0392b;
}
.custom-alert.important::after {
    content: "Important";
    background-color: #c0392b;
}

/* === Info === */
.custom-alert.info {
    background: linear-gradient(to bottom, #eef6fc, #d0e4f7);
    border-color: #1c6fb8;
}
.custom-alert.info::before {
    background-color: #1c6fb8;
}
.custom-alert.info::after {
    content: "Info";
    background-color: #1c6fb8;
}

/* === TODO === */
.custom-alert.todo {
    background: linear-gradient(to bottom, #bafad5, #63f881);
    border-color: #0eed90;
}
.custom-alert.todo::before {
    background-color: #0eed90;
}
.custom-alert.todo::after {
    content: "TODO";
    background-color: #0eed90;
}

/*klavesa*/
.key {
    display: inline-block;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 90%;
    box-shadow: inset 0 -1px 0 #bbb;
}

/*MENU do user guide*/
.menu-path {
  display: inline-block;  
  gap: 4px;
  padding: 2px 8px;
  background-color: #dfe295;  
  border: 1px solid #000;           
  border-radius: 3px;
  font-family: monospace;
  font-size: 90%;
}
