.restrict-read-code-container {
    width: 100%;
    background: #fff;
    border-style: dashed;
    border-color: #bfc9dc;
    border-width: 2px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;


    .skeleton-content {
        position: relative;
        min-height: 120px;
    }

    .skeleton-line {
        height: 20px;
        background: #f0f0f0;
        border-radius: 4px;
    }

    .skeleton-line:nth-child(1) {
        width: 100%;
        margin-bottom: 16px;
    }

    .skeleton-line:nth-child(2) {
        width: 70%;
        margin-bottom: 16px;
    }

    .skeleton-line:nth-child(3) {
        width: 85%;
        margin-bottom: 16px;
    }

    .skeleton-line:nth-child(4) {
        width: 75%;
        margin-bottom: 16px;
    }

    .skeleton-line:nth-child(5) {
        width: 90%;
        margin-bottom: 16px;
    }

    .skeleton-line:nth-child(6) {
        width: 100%;
    }

    .skeleton-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2;
    }

    .skeleton-text {
        color: #333;
        font-size: 16px;
        margin-bottom: 20px;
        text-align: center;
    }

    .view-more-btn {
        background-color: #1677ff;
        color: white;
        border: none;
        padding: 10px 24px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .view-more-btn:hover {
        background-color: #4096ff;
        transform: translateY(-1px);
    }

    .view-more-btn:active {
        transform: translateY(0);
    }
}


.restrict-read-code-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;

    /*动画效果*/
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


    .modal-content {
        background-color: white;
        padding: 24px;
        border-radius: 12px;
        width: 280px;
        max-width: 90%;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .modal-title {
        font-size: 18px;
        margin-bottom: 18px;
        color: #333;
        font-weight: 600;
    }

    .restrictReadCode-input {
        width: auto;
        padding: 12px;
        border: 1px solid #d9d9d9;
        border-radius: 6px;
        margin-bottom: 20px;
        font-size: 14px;
        text-align: center;
    }

    .restrictReadCode-input:focus {
        border-color: #1677ff;
        outline: none;
        box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
    }

    .modal-buttons {
        display: flex;
        justify-content: space-evenly;
        gap: 12px;
    }

    .modal-btn {
        padding: 10px 20px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
    }

    .cancel-btn {
        background-color: #fff;
        border: 1px solid #d9d9d9;
        color: #666;
    }

    .cancel-btn:hover {
        background-color: #f0f0f0;
    }

    .confirm-btn {
        background-color: #1677ff;
        color: white;
        border: none;
    }

    .confirm-btn:hover {
        background-color: #4096ff;
    }
}

.restrict-read-code-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}