.calculator-container {
    text-align: center;
    margin-top: 40px;
}

h1 {
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.input-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.input-box {
    width: 130px;
    height: 200px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

.spacer {
    width: 25px;
}

.input-instruction {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.output-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.output-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 150px;
}

.output-box {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    background-color: #f9f9f9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.large-output {
    font-size: 24px;
    font-weight: bold;
    background-color: #e0f7fa;
}

#net-worth-label, .net-worth-label {
    font-size: 28px;
    font-weight: bold;
}

.net-worth-value {
    font-size: 32px;
    font-weight: bold;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.toggle-row {
    margin-top: 20px;
    text-align: center;
}

#toggle-visibility {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    background-color: #6a00ff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

#toggle-visibility:hover {
    background-color: #5700d0;
}
