.qualification-work-block {
    background-color: white;
    border-radius: 50px;
    width: 100%;
    height: 100%;
    padding: 44px;
    box-sizing: border-box;
    overflow-y: auto;
    min-height: 900px;
    margin-left: 360px;

    @media screen and (max-width: 1200px) {
        border-radius: 0;
        padding: 20px 20px 20px 80px;
        margin-left: 0;
    }

    @media screen and (max-width: 600px) {
        padding: 20px 10px 20px 70px;
    }

    .nav-tabs .nav-link {
        margin: 0;
        color: var(--gray);
        border: 2px solid transparent;

        &:hover:not(.active) {
            border-color: transparent;
            color: var(--strong-blue);
        }

        &.active {
            border-bottom: 2px solid var(--strong-blue);
            color: var(--strong-blue);
        }
    }

    .tab-content {
        padding: 1.5rem 0 0 0;
    }

    .tab-pane > .card {
        height: fit-content;
        background-color: white;
        border-radius: 0.5rem;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .card-text {
        color: #4b5563;
    }

    .statuses {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
        padding-right: 2rem;
    }

    .small {
        font-size: 0.875rem;
    }

    #sign-widget-parent {
        height: 500px;
    }

    .files {
        display: flex;
        flex-direction: column;

        gap: 8px;

        p {
            margin-bottom: 0;
        }

        .file-card {
            display: flex;
            align-items: center;

            border: 1px solid var(--dark);
            border-radius: 10px;

            padding: 12px 24px;
            gap: 12px;
        }

        .file-details {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex: 1;
            width: 100%;
            gap: 8px;
        }

        .file-number {
            display: flex;
            justify-content: center;
            align-items: center;

            border-radius: 10px;
            border: 1px solid #969696;

            font-weight: bold;
            line-height: 1;

            padding-left: 2px;
            padding-bottom: 2px;

            width: 40px;
            height: 35px;
        }

        .file-size,
        .file-name,
        .btn {
            white-space: nowrap;
        }

        .file-name {
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    .statuses-item {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 150px;
        border-radius: 0.5rem;
        color: var(--gray);
        background-color: var(--lighter-gray);
        text-align: center;
        padding: 1rem;
        font-weight: bold;

        &:not(:last-child):after {
            content: "\f054";
            position: absolute;
            font-size: 1.5rem;
            right: -1.5rem;
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: var(--light-gray);
        }

        &.complete {
            color: white;
            background-color: var(--strong-blue);

            &:after {
                color: var(--strong-blue);
            }
        }

        &.current {
            color: white;
            background-color: var(--mandarine);
            border: 3px solid var(--mandarine);

            &:after {
                color: var(--mandarine);
            }
        }
    }

    .general-info-item {
        &:last-child {
            border-bottom: none !important;
        }
    }

    .message {
        position: relative;
        border-radius: 8px;
        border-left: 4px solid var(--strong-blue);
        background-color: var(--dark-white);
    }

    .message.student {
        border-left-color: var(--mandarine) !important;
        background-color: #fdf2e8 !important;

        .message-sender {
            color: var(--mandarine) !important;
        }
    }

    .message-datetime {
        position: absolute;
        right: 8px;
        bottom: 2px;
        font-size: 0.7rem;
        color: rgba(0, 0, 0, 0.4);
    }

    .message-text {
        white-space: pre-line;
        p {
            margin-bottom: 0;
        }
    }

    .file-input .input-group-append .btn-file {
        background-color: var(--strong-blue);
        border-color: var(--strong-blue);
    }

    .no-qualification-work {
        width: 100%;
        height: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        img {
            width: 300px;
            height: 300px;

            @media screen and (max-width: 520px) {
                width: 200px;
                height: 200px;
            }
        }

        p {
            margin-top: 20px;
            font-size: 22px;
            font-weight: bold;

            text-transform: uppercase;
            text-align: center;

            @media screen and (max-width: 520px) {
                font-size: 18px;
            }
        }
    }

    .qualification-work-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;

        @media screen and (max-width: 767px) {
            grid-template-columns: 1fr;
        }

        .detail-item {
            border-radius: 8px;
            border-left: 4px solid var(--strong-blue);
            background-color: var(--dark-white);
            gap: 1rem;
        }

        .detail-item-icon, .link-item-icon  {
            color: var(--strong-blue);
            font-size: 20px;
        }

        .link-item {
            grid-column: span 2;
            gap: 1rem;

            @media screen and (max-width: 767px) {
                grid-column: auto;
            }
        }
    }
}