﻿.main-body {
    background-color: #FFFFFF;
}

/* PC */
@media (min-width: 992px) {
    .detail-desctiption-body {
        background-color: #FFFFFF;
        display: flex;
        margin: 5px;
        justify-content: center;
        border-radius: 10px;
        box-shadow: 0px 2px 2px 0px #6202EE40 inset, 0px 1px 1px 0px #6202EE40;
        text-align: start;
        padding: 10px 60px 30px 60px;
        width: 100%;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 10px; /* Space between columns */
        width: 100%;
    }

    .grid-container-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .grid-container-3-2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
        margin-top: 20px;
    }

    .grid-item {
        padding: 15px;
        background-color: #FFFFFF;
        box-sizing: border-box;
        width: 100%;
        min-width: 300px;
    }

    .item-container {
        margin: 10px 1px 10px 1px;
        width: 100%;
        border: 1px solid #A5B9AA;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-color: #FFFFFF;
        align-items: start;
        justify-content: center;
    }

    .number-input {
        width: 92%;
        margin: 5px 8px 5px 20px;
        padding: 8px;
        text-align: start;
        border: 1px solid #CACED8;
        border-radius: 8px;
        font-size: 14px;
    }
        .number-input:focus {
            border-color: rebeccapurple;
            outline: none;
        }

    .rounded-submit {
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        width: 223px;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
        margin-top: 20px;
    }
    .container-submit {
        text-align: end;
        margin-right: 30px;
        margin-bottom: 20px;
    }
    .container-submit-gross-net {
        text-align: end;
        margin-right: 30px;
        margin-bottom: 20px;
    }
    .gross-net {
        margin-right: 20px;
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        width: 223px;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
        margin-top: 20px;
    }
    .net-gross {
        margin-left: 20px;
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        width: 223px;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
        margin-top: 20px;
    }
}

/* Tablet và Mobile */
@media (max-width: 991px) {

    .detail-desctiption-body {
        background-color: #FFFFFF;
        display: flex;
        margin: 2px;
        justify-content: center;
        border-radius: 10px;
        box-shadow: 0px 2px 2px 0px #6202EE40 inset, 0px 1px 1px 0px #6202EE40;
        text-align: start;
        padding: 30px 5px 30px 5px;
        width: 100%;
    }
    .grid-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px; /* Space between columns */
        width: 100%;
        text-align: start;
    }

    .grid-container-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .grid-container-3-2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
        margin-top: 20px;
    }

    .grid-item {
        padding: 1px 15px 1px 15px;
        background-color: #FFFFFF;
        box-sizing: border-box;
        width: 100%;
        min-width: 200px;
    }

    .item-container {
        margin: 10px 1px 10px 1px;
        width: 100%;
        border: 1px solid #A5B9AA;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-color: #FFFFFF;
        align-items: start;
        justify-content: center; /* Horizontal center */
    }

    .number-input {
        width: 80%;
        margin: 5px 8px 5px 20px;
        padding: 8px;
        text-align: start;
        border: 1px solid #CACED8;
        border-radius: 8px;
        font-size: 14px;
    }
        .number-input:focus {
            border-color: rebeccapurple;
            outline: none;
        }

    .container-submit {
        width: 100%;
        text-align: center;
    }

    .container-submit-gross-net {
        text-align: end;
        margin-right: 30px;
        margin-bottom: 20px;
    }
    .gross-net {
        margin-right: 20px;
        margin-top: 20px;
        width: 30%;
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .net-gross {
        margin-left: 20px;
        margin-top: 20px;
        width: 30%;
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .rounded-submit {
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        width: 80%;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
    }
}

@media (max-width: 500px){
    .grid-container-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px; 
        width: 100%;
        text-align: start;
    }
    .grid-container-3-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        margin-top: 20px;
    }
    .container-submit-gross-net {
        width: 100%;
        text-align: center;
    }

    .gross-net {
        margin-top: 20px;
        margin-right: 0px;
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        width: 80%;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .net-gross {
        margin-top: 20px;
        margin-left: 0px;
        background-color: #794AFF;
        color: white;
        border: none;
        border-color: #A5B9AA;
        border-radius: 8px;
        width: 80%;
        height: 44px;
        cursor: pointer;
        transition: background-color 0.3s;
    }
}
/*PersonalIncomeTax View*/
.icon-label {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    margin: 10px 10px 10px 15px; /* Space around items */
}

.icon-label i {
    margin-left: 10px;
    font-size: 24px; /* Font size for the icon */
    margin-right: 8px; /* Space between icon and label */
    color: #6666FF; /* Icon color (optional) */
}

.icon-label span {
    font-size: 16px; /* Font size for the label */
    color: #6666FF;
}

.italic-text {
    font-size: 14px; /* Font size for better visibility */
}

.bold-text-16 {
    font-size: 16px;
    font-weight: bold;
}

.bold-text-14 {
    font-size: 14px;
    font-weight: bold;
}

.bold-text-20{
    font-size: 20px;
    font-weight: bold;
}

.bold-text-15 {
    font-size: 15px;
    font-weight: bold;
}
.bold-italic-text-15 {
    font-style: italic;
    font-weight: bold;
    font-size: 15px;
}

.indent {
    margin: 15px 0; /* Add vertical space around the paragraph */
    line-height: 1.5; /* Increase line height for better readability */
}

.no-icons-70 {
    list-style-type: none; /* Remove default bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.no-icons-70 li {
    margin-bottom: 15px;
    margin-left: 70px;
}

.no-icons-40 {
    list-style-type: none; /* Remove default bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.no-icons-40 li {
    margin-bottom: 15px;
    margin-left: 40px;
}

table {
    width: 100%; /* Set the width of the table */
    border-collapse: collapse; /* Collapse cell borders */
    margin: 20px auto; /* Center the table */
    border-radius: 12px; /* Set the border radius */
    overflow: hidden; /* Hide overflow to make rounded corners effective */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333333;
}

th, td {
    padding: 10px; /* Padding inside cells */
    text-align: left; /* Align text to the left */
}

tr {
    border: 1px solid #E4E4E4;
}

td:nth-child(1), th:nth-child(1) {
    font-weight: bold; /* Set font weight to bold */
}


.table-tctn {
    border: none;
    box-shadow: none;
    color: #333333;
}
    .table-tctn .th-tctn, .table-tctn .td-tctn {
        padding: 10px;
        text-align: left;
    }

    .table-tctn .tr-tctn {
        border: none;
        font-size: 20px;
    }


.label-month {
    padding-left: 20px;
}
/*_PersonalIncomeTaxUserInput View*/
.user-input {
    background-color: #FFFFFF;
    display: flex;
    margin: 5px;
    justify-content: center;
    border-radius: 10px;
    text-align: start;
}

.padding-div{
    padding: 15px 20px 10px 20px;
}

.title {
    color: #046B21;
    font-weight: bold;
    font-size: 16px;
}

.field-container-tctn {
    margin:5px 0px 20px 0px;
    text-align: left;
}

.title-tctn {
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0px 10px 0px;
    padding-left: 20px;
    color: #333333;
}

.input-container-tctn {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 310px;
}

.input-container-background {
    width: 100%;
    background-color: #EDEBF8;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.input-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 500px;
}

.text-input {
    width: 92%;
    margin: 5px 5px 5px 20px;
    padding: 8px 100px 8px 8px;
    border: 1px solid #CACED8;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

    .text-input:focus {
        border-color: rebeccapurple;
        outline: none;
    }

.placeholder {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #aaa;
}


.rounded-submit:hover {
    background-color: #794AFF; /* Darker green on hover */
}

.radio-container {
    margin: 20px; /* Margin around the container */
}

.radio-label {
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 14px;
}

.bordered-div {
    width: 300px;
    height: 200px;
    background-color: #ffffff;
    color: #333;
    border: 2px solid #4CAF50;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.disabled {
    background-color: #EDEDED;
}

/*ResultView*/

.table-result {
    width: 100%; /* Set the width of the table */
    border-collapse: collapse; /* Collapse cell borders */
    margin: 20px auto; /* Center the table */
    border-radius: 12px; /* Set the border radius */
    overflow: hidden; /* Hide overflow to make rounded corners effective */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333333;
}
.table-result td:nth-child(1),
.table-result th:nth-child(1) {
    font-weight: revert;
}

.combo-container {
    width: 100%;
}

.popup-modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    min-width: 400px;
}

.popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .popup-close:hover,
    .popup-close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }


.select {
    width: 92%;
    margin: 5px 5px 5px 20px;
    padding: 8px 100px 8px 8px;
    border: 1px solid #CACED8;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

/*.arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #4CAF50;
    margin-right: 15%;
}*/

.select-location {
    font-size: 14px;
    font-family: Roboto;
    width: 92%;
    margin: 5px 5px 20px 20px;
    padding: 8px 100px 8px 8px;
    border: 1px solid #CACED8;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
}
    
    .select-location::after {
        content: '';
        top: 50%;
        position: absolute;
        right: 25px;
        transform: translateY(-50%);
        pointer-events: none;
        border-width: 0 4px 4px 0;
        display: inline-block;
        padding: 5px;
        transform: translateY(-50%) rotate(45deg);
    }

    .select-location:focus {
        border-color: rebeccapurple;
        outline: none;
    }