/* MP Creator Specific Styles */

.creator {
    padding: 120px 0 80px;
    background: transparent;
    min-height: 100vh;
    position: relative;
}

.creator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.creator > .container {
    position: relative;
    z-index: 1;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

/* Create line segments between steps with gaps around circles */
.progress-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 25px;
    left: calc(50% + 40px); /* Start 15px after circle (25px radius + 15px gap) */
    right: calc(-100% + 50% + 40px); /* End 15px before next circle */
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
    border-radius: 4px;
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Color the line purple when the step is completed - with animation */
.progress-step.completed:not(:last-child)::before {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    animation: lineSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation for lines when going forward */
@keyframes lineSlideIn {
    from {
        transform: scaleX(0);
        transform-origin: left center;
    }
    to {
        transform: scaleX(1);
        transform-origin: left center;
    }
}

/* Animation for lines when going backward */
@keyframes lineSlideOut {
    from {
        transform: scaleX(1);
        transform-origin: right center;
    }
    to {
        transform: scaleX(0);
        transform-origin: right center;
    }
}

/* Class to trigger backward animation */
.progress-step.animating-backward:not(:last-child)::before {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    animation: lineSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.progress-step:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 3px solid #e2e8f0;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.progress-step.completed .step-number {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

/* All steps are clickable for navigation */
.progress-step {
    cursor: pointer;
}

.progress-step:not(.active):not(.completed) {
    opacity: 0.6;
}

.progress-step:not(.active):not(.completed):hover {
    opacity: 0.8;
}

.step-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #1e293b;
    font-weight: 600;
}

/* Animations */
@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(100%); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Creator Form */
.creator-form {
    background: transparent;
    border-radius: 20px;
    padding: 50px;
    box-shadow: none;
    max-width: 1000px;
    margin: 0 auto;
    border: none;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);\n    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: -0.5px;
}

.step-description {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #cbd5e1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Discovery Options */
.discovery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.discovery-card {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.discovery-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px) scale(1.01);
}

.discovery-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.discovery-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.discovery-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
}

.discovery-card:hover .discovery-icon {
    transform: scale(1.05) rotate(2deg);
}

.discovery-icon i {
    color: white;
    font-size: 1.5rem;
}

.discovery-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.discovery-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.discovery-details {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.85rem;
    color: #4b5563;
    margin-top: auto;
}

.discovery-details strong {
    color: #3b82f6;
}

/* Discovery Requirements Display */
.discovery-requirements {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
    border: 2px solid #3b82f6;
    border-radius: 12px;
    margin: 20px 0;
    padding: 20px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.requirements-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #1e293b;
    font-size: 1.1rem;
}

.requirements-header i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.requirements-content p {
    color: #4b5563;
    margin-bottom: 15px;
    line-height: 1.5;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.requirements-list li {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.requirements-list li strong {
    color: #1e293b;
    font-weight: 600;
}

.field-hint {
    color: #6b7280;
    font-size: 0.85rem;
    font-style: italic;
}

.requirements-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #059669;
}

.requirements-note i {
    color: #10b981;
    font-size: 1rem;
}

/* Other Components Sections */
.other-components {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.component-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.component-section h3 i {
    color: #3b82f6;
}

/* Components Grid */
.components-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 15px;
    margin-bottom: 40px;
    align-items: stretch;
}

.component-card {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.component-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.component-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.component-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    transition: transform 0.3s ease;
}

.component-card:hover .component-icon {
    transform: scale(1.05);
}

.component-icon i {
    color: white;
    font-size: 1.2rem;
}

.component-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.component-card p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Component Checkbox Styling */
.component-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s ease;
}

.component-checkbox:hover {
    color: #3b82f6;
}

.component-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #f8fafc;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.component-checkbox:hover .checkmark {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}

.component-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.component-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

/* Add Another Button */
.btn-add-another {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-add-another:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.btn-add-another:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-add-another i {
    font-size: 0.85rem;
}

.btn-remove-monitor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    margin-left: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.btn-remove-monitor:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.btn-remove-monitor:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.btn-remove-monitor i {
    font-size: 0.85rem;
}

.btn-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.instance-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.counter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.counter-minus {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.counter-minus:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.counter-minus:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.counter-minus i {
    font-size: 0.75rem;
}

.counter-plus {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.counter-plus:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.counter-plus:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.counter-plus i {
    font-size: 0.75rem;
}

.counter-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 28px;
    padding: 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.counter-label {
    display: inline-block;
    margin-left: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.instance-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: 8px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-remove-instance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.btn-remove-instance:hover {
    background: #c82333;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
}

.btn-remove-instance:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.btn-remove-instance i {
    font-size: 0.8rem;
}

.component-card.selected .component-checkbox {
    color: #3b82f6;
}

.component-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.component-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
}

.component-options input[type="checkbox"],
.component-options input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

/* Configuration Panels */
.config-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.config-panel h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-panel-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group--full-width {
    grid-column: 1 / -1;
}

/* Generate Options */
.generate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.option-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.option-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.option-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.option-card p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.5;
    flex-grow: 1;
}

.option-card .btn {
    margin-top: auto;
}

/* Output Area */
.output-area {
    background: #1e293b;
    border-radius: 16px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #334155;
}\n
.output-header {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);\n    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #475569;
}\n
.output-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.output-header > div {
    display: flex;
    gap: 10px;
}

.output-area pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 25px;
    margin: 0;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 500px;
    overflow-y: auto;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn--success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn--success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Help Section */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.help-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.help-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.help-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.help-card p {
    color: #64748b;
    line-height: 1.6;
}

.help-reference {
    background: rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.help-reference h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
    text-align: center;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.reference-item {
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.reference-item strong {
    color: #1e293b;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 900px) {
    .components-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .components-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .progress-bar {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-bar::before {
        display: none;
    }
    
    .creator-form {
        padding: 25px;
    }
    
    .form-grid,
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .generate-options {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Validation States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
}

.success-message {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* No Configuration Message */
.no-config-message {
    text-align: center;
    padding: 60px 30px;
    background: #f8fafc;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    margin: 20px 0;
}

.message-content {
    max-width: 400px;
    margin: 0 auto;
}

.message-content i {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.message-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

.message-content p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Disclaimer Section */
.disclaimer {
    background: #0f172a;
    padding: 30px 0;
    margin-top: 0;
}

.disclaimer__content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.disclaimer__content i {
    color: #f59e0b;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer__content p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.8rem;
    margin: 0;
}

.disclaimer__content strong {
    color: #cbd5e1;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
    border-top: 4px solid #3b82f6;
}

.footer__credits {
    padding: 10px 0;
}

.footer__credits p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.footer__credits strong {
    color: #e2e8f0;
    font-weight: 600;
}
