body {
    font-family: 'Poppins', sans-serif;
    background-color: #0b0b0b;
    color: #efefef;
    width: 100%;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

.container {
    margin: 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group-date {
    margin-bottom: 15px;
}

.input-group-date input[type="date"] {
    background-color: #0b0b0b;
    color: #efefef;
    border: 2px solid #efefef;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="number"],
input[type="date"] {
    width: 90%;
    padding: 10px; /* Slightly larger padding for easier tapping on mobile */
    border-radius: 10px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; /* Slightly larger font for better readability on small screens */
    background-color: #c6eedc;
}

button {
    width: 90%;
    padding: 12px; /* Larger button padding for easier tapping */
    background-color: #00b664;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px; /* Larger font size for better readability */
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

button:hover {
    background-color: #00733f;
}

.output-group {
    margin-top: 20px;
    text-align: left;
}

.title-thing {
    font-weight: normal;
    margin-right: 10px;
}

#totalDays,
#adjustedDays {
    font-size: 20px;
    font-weight: 600;
}

#fractionResult {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
}
#finalDays {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
}

.fraction {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.fraction .numerator {
    display: block;
    text-align: center;
    font-size: 0.8em; /* Smaller font size for the numerator */
    border-bottom: 1px solid #efefef;
    padding-bottom: 2px;
}

.fraction .denominator {
    display: block;
    text-align: center;
    font-size: 0.8em; /* Smaller font size for the denominator */
    padding-top: 2px;
}


.table {
    display: table;
    width: 90%;
    border-collapse: separate; /* Prevents borders from collapsing for rounded corners */
    margin-top: 20px;
    border: 2px solid #efefef;
    border-radius: 20px; /* Rounds the corners of the table */
    overflow: hidden; /* Ensures the rounded corners are visible */
}

.table-row {
    display: table-row;
}

.table-cell-11 {
    display: table-cell;
    padding: 10px;
    border-bottom: 2px solid #efefef;
    border-right: 2px solid #efefef;
    text-align: center;
    vertical-align: middle;
}
.table-cell-12 {
    display: table-cell;
    padding: 10px;
    border-bottom: 2px solid #efefef;
    text-align: center;
    vertical-align: middle;
}
.table-cell-21 {
    display: table-cell;
    padding: 10px;
    border-bottom: 2px solid #efefef;
    border-right: 2px solid #efefef;
    text-align: center;
    vertical-align: middle;
}
.table-cell-22 {
    display: table-cell;
    padding: 10px;
    border-bottom: 2px solid #efefef;
    text-align: center;
    vertical-align: middle;
}
.table-cell-31 {
    display: table-cell;
    padding: 10px;
    border-bottom: 2px solid #efefef;
    border-right: 2px solid #efefef;
    text-align: center;
    vertical-align: middle;
}
.table-cell-32 {
    display: table-cell;
    padding: 10px;
    border-bottom: 2px solid #efefef;
    text-align: center;
    vertical-align: middle;
}
.table-cell-41 {
    display: table-cell;
    padding: 10px;
    border-right: 2px solid #efefef;
    text-align: center;
    vertical-align: middle;
}
.table-cell-42 {
    display: table-cell;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}
