.ai-humanizer-container {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

.ai-humanizer-header {
    text-align: center;
    margin-bottom: 30px;
}

.ai-humanizer-header h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.ai-humanizer-header p {
    color: #7f8c8d;
    font-size: 16px;
}

.ai-humanizer-editor {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.input-column, .output-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.editor-header {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
}

.editor-actions {
    display: flex;
    gap: 8px;
}

.action-button {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.action-button:hover {
    background: #f1f1f1;
    border-color: #ccc;
}

.action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.primary-button {
    padding: 8px 16px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-button:hover {
    background: #2980b9;
}

#input-text {
    flex: 1;
    padding: 20px;
    border: none;
    resize: none;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    outline: none;
}

#output-text {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.output-content {
    min-height: 100%;
}

.changed-word {
    color: #1a5276;
    font-weight: 500;
    background-color: rgba(26, 82, 118, 0.1);
    border-radius: 2px;
    padding: 0 2px;
}

.editor-footer {
    padding: 12px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #7f8c8d;
}

#changes-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.change-dot {
    width: 10px;
    height: 10px;
    background-color: #3498db;
    border-radius: 50%;
}

.ai-humanizer-loader {
    display: none;
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

.ai-humanizer-loader p {
    color: #7f8c8d;
    font-size: 16px;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-humanizer-editor {
        flex-direction: column;
    }
    
    .input-column, .output-column {
        width: 100%;
    }
}