
.aigig-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

/* Input Section */
.aigig-input-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.aigig-prompt {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a2e;
    background: #f8fafc;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color 0.2s;
}

.aigig-prompt:focus {
    border-color: #7c6af7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124,106,247,0.12);
}

/* Options Row */
.aigig-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.aigig-option-group label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.aigig-option-group select {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    background: #f8fafc;
    color: #1a1a2e;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.aigig-option-group select:focus {
    border-color: #7c6af7;
}

/* Generate Button */
.aigig-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    background: #D753B9;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    text-decoration: none;
}

.aigig-btn:hover  { opacity: 0.9; }
.aigig-btn:active { transform: scale(0.98); }
.aigig-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* Progress bar */
.aigig-progress {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.aigig-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7c6af7, #a78bfa);
    border-radius: 2px;
    transition: width 0.4s ease;
    animation: aigig-progress-anim 8s ease forwards;
}

@keyframes aigig-progress-anim {
    0%   { width: 0%; }
    70%  { width: 80%; }
    100% { width: 90%; }
}

/* Error */
.aigig-error {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff5f5;
    border-radius: 8px;
    border-left: 3px solid #e53e3e;
}

/* Result Section */
.aigig-result {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.aigig-image-wrap {
    width: 100%;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aigig-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Action Buttons */
.aigig-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.aigig-btn-secondary {
    flex: 1;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s;
}

.aigig-btn-secondary:hover { background: #f8fafc; }

.aigig-download {
    flex: 1;
    padding: 10px;
    font-size: 13px;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .aigig-options  { grid-template-columns: 1fr; }
    .aigig-actions  { flex-direction: column; }
}
