.main-box {
    margin-top: $space30;
    margin-bottom: $space50*2;

    img {
        width: auto;
        height: auto;
    }

    .top {
        margin-bottom: $space25;

        .head {
            @include font-size(16px);
            line-height: 20px;
            font-family: $robotomedium;
            color: $title-color;
            margin-bottom: $space5;
        }

        .subhead {
            @include font-size(15px);
            line-height: 20px;
            color: $subtitle-color;
        }
    }

    .tabs-list {
        display: block;
        margin-bottom: $space15;

        .status-list {
            display: block;
            white-space: nowrap;
            overflow: auto;
            margin-right: - $space20;
            margin-bottom: $space15;

            .status-name {
                @include font-size(14px);
                line-height: 20px;
                color: $subtitle-color;
                background: $bg-light;
                border: $common-border;
                border-radius: 5px;
                padding: $space10;
                width: fit-content;
                text-align: center;
                display: inline-block;
                white-space: normal;
                margin-right: $space15;
                text-transform: uppercase;
                transition: 0.3s all ease-in-out;
                cursor: pointer;

                &.active {
                    color: $white;
                    background: $primary-color;
                    border-color: $primary-color;
                }
            }

            &::-webkit-scrollbar {
                display: none;
            }
        }

        .apply-btn {
            @include font-size(15px);
            line-height: 18px;
            text-decoration: underline;
            font-family: $robotomedium;
            color: $primary-color;
            transition: 0.3s all ease-in-out;

            @media (hover:hover) {
                &:hover {
                    color: $primary-hover;
                }
            }
        }
    }

    .status-panels {
        display: none;
        margin-top: $space25;

        &.show {
            display: block;
        }

        .common {
            .course-name {
                @include font-size(15px);
                line-height: 16px;
                color: $title-color;
                margin-bottom: $space5+3;
                display: block;
            }

            .uni-name {
                @include font-size(14px);
                line-height: 16px;
                color: $subtitle-color;
                margin-bottom: $space10;
                display: block;
            }

            .status-type {
                @include font-size(14px);
                line-height: 16px;
                color: $title-color;
                font-family: $robotomedium;
                width: 38%;
                margin-left: $space10;
            }

            .app-type {
                @include font-size(14px);
                line-height: 18px;
                display: block;
            }
        }

        .left {
            background: $white;

            .acc-list {
                border: $common-border;
                margin-bottom: $space15;
                border-radius: 5px;
            }

            .course-detail {
                padding: $space10;
                position: relative;
                transition: 0.3s all ease-in-out;

                &::after {
                    content: '';
                    position: absolute;
                    background: url("../images/dropdown.svg") no-repeat;
                    width: 15px;
                    height: 8px;
                    bottom: 20px;
                    right: 15px;
                    transition: 0.3s all ease-in-out;
                }

                &.active {
                    background-color: $bg-light;
                    border-radius: 5px 5px 0 0;

                    &::after {
                        transform: rotate(180deg);
                    }
                }

                .status {
                    @include font-size(15px);
                    line-height: 16px;
                    color: $subtitle-color;
                }
            }

            .c-name {
                display: block;
                margin-bottom: $space5+3;
            }

            .priority {
                @include font-size(13px);
                line-height: 14px;
                font-family: $robotomedium;
                border-radius: 3px;
                color: $white;
                padding: 3px 4px;
                background: $subtitle-color;
            }

            .app-info {
                display: none;

                &.show {
                    display: block;
                }

                .status-detail {
                    padding: $space15;

                    .app-id {
                        margin: $space5+2 0;
                    }

                    .subtitle {
                        color: $subtitle-color;
                        line-height: 16px;
                    }
                }
            }

            .app-type {
                margin-top: $space10;
                color: $title-color;
            }
        }

        .right {
            display: none;
        }

        .status-detail {
            background: $white;

            .app-type {
                color: $placeholder-color;
                margin-left: 0;
            }

            .app-id,
            .uni-name,
            .mnth-year {
                @include font-size(15px);
                line-height: 16px;
            }

            .app-id {
                color: $primary-color;
                margin-bottom: $space10;
                display: block;
            }

            .mnth-year {
                color: $title-color;
                font-family: $robotomedium;
            }
        }

        .status-detail,
        .comment-section {

            .date,
            .time {
                @include font-size(14px);
                line-height: 18px;
                color: $title-color;
            }


            .time {
                margin-left: $space5;
            }
        }

        .comment-section {
            background: $bg-light;
            border-radius: 5px;
            padding: $space15;
            margin: 0 $space15 $space15;

            .comment-head {
                @include font-size(16px);
                line-height: 16px;
                font-family: $robotomedium;
                color: $title-color;
                margin-bottom: $space10;
            }

            .cmt-form {
                border-bottom: 1px solid $subtitle-color;

                .user-profile {
                    margin-right: $space10;
                    border-radius: 50%;
                    vertical-align: top;
                }

                .field {
                    display: flex;
                    align-items: flex-start;

                    .comment-input {
                        @include font-size(14px);
                        line-height: 16px;
                        color: $title-color;
                        font-family: $robotoregular;
                        height: fit-content;
                        border-radius: 5px;
                        border: none;
                        resize: none;
                        width: 100%;
                        box-sizing: border-box;
                        height: 40px;

                        &::placeholder {
                            color: $placeholder-color;
                            height: auto;
                        }

                        &:focus-visible {
                            outline: none;
                        }
                    }

                    .file-name {
                        background: $bg-light;
                        padding: $space5;
                        @include font-size(14px);
                        line-height: 16px;
                        color: $title-color;
                        border: $common-border;
                        display: inline-block;
                        border-radius: 50px;
                        margin-right: $space5;

                        img {
                            width: 10px;
                            height: 10px;
                            cursor: pointer;
                        }

                        img {
                            margin-left: $space5;
                        }
                    }

                    .cmt-field {
                        padding: $space10;
                        border: $common-border;
                        border-radius: 5px;
                        background: $white;
                        width: 95%;
                    }
                }

                .f-bottom {
                    display: flex;
                    justify-content: end;
                    align-items: center;
                    margin: $space10 0 $space20;

                    .upload-file {
                        position: relative;
                        margin-right: $space10;

                        .file {
                            position: absolute;
                            left: 0;
                            right: 0;
                            top: 0;
                            bottom: 0;
                            margin: auto;
                            opacity: 0;
                            width: 100%;
                        }
                    }

                    .send-btn {
                        @include font-size(15px);
                        line-height: 18px;
                        font-family: $robotomedium;
                        background: $primary-color;
                        color: $white;
                        width: fit-content;
                        padding: $space10 $space30+2;
                        text-transform: uppercase;
                        border-radius: 5px;
                    }
                }
            }

            .cmt-list {
                margin-top: $space20;

                .detail {
                    @include flex;
                    align-items: flex-end;
                    flex-direction: column;
                    margin-bottom: $space10;

                    img {
                        vertical-align: middle;
                        border-radius: 50%;
                        margin-right: $space10;
                    }

                    .u-name {
                        @include font-size(15px);
                        line-height: 15px;
                        color: $title-color;
                        align-self: flex-start;
                    }
                }

                .comment {
                    @include font-size(15px);
                    line-height: 18px;
                    color: $subtitle-color;
                    padding: $space10;
                    border-radius: 5px;
                    border: $common-border;
                    background: $white;
                    width: 100%;
                    box-sizing: border-box;
                    margin-left: auto;
                }
            }
        }
    }

    .add-program {
        display: none;
        padding-top: $space15;
        margin-bottom: $space50*4;
        border-top: $common-border;

        &.show {
            display: block;
        }

        .head {
            @include flex;
            margin-bottom: $space10;

            .search-btn {
                @include font-size(16px);
                line-height: 18px;
                font-family: $robotomedium;
                color: $white;
                background: $primary-color;
                border-radius: 5px;
                padding: $space5+2 $space15;
                transition: 0.3s all ease-in-out;

                @media (hover:hover) {
                    &:hover {
                        background: $primary-hover;
                    }
                }
            }
        }

        .title {
            @include font-size(15px);
            line-height: 16px;
            font-family: $robotomedium;
            color: $title-color;
        }

        .small-head {
            @include font-size(15px);
            line-height: 18px;
            color: $subtitle-color;
        }

        .nice-select-drp {
            position: relative;
            border-radius: 5px;
            border: $common-border;
            padding: 0 $space30 0 $space10;
            margin-right: $space10;
            background: url("../images/dropdown.svg") no-repeat;
            background-position: right 10px center;

            .current {
                @include font-size(15px);
                line-height: 18px;
                color: $subtitle-color;
            }

            &:nth-of-type(3),
            &:nth-of-type(4) {
                .list {
                    max-width: 320px;
                    right: unset;
                }
            }

            .list {
                top: 41px;
            }
        }

        .add-form {
            margin-bottom: $space35;

            .fields-list {
                display: flex;
                flex-direction: column;
                margin-top: $space20;

                .select-list {
                    width: 100%;
                    margin-bottom: $space15;
                }
            }

            .add-btn {
                @include font-size(16px);
                line-height: 18px;
                font-family: $robotomedium;
                color: $white;
                border-radius: 5px;
                background: $primary-color;
                padding: $space10 $space35;
                width: fit-content;
                margin: auto;

                &.disabled {
                    pointer-events: none;
                    background: #066ac980;
                    user-select: none;
                }
            }
        }

        .add-form,
        .no-selected {
            padding: $space10;
            border-radius: 5px;
            border: $common-border;
        }

        .no-selected {
            margin-top: $space10;
        }

        .program-list {
            .single-program {
                margin-top: $space10;
                padding: $space15 $space10;
                border-radius: 5px;
                border: $common-border;

                .head {
                    margin-bottom: $space30;
                    align-items: flex-start;
                }

                .p-name {
                    @include font-size(16px);
                }

                .p-name,
                .list-head {
                    line-height: 16px;
                    color: $title-color;
                    font-family: $robotomedium;
                }

                .rank {
                    @include font-size(14px);
                    line-height: 16px;
                    color: $primary-color;
                    background: #E6F0F9;
                    padding: 2px $space5;
                    border-radius: 3px;
                    display: block;
                    width: fit-content;
                    margin-top: $space5;
                }

                .delete-program {
                    width: 17px;
                    height: 20px;
                    cursor: pointer;
                    margin-left: $space10;
                }

                .d-list {
                    @include flex;
                    flex-wrap: wrap;
                    align-items: flex-start;
                    flex-direction: column
                }

                .list-head {
                    @include font-size(15px);
                    margin-bottom: $space15+2;
                    text-transform: capitalize;

                    .value {
                        font-family: $robotoregular;
                        color: $subtitle-color;
                        margin-left: $space10;

                        &.label {
                            padding: 2px $space5+2;
                            background: $success-color-light;
                            border-radius: 53px;
                            color: $white;
                            margin-left: $space5;
                        }

                        &.fee-color {
                            color: $success-color-light;
                            font-family: $robotomedium;
                        }

                        &:nth-of-type(1) {
                            margin-left: $space10;
                        }
                    }

                    &.intake {
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;

                        .value {
                            margin-bottom: 3px;
                        }
                    }

                }

                p.list-head {
                    display: block;
                }

                div.list-head {
                    display: inline-flex;
                    align-items: center;
                    margin-bottom: 0;


                    .nice-select-drp {
                        padding: $space5;
                        margin-left: $space10;
                        line-height: unset;
                        font-family: $robotoregular;

                        .list {
                            top: 30px;
                        }

                        .option {
                            padding: $space5+2;
                            @include font-size(14px);
                            line-height: 16px;
                        }
                    }

                    .select-list {
                        width: 100px;
                    }
                }
            }
        }

        .pay-link {
            @include font-size(16px);
            line-height: 18px;
            font-family: $robotomedium;
            color: $white;
            background: $success-color-light;
            border-radius: 5px;
            padding: $space10 $space20+2;
            margin-top: $space25;
            width: fit-content;
            float: right;
            transition: 0.3s all ease-in-out;

            @media (hover:hover) {
                &:hover {
                    background: #37b518;
                }
            }
        }

    }
}

.success-popup,
.delete-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 90%;
    height: fit-content;
    background: $white;
    border-radius: 10px;
    z-index: 13;
    box-shadow: 0px 0px 16px 0px #00000024;
    text-align: center;

    .popup-body {
        padding: $space20;
    }

    .head,
    .m-head {
        color: $title-color;
        font-family: $robotomedium;
    }

    .head {
        @include font-size(16px);
        line-height: 20px;
        padding: $space10 $space15;
        background: $bg-light;
        border-radius: 10px 10px 0 0;
        text-align: left;
    }

    img {
        width: 50px;
        height: 50px;
        display: block;
        margin: $space20 auto;
    }

    .m-head {
        @include font-size(20px);
        line-height: 24px;
    }

    .common-btn {
        @include font-size(16px);
        line-height: 18px;
        font-family: $robotomedium;
        color: $white;
        background: $primary-color;
        border-radius: 5px;
        padding: $space10 $space20;
        margin-top: $space25;
        width: fit-content;
        display: block;
        margin: auto;
        transition: 0.3s all ease-in-out;

        @media (hover:hover) {
            &:hover {
                background: $primary-hover;
            }
        }
    }
}

.success-popup {
    .small-head {
        @include font-size(15px);
        line-height: 20px;
        color: $subtitle-color;
        margin: $space20 0;
    }
}

.delete-popup {
    .m-head {
        @include font-size(16px);
        font-family: $robotoregular;
        padding: 0 $space30;
        margin-bottom: $space20;
    }

    .btns {
        display: flex;
        justify-content: center;

        .common-btn {
            margin: unset;
        }

        .close-btn {
            margin-right: $space15;
            background: #dcdcdd;
            color: $subtitle-color;

            @media (hover:hover) {
                &:hover {
                    background: #d0d0d0;
                }
            }

        }
    }
}

@media screen and (min-width:393px) {
    .main-box {
        .status-panels {
            .left {
                .app-info {
                    .status-detail {
                        .app-type {
                            float: right;
                        }
                    }
                }
            }
        }
    }
}

@media screen and (min-width:768px) {
    .main-box {
        margin-top: $space50+6;

        .top {
            margin-bottom: $space15;

            .head {
                @include font-size(22px);
                line-height: 24px;
                margin-bottom: $space10;
            }
        }

        .tabs-list {
            @include flex;
            margin-bottom: 0;

            .status-list {
                display: inline-block;
                white-space: normal;
                overflow: unset;
                margin: 0;
            }
        }

        .status-panels {
            margin-top: $space35;

            &.show {
                @include flex;
                align-items: flex-start;
            }

            .left {
                width: 36%;
                border: $common-border;

                .c-name {
                    display: flex;
                    justify-content: space-between;
                    align-items: flex-start;
                    margin-bottom: 0;
                }

                .course-detail {
                    border-bottom: $common-border;
                    border-right: 3px solid transparent;
                    background: none;

                    &::after {
                        display: none;
                    }

                    &.active {
                        border-right-color: $primary-color;
                        border-radius: unset;
                    }
                }

                .acc-list {
                    border: none;
                    margin-bottom: 0;
                    border-radius: unset;

                    &:nth-last-of-type(1) {
                        .course-detail {
                            border-bottom: none;
                        }
                    }
                }

                .app-info {
                    display: none !important;
                }
            }

            .right {
                width: 62%;
                display: inline-block;

                .app-info {
                    display: block;
                }
            }

            .status-detail {
                border: $common-border;
                margin-bottom: $space25;
                padding: $space10;

                .status-head {
                    @include flex;
                    margin-bottom: $space15;
                    align-items: flex-start;
                }

                .course-name {
                    @include font-size(16px);
                }

                .uni-name {
                    margin-bottom: $space10;
                }
            }

            .comment-section {
                margin: 0;

                .comment-head {
                    @include font-size(18px);
                }

                .cmt-form {
                    .field {
                        .comment-input {
                            height: 66px;
                        }
                    }
                }

                .cmt-list {
                    .detail {
                        flex-direction: row;
                    }

                    .comment {
                        width: 86%;
                    }
                }
            }
        }

        .add-program {
            border-top: 0;
            padding-top: $space20+3;

            .title {
                @include font-size(18px);
            }

            .head {
                .search-btn {
                    padding: $space10 $space20+2;
                }
            }

            .select-list {
                width: fit-content;
            }

            .add-form,
            .no-selected {
                padding: $space25 $space20;
            }

            .add-form {
                .fields-list {
                    flex-direction: row;

                    .select-list {
                        margin-bottom: 0;
                    }
                }

                .add-btn {
                    margin: unset;
                }
            }

            .program-list {
                .single-program {
                    padding: $space20;

                    .d-list {
                        flex-direction: row;
                    }

                    .list-head {
                        width: 30%;
                    }

                    .delete-program {
                        margin-left: 0;
                    }

                    p.list-head {
                        display: inline-block;
                        width: 30%;
                        margin-bottom: 0;
                    }

                    div.list-head {
                        margin-left: $space30+3;
                        width: 45%;

                        .select-list {
                            width: 29%;
                        }
                    }
                }
            }
        }
    }

    .success-popup,
    .delete-popup {
        width: 50%;
    }
}

@media screen and (min-width:1024px) {
    .main-box {
        margin-bottom: $space35*2;

        .tabs-list {
            .status-list {
                .status-name {
                    @include font-size(15px);
                }
            }
        }

        .status-panels {
            .left {
                width: 36%;

                .course-detail {
                    padding: $space20;
                }
            }

            .right {
                width: 62%;

                .status-detail,
                .comment-section {
                    padding: $space20;
                }

                .comment-section {
                    .cmt-list {
                        .comment {
                            width: 89%;
                        }
                    }
                }
            }
        }

        .tabs-list {
            .status-list {
                .status-name {
                    width: 150px;
                }
            }
        }

        .add-program {
            .nice-select-drp {
                margin-right: $space25;
                padding-right: 0;

                &:nth-of-type(1),
                &:nth-of-type(2) {
                    width: 17%;
                }

                &:nth-of-type(3),
                &:nth-of-type(4) {
                    width: 25%;

                }
            }

            .program-list {
                .single-program {
                    .head {
                        align-items: center;
                    }

                    .rank {
                        margin-left: 10px;
                        display: inline-block;
                        width: unset;
                        margin-top: 0;
                    }

                    div.list-head {
                        margin-left: $space40+$space5;
                        width: 35%;
                    }
                }
            }
        }
    }

    .success-popup,
    .delete-popup {
        width: 40%;
    }

    .delete-popup {
        .m-head {
            @include font-size(18px);
        }
    }
}

@media screen and (min-width:1366px) {
    .main-box {
        .status-panels {
            .left {
                width: 29%;
            }

            .common {
                .course-name {
                    @include font-size(16px);
                }

                .uni-name,
                .status-type {
                    @include font-size(15px);
                }

                .uni-name {
                    margin-bottom: $space15+1;
                }

                .status-type {
                    width: unset;
                }
            }

            .right {
                width: 69%;

                .status-detail {
                    .status-head {
                        align-items: center;
                    }

                    .app-type {
                        display: inline-block;
                        margin-left: $space10+4;
                    }

                    .app-id,
                    .uni-name,
                    .mnth-year {
                        @include font-size(16px);
                    }

                    .app-id {
                        line-height: 18px;
                    }

                    .course-name {
                        @include font-size(18px);
                    }

                }

                .comment-section {
                    .cmt-list {
                        .comment {
                            width: 93%;
                        }
                    }
                }
            }
        }

        .tabs-list {
            .status-list {
                .status-name {
                    width: 180px;
                }
            }
        }

        .add-program {
            .nice-select-drp {

                &:nth-of-type(3),
                &:nth-of-type(4) {
                    .list {
                        max-width: unset;
                        right: 0;
                    }

                }
            }

            .program-list {
                .single-program {
                    .list-head {
                        &:nth-of-type(3n) {
                            text-align: right;
                        }
                    }

                    div.list-head {
                        margin-left: $space60;
                        width: 29%;
                    }
                }
            }
        }
    }

    .success-popup,
    .delete-popup {
        width: 30%;
    }
}