body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to right, #AFCBFF 0%, /* pale steel blue */ #E6F2FF 50%, /* very light sky blue center */ #AFCBFF 100% /* pale steel blue again */ );
    color: #1A2B4C;
}
.lineDiv {
    overflow: hidden;
    clear: both;
}

.inlineDiv {
    display: inline;
    float: left;
}

.bakula {
    cursor: pointer;
    border: 1px solid gray !important;
    border-radius: 5px;
    margin: 5px;
    padding: 5px;
    text-align: center;
    /*width: 250px;*/
    font-size: 11px;
    background-color: #FFFFFF;
}

.bakula:hover {
    background-color: #F0F8FF;
}

.selectedBakula {
    background-color: #99BBFF !important;
}

.invisible {
    display: none;
}

#reset {
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: #ADD8E6;
    border: 1px solid transparent;
    border-radius: 5px;
}

#bakule {
    width: 100%;
}

#bakule table {
    table-layout: fixed;
    width: 100%;
}

.bakulaTable td {
    cursor: pointer;
    border: 1px solid gray;
    border-radius: 5px;
    text-align: center;
    margin: 5px;
    padding: 5px;
}

.bakulaTable td:hover {
    background-color: palegreen;
}

.birthdayHeader {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

.nextBirthday {
    cursor: pointer;
    font-size: 12px;
    text-align: center;
}

canvas {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 900px;
    border: 1px solid gray;
}

.container {
    flex: 1;
}
footer {
    text-align: center;
    height: 50px;
}
.adminControlParent {
    text-align: right;
}
.adminControl {
    cursor: pointer;
    width: 16px;
}
.editAction {
    float: right;
}
.addAction {
    float: left;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: none; /* Hidden by default */
    z-index: 999;
}

#dialog {
    width: 258px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensures it's above the overlay */
}
#dialogContent, .bakulaInput {
    margin-bottom: 10px;
}
#dialogContent {
    text-align: center;
}
.bakulaInput {
    width: 250px;
    height: 20px;
    font-size: 16px;
}
.okAction {
    margin-right: 10px;
    float: left;
} 
.cancelAction {
    margin-right: 10px;
    float: right;
}