/* Table styles */
.table tbody tr, .table thead tr {
    line-height: 1.4;
}

.table tbody td, .table thead th {
    padding: 0px 4px;
}

.analysis-table {
    width: 100%;
    table-layout: fixed;
}

.table-header {
    font-size: 12px;
}

/* Column width classes */
.parameter-header {
    width: 30%;
}

.result-header {
    width: 15%;
}

.calculated-header {
    width: 5%;
}

.mark-header {
    width: 5%;
}

.cutoffs-header {
    width: 30%;
}

.change-low-header,
.change-high-header,
.used-low-header,
.used-high-header {
    width: 7.5%;
}

.unit-header {
    width: 4%;
}

.error-header {
    width: 11%;
}

/* Cell styling */
.parameter-name {
    width: 30%;
    text-align: left;
}

.result-input {
    width: 15%;
    text-align: left;
}

.calculated-result {
    width: 5%;
    text-align: center;
}

.mark-cell {
    width: 5%;
    text-align: center;
}

.cutoff-input {
    width: 10%;
    text-align: center;
}

.default-cutoff {
    width: 5%;
    font-weight: bold;
    text-align: center;
}

.unit-cell {
    width: 5%;
    text-align: center;
}

.error-cell {
    width: 11%;
    text-align: center;
}

.categorical-select {
    width: 20%;
    text-align: center;
}

/* Analysis page layout */
.analysis-page {
    position: relative;
}

#analysis-header {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Text alignment */
.text_align_center {
    text-align: center;
}

.analysis-title {
    font-size: 18px;
}

.findings-text {
    font-weight: bold;
}

.comment-display {
    height: 150px;
    width: 100%;
    overflow: auto;
}

/* Form controls */
.clear-btn {
    margin-right: 10px;
    margin-top: 20px;
    display: block;
    width: 40%;
    position: relative;
    left: 60%;
    padding: 5px;
}

.gender-select,
.age-select {
    margin-right: 10px;
    margin-top: 20px;
    display: block;
    width: 50%;
    position: relative;
    left: 50%;
    padding: 5px;
}

.birth-date {
    margin-right: 10px;
    margin-top: 20px;
    display: block;
    width: 70%;
    position: relative;
    left: 30%;
    padding: 5px;
}

.generate-comment-btn {
    margin-top: 10px;
    display: block;
    width: 70%;
    position: relative;
    left: 30%;
    padding: 5px;
}

.copy-comment-btn {
    background-color: transparent;
    color: transparent;
    border: none;
    border-radius: 5px;
}

/* Error text */
.ErrorText {
    display: block;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    max-width: 400px;
    word-wrap: break-word;
    background-color: rgb(50, 255, 255);
    color: black;
    font-size: 16px;
    font-weight: bold;
}