body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0;
}

.video-header {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    position: sticky;
    top: 0;
    background-color: #f4f4f4;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

}

.video-header video {
    max-width: 100%;
    height: 3cm;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}


.container {
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.column {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    max-width: 900px;
    width: 100%;
}

.full-width {
    grid-column: span 2;
}

h2 {
    color: #4CAF50;
    text-align: center;
    margin-top: 0;
}

.section {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.section-header h3 {
    margin: 0;
    color: #555;
    font-size: 1.2em;
}

.tax-calculators-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.details {
    flex: 1;
    min-width: 300px;
    border: 1px solid #4CAF50;
    padding: 15px;
    border-radius: 8px;
    background-color: #e8f5e9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.details h4 {
    margin-top: 0;
    color: #388e3c;
    border-bottom: 1px solid #a5d6a7;
    padding-bottom: 10px;
}

.details.view-gross {
    background-color: #e0e0e0;
    border: 1px solid #9e9e9e;
}

.details.view-gross h4 {
    color: #616161;
    border-bottom: 1px solid #bdbdbd;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input[type="text"],
.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.input-group.checkbox-group {
    display: flex;
    align-items: center;
}

.input-group.checkbox-group input {
    width: auto;
    margin-right: 8px;
}

.tax-details-hidden {
    display: none;
}

.result-group {
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
}

.result-group.view-gross {
    border-left: 4px solid #9e9e9e;
}

.result-group p {
    margin: 5px 0;
    font-size: 0.9em;
}

.result-group span {
    font-weight: bold;
    color: #000;
}

/* New CSS for result titles */
.result-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #4CAF50;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #a5d6a7;
    padding-bottom: 5px;
}

.details.view-gross .result-title {
    color: #616161;
    border-bottom: 1px solid #bdbdbd;
}

.total-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    text-align: center;
}

.summary-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.summary-container > div {
    flex: 1;
    border: 2px solid #4CAF50;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    background-color: #e8f5e9;
}

.summary-container > div#summary-gross {
    border: 2px solid #9e9e9e;
    background-color: #e0e0e0;
}

.summary-container h3 {
    margin-top: 0;
    border-bottom: 2px solid #a5d6a7;
    padding-bottom: 10px;
    color: #388e3c;
    text-align: center;
}

.summary-container #summary-gross h3 {
    color: #616161;
    border-bottom-color: #bdbdbd;
}

.summary-container p {
    margin: 10px 0;
    font-size: 1.1em;
}

.summary-container span {
    font-weight: bold;
    color: #000;
    float: right;
}

.profile-link-below-summary {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

.profile-link-below-summary a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .tax-calculators-container {
        flex-direction: column;
    }

    .details {
        min-width: unset;
    }

}
    .other-link-container {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;

}

