/* ==========================================
   CREATE PAGE STYLES - ManagerNest Vibrant Style
   ========================================== */

/* Create Hero */
.create-hero {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    overflow: visible;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.05) 0%, 
        rgba(59, 130, 246, 0.05) 50%,
        rgba(236, 72, 153, 0.05) 100%);
}

.create-hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin-top: 16px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wallet Required Section */
.wallet-required-section {
    padding: 60px 20px 100px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.03) 0%, 
        rgba(236, 72, 153, 0.03) 100%);
}

.wallet-prompt-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 60px 40px;
}

.wallet-prompt-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.wallet-prompt-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
}

.wallet-prompt-card > p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.wallet-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wallet-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 15px;
}

.wallet-info-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Creator Section */
.creator-section {
    padding: 60px 20px 100px;
}

.creator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Upload Card */
.upload-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.upload-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.upload-card h3 svg {
    color: var(--primary);
}

.upload-dropzone {
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.05) 0%, 
        rgba(59, 130, 246, 0.03) 100%);
}

.upload-dropzone:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
    transform: translateY(-4px);
}

.upload-dropzone.drag-over {
    border-color: var(--primary);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(59, 130, 246, 0.1) 100%);
    transform: scale(1.02);
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--primary);
    opacity: 0.8;
}

.upload-dropzone h4 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.upload-dropzone p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.upload-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.format-badge {
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.upload-hint {
    font-size: 13px;
    color: #64748b;
}

/* Preview Container */
.preview-container {
    animation: fadeIn 0.4s ease;
}

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

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.btn-icon-small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon-small:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.preview-content {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-content img,
.preview-content video {
    width: 100%;
    display: block;
}

.preview-info {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Metadata Card */
.metadata-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
}

.metadata-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
}

.metadata-card h3 svg {
    color: var(--primary);
}

/* Form Styles */
.nft-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
    font-size: 18px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    font-family: inherit;
}

.form-hint {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

.form-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

/* Royalty Fixed Display */
.royalty-fixed {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
}

.royalty-percentage {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.royalty-fixed .form-hint {
    color: #94a3b8;
    margin: 0;
}

/* Attributes */
.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.btn-text:hover {
    opacity: 0.8;
}

.attributes-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.attribute-item {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: start;
}

.attribute-item input {
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.attribute-item input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-remove-attribute {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove-attribute:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Mint Summary */
.mint-summary {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.mint-summary h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cost-row span:first-child {
    font-size: 16px;
    color: #cbd5e1;
    font-weight: 600;
}

.cost-value {
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cost-breakdown-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #94a3b8;
}

.mint-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94a3b8;
    margin-top: 16px;
    padding: 12px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

.mint-note svg {
    color: var(--secondary);
    flex-shrink: 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon.spinning {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    color: var(--primary);
    animation: spin 1s linear infinite;
}

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

.modal-icon.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: #10b981;
}

.modal-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
}

.step.complete {
    opacity: 1;
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(5, 150, 105, 0.05) 100%);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step.complete .step-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.step span {
    font-size: 15px;
    color: #cbd5e1;
    font-weight: 600;
}

/* Success Modal Specific */
.nft-preview-success {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.nft-preview-success img {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    margin: 0 auto 16px;
    display: block;
}

.nft-info-success h4 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.nft-info-success p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .creator-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .upload-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .wallet-actions {
        flex-direction: column;
    }
    
    .wallet-info-grid {
        grid-template-columns: 1fr;
    }
    
    .wallet-prompt-card {
        padding: 40px 24px;
    }
    
    .upload-dropzone {
        padding: 40px 24px;
    }
    
    .upload-card,
    .metadata-card {
        padding: 24px;
    }
    
    .attribute-item {
        grid-template-columns: 1fr;
    }
}

