.ilac-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.ilac-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.ilac-header p {
    color: #666;
    font-size: 16px;
}

.ilac-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
}

.ilac-upload-area:hover {
    border-color: #007cba;
}

.ilac-upload-area.dragover {
    border-color: #007cba;
    background-color: #f0f8ff;
}

.ilac-upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ilac-upload-content p {
    margin: 10px 0;
    color: #333;
    font-size: 16px;
}

.ilac-upload-content small {
    color: #666;
    font-size: 14px;
}

.ilac-preview-section,
.ilac-result-section {
    margin: 30px 0;
}

.ilac-image-preview,
.ilac-result-content {
    text-align: center;
}

.ilac-image-preview img,
.ilac-result-content img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 15px 0;
}

.ilac-actions,
.ilac-result-actions {
    margin-top: 20px;
}

.ilac-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.ilac-btn-primary {
    background-color: #007cba;
    color: white;
}

.ilac-btn-primary:hover {
    background-color: #005a87;
}

.ilac-btn-secondary {
    background-color: #f1f1f1;
    color: #333;
}

.ilac-btn-secondary:hover {
    background-color: #e1e1e1;
}

.ilac-btn-success {
    background-color: #28a745;
    color: white;
}

.ilac-btn-success:hover {
    background-color: #218838;
}

.ilac-loading {
    text-align: center;
    padding: 40px 20px;
}

.ilac-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.ilac-instructions {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.ilac-instructions h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.ilac-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.ilac-step {
    text-align: center;
    max-width: 200px;
    margin: 10px;
}

.ilac-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007cba;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.ilac-step-content h4 {
    margin: 10px 0 5px;
    color: #333;
}

.ilac-step-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .ilac-container {
        padding: 15px;
    }
    
    .ilac-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .ilac-btn {
        display: block;
        margin: 5px 0;
        width: 100%;
    }
}

