/* Container */
.ce-tool-container {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    /*border-left: 4px solid #20c997;*/
    padding: 24px;
    border-radius: 6px;
    margin: 30px 0;
    font-family: "JetBrains Mono", "Courier New", Courier, monospace;
}

/* Input Row */
.ce-input-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* The actual text field */
.ce-input-group input[type="text"],
.ce-input-group input[type="url"] {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    padding: 8px 12px;
    border-radius: 4px;
    color: #20c997; /* Matches syntax-string green */
    outline: none;
    min-width: 280px;
    flex-grow: 1;
    font-family: inherit;
    transition: all 0.3s;
}

.ce-input-group input[type="text"]:focus,
.ce-input-group input[type="url"]:focus {
    border: 1px solid #20c997;
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.15);
}

/* Action Button */
.ce-action-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ce-tool-btn {
    background-color: #20c997;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
    transition: background 0.3s ease;
}

.ce-tool-btn:hover {
    background-color: #1aa37a;
}

.ce-tool-btn:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
}

.ce-tool-spinner {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Output / Result Box */
.ce-result-wrapper {
    margin-top: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
    position: relative;
}

.ce-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ce-result-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 4px;
    word-break: break-all;
    font-size: 1.1rem;
}

/* Copy Button */
.ce-copy-btn {
    background: #475569;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s ease;
}

.ce-copy-btn:hover {
    background: #0f172a;
}


