.thia-toolbar {
    display: inline-block;
    margin-left: 10px;
}

.thia-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0 15px;
    height: 36px;
    border-radius: 6px;
    margin: 0 3px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s;
}

.thia-btn:hover {
    transform: translateY(-2px);
}

.thia-generate {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Modal styles */
#thia-creator-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
	background: rgba(0, 0, 0, 0.5);
}

.thia-creator-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

.thia-creator-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
text-align: center;
backdrop-filter: blur(10px);
border-radius: 10px;;
    z-index: 100001;
	color: #fff;
	font-size:18px;
}

.thia-creator-modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
	color: #fff;
	font-size:18px;
}
.thia-creator-modal-header h3 {
color: #fff;
}
.thia-close {
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

.thia-creator-modal-body {
    padding: 30px;
    min-height: 200px;
}

.thia-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.thia-result {
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    line-height: 1.6;
}

.thia-modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    text-align: right;
}

.thia-cancel, .thia-apply {
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 6px;
    cursor: pointer;
}

.thia-apply {
    background: #667eea;
    color: white;
    border: none;
}