/* General input box styling */
.calInputBox {
    height: 2.5rem;
    border: none;
    border-radius: 5px;
    background-color: white;
    font-size: 1rem;
    font-weight: 700; /* Keeping font-weight 700 */
    color: black;
    text-align: right;
    padding-right: 2px;
    border-color: #7e7979;
    width: 100px;
    padding: 10px;
}

.yearInput{
    background-color: white; 
    border-style: solid;  
    border-width: 1px; 
    border-color:#7e7979;
    padding: 5px; 
    width: 55px;
}

/* AMC and Performance on single line */
.prud-input:focus {
    border-style: solid;
    /* outline-color: #ca1523; */
    border-color:#7e7979;
}

.amc-performance {
    background: #ffffff;
    border: 1px solid #7e7979;
    display: flex;
    padding: 20px;
    gap: 20px; 
    border-radius: 8px;
}

.amc-performance div {
    padding: 10px;
    position: relative;
}

.amc-performance input {
    background-color: white;
    border-style: solid;
    border-width: 1px;
}

.amc-performance .prud-input {
    display: block;
    margin-bottom: 5px; 
    color: #7e7979;
}

.amc-performance .error {
    display: block;
    color: red;
    position: static; /* Removes absolute positioning */
    margin-top: 5px;
}


h6 {
    font-size: 1rem; /* Ensure consistency in label sizing */
    margin-right: 5px;
    line-height: 2.5rem; /* Match input field height */
}

/* Error messages styling */
#error {
    color: red;
    font-size: 12px;
}

/* Center align table data for years */
table th, table td {
    /* text-align: center; */
    vertical-align: middle;
}

/* Center the inner headings in the div */
.inner-top-heading h3, .inner-top-heading h6 {
    text-align: center;
}


/* Table content */
th,
td {
    padding: 10px;
    border: 1px solid #7e7979;
    color: black;
}

.year-heading{
    text-align: center;
    color: #666666;
 }

.return-body{
    text-align: left;
    color: #666666;
 }

 .return-column{
    font-size: 14px;
    font-weight: 500;
 }

td{
    text-align: right;
}

.table-container {
    display: flex;
}

table {
    border-collapse: collapse;
    border: 1px solid #7e7979;;
    border-radius: 5px;
    width :80%;
    background-color: white;
    
}

th{
    height: 55px;
    background: #ececec;
    font-size: 14px;
}



.no-border td {
    border-bottom: 0px;
 }

 .remove-border-next-row td {
    border-top: none !important;
 }

/* Adjust for container padding */
.container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}


@media only screen and (max-width: 768px) {
    .calInputBox {
       width: 100%; /* Ensures inputs are full width on smaller screens */
    }
 }
 