

.detail-left-items {
    gap: 8px;
}

.detail-arrow-text {
    gap: 8px;
    flex: 0 0 auto;
}

.detail-title {
    width: fit-content;
    color: #000000;
    white-space: nowrap;
}

.detail-edit-btn {
    height: 56px;
    gap: 4px;
    flex: 0 0 auto;
    margin-top: -16px;
    margin-bottom: -16px;
    border-radius: 1000px;
    overflow: hidden;
}

.detail-container {
    gap: 24px;
    padding: 32px 36px;
}

.detail-fields {
    width: 100%;
    gap: 32px;
    flex: 0 0 auto;
}

.detail-items {
    gap: 16px;
    align-self: stretch;
    flex: 0 0 auto;
}

.detail-input {
    gap: 16px;
    align-self: stretch;
    flex: 0 0 auto;
}

.detail-text-input {
    height: 86px;
    gap: 8px;
}

.detail-label {
    width: fit-content;
    margin-top: -1px;
    color: var(--aixl-color-richblack);
}

.detail-input-field {
    padding: 12px 16px;
    background-color: var(--bs-secondary);
    border-radius: 12px;
    align-self: stretch;
    flex: 0 0 auto;
}


.detail-label-info {
    flex: 0 0 auto;
}

.detail-text-wrapper {
    width: fit-content;
    color: var(--aixl-color-darkgray);
}

.detail-container-chips {
    gap: 8px 8px;
    flex: 0 0 auto;
}

.detail-chips {
    padding: 6px 16px;
    gap: 4px;
    flex: 0 0 auto;
    background-color: var(--bs-secondary);
    display: flex;
    align-items: center;
    white-space: normal;
    word-break: break-word;
}

.detail-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.detail-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.detail-tabs-menu {
    padding: 8px 36px;
}

.details-tabs-container {
    gap: 16px;
    flex: 0 0 auto;
}

.detail-tabs-navigation {
    gap: 8px;
    flex: 0 0 auto;
}

.detail-vector {
    align-self: stretch;
    width: 100%;
    height: 2px;
    margin-bottom: -1px;
    margin-left: -1px;
    margin-right: -1px;
}

.detail-text {
    align-self: stretch;
    margin-top: -1px;
    padding-left: 16px;
    color: var(--bs-tertiary-bg);
}

.detail-students-vector {
    padding-left: 16px;
}

/* Copy clipboard modal */
.copy_clipboard_modal .modal-dialog {
    position: fixed;
    bottom: 40px;
    left: 45%;
    transform: translateX(-50%);
    margin: 0;
    width: auto;
    max-width: none;
}

.copy_clipboard_modal .modal-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
}

.copy_clipboard_modal .modal-title {
    width: fit-content;
    margin-top: -1px;
    white-space: nowrap;
}

.detail-decoration-underline {
    text-decoration: none;
    position: relative;
}

.detail-decoration-underline:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
}

/* Students table */
table.table.no-lines tbody tr td {
    border-top: none !important;
    border-bottom: none !important;
}

.no-lines {
    margin: 16px 36px;
}

/* Media Query for Tablets (width <= 840px) */
@media (max-width: 840px) {
    .detail-secondary-active-top {
        max-width: 624px;
    }

    .detail-container {
        padding: 24px;
        gap: 16px;
        max-width: 624px;
    }

}

/* Media Query for Tablets (width <= 768px) */
@media (max-width: 768px) {
    /* Party Detail */
    .detail-secondary-active-top {
        max-width: 624px;
    }

    .detail-container {
        padding: 24px;
        gap: 16px;
        max-width: 624px;
    }

    .detail-fields {
        width: 100%;
        gap: 16px;
    }

    .detail-container-chips {
        display: flex;
        flex-wrap: wrap;
    }

    .detail-chips {
        flex: 0 1 auto;
        margin-bottom: 8px;
        padding: 6px 16px;
        white-space: normal;
    }

    /* Copy clipboard modal */
    .copy_clipboard_modal .modal-dialog {
        position: fixed;
        bottom: 40px;
        left: 35%;
        transform: translateX(-50%);
        margin: 0;
        width: auto;
        max-width: none;
    }
}

/* Media Query for Smartphones (width <= 375px) */
@media (max-width: 375px) {
    /* Party Detail */
    .detail-edit-btn span:last-child {
        display: none;
    }

    .detail-container {
        padding: 16px;
        gap: 12px;
    }

    .detail-fields {
        width: 100%;
        gap: 12px;
    }

    .detail-container-chips {
        display: flex;
        flex-wrap: wrap;
    }

    .detail-chips {
        flex: 0 1 auto;
        margin-bottom: 8px;
        padding: 6px 16px;
        white-space: normal;
    }

    .detail-tabs-menu {
        display: flex;
        justify-content: left;
        margin-left: -16px;
    }

    .no-lines {
        margin: 16px 12px;
    }

    /* Copy clipboard modal */
    .copy_clipboard_modal .modal-dialog {
        position: fixed;
        bottom: 40px;
        left: 19%;
        transform: translateX(-50%);
        margin: 0;
        width: auto;
        max-width: none;
    }

}

