.wgpro-generator {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.wgpro-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wgpro-form h2 {
    color: #333;
    margin-top: 0;
    text-align: center;
}

.wgpro-field {
    margin-bottom: 20px;
}

.wgpro-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}

.wgpro-field input,
.wgpro-field select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.wgpro-field input:focus,
.wgpro-field select:focus {
    outline: none;
    border-color: #0073aa;
}

.wgpro-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    margin-top: 10px;
}

.wgpro-btn:hover {
    background: #005a87;
}

.wgpro-btn.secondary {
    background: #6c757d;
}

.wgpro-btn.secondary:hover {
    background: #5a6268;
}

.wgpro-output {
    margin-top: 30px;
}

#wgpro-preview {
    margin-bottom: 20px;
}

.wgpro-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wgpro-actions button {
    flex: 1;
    min-width: 150px;
}

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

.wgpro-loading .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

#wgpro-share-url {
    padding: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    word-break: break-all;
    margin-top: 15px;
}

#wgpro-share-url a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

@media(max-width: 600px) {
    .wgpro-generator {
        margin: 20px;
        padding: 0;
    }
    
    .wgpro-form {
        padding: 20px;
    }
    
    .wgpro-actions {
        flex-direction: column;
    }
    
    .wgpro-actions button {
        width: 100%;
    }
}
