.tool-content {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    background-color: var(--main-bg);
    padding: 1em;
    border-radius: .6em;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.loading-wrapper{
    background-color: #fff;
    border-radius: 0.3rem;
    box-shadow: 0 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.05);
    position: relative;
    bottom: 0;
    transition: box-shadow 0.2s, bottom 0.2s;
    place-items: center;
    display: grid;
    min-width: 100px;
    flex: 1;
    height: 100px;
    cursor: pointer;
}

.loading-wrapper:hover{
    background-color: #e7e8ff;
}

.css-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 27, 31, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.css-modal {
    background-color: #fff;
    padding: 24px 26px 24px 28px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(90, 77, 248, 0.15);
    width: 90%;
    max-width: 620px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transform-origin: center;
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.css-title {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.css-underline{
    height: 3px;
    width: 35px;
    background-color: #5a4df8;
    border-radius: 3px;
    margin: 6px auto 15px;
}

.css-description{
    color: #535666;
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 0 10px;
    font-family: var(--font-simple);
}

.css-textarea{
    width: 100%;
    min-height: 300px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    resize: unset;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    outline: none;
    color: #333;
    background-color: #f4f6f9;
    box-sizing: border-box;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.css-textarea:focus{
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), 0 0 0 2px rgba(90, 77, 248, 0.1);
}

.css-button{
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 3px 0;
}

.css-button .btn-cancel{
    background-color: #f4f6f9;
    color: #495057;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    min-width: 88px;
    transition: all 0.2s ease;
    font-family: var(--font-simple);
}

.css-button .btn-copy{
    background-color: #5a4df8;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    min-width: 88px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(90, 77, 248, 0.2);
    font-family: var(--font-simple);
}

@media (max-width: 768px) {
    .tool-content {
        padding: .8em !important;
        box-shadow: unset;
    }

    .operate-buttons .btn {
        line-height: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
    }

    .btn {
        height: 32px;
    }

    .input-textarea {
        min-height: 200px;
    }

}