body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title {
    font-family: 'Arial', sans-serif;
    font-size: 20pt;
    font-weight: bold;
    text-align: left;
    background-color: #BF0000;
    color: #ffffff;
    padding: 40px 0;
    padding-left: 175px;
    margin: 0;
    background-image: url('https://dl.ccb-online.de/informatik/HTML-Applets/Logo.svg');
    background-repeat: no-repeat;
    background-position: 40px center;
    background-size: contain;
    width: 100%;
    box-sizing: border-box;
}

.layout3 {
    padding-top: 10px;
    margin-top: 20px;
    max-width: 800px;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.password-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.password-container {
    display: flex;
    flex-direction: column;
    width: 45%;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    transition: background-color 0.5s ease;
}

.spacer {
    width: 10px;
}

h2 {
    margin-top: 0px;
    margin-bottom: 20px;
}

#time-estimate {
    font-weight: bold;
    text-align: center;
}

.button-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    padding: 10px 20px;
    margin: 15px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #BF0000;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #800000;
}

.result {
    text-align: center;
    font-size: 16px;
    background-color: #f8f9fa;
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
}

#password-left, #password-right {
    background-color: #99CC99;
}

#calculation-result {
    display: none;
}

#category-info {
    display: none;
}

select {
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #343a40;
}

select:focus {
    border-color: #800000;
    outline: none;
}

.requirement {
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
    color: #343a40;
}
.requirement.green {
    background-color: #dfefd4;
}
.requirement.red {
    background-color: #ffcccc;
}

.warning-text {
    font-size: 16px;
    color: #343a40;
    margin-bottom: 10px;
    text-align: center;
}

#text-input {
    width: 100%;
    font-size: 18px; /* Schriftgröße vergrößert */
    padding: 12px; /* Innenabstand vergrößert */
    margin-bottom: 20px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}

.info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    margin-left: 10px;
}
.tooltip {
    visibility: hidden;
    width: 250px;
    background-color: #f8f9fa;
    color: #343a40;
    text-align: left;
    border-radius: 4px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the icon */
    left: 50%;
    margin-left: -125px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}
.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

