/* [NFT-AI] NFT Component Styles */

/* NFT Create Button Styles */

/* News Options Styles */
.nft-news-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.nft-news-option {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nft-news-option:hover {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.nft-news-option.selected {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #1a2e1a, #162e16);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.news-option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.news-option-header h4 {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.news-source {
    background: #4CAF50;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 10px;
}

.news-description {
    color: #ccc;
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.news-time {
    color: #888;
    font-size: 12px;
}

.select-news-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.select-news-btn:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-1px);
}

.news-error {
    text-align: center;
    padding: 40px 20px;
    color: #ff6b6b;
}

.retry-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
}

/* Art Styles Options */
.nft-art-styles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.nft-art-style-option {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.nft-art-style-option:hover {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.nft-art-style-option.selected {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #1a2e1a, #162e16);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.art-style-preview {
    margin-bottom: 15px;
}

.style-colors {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #333;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
}

.art-style-preview h4 {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.art-style-preview p {
    color: #ccc;
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
}

.select-style-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.select-style-btn:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-1px);
}
.nft-create-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.nft-create-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.nft-fab-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.nft-fab-text {
    font-size: 10px;
    text-align: center;
}

/* NFT Book Button Styles */
.nft-book-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.nft-book-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.nft-book-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.nft-book-text {
    font-size: 10px;
    text-align: center;
}

/* Modal Styles */
.nft-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.nft-modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid #4CAF50;
}

.nft-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.nft-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 24px;
}

.nft-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.nft-modal-close:hover {
    background: rgba(255,255,255,0.1);
}

.nft-modal-body {
    padding: 30px;
}

.nft-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 2px solid #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

/* Step Styles */
.nft-step {
    display: none;
}

.nft-step h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.nft-step h4 {
    color: #4CAF50;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

/* Style Picker */
.nft-style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.nft-style-option {
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.nft-style-option:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.nft-style-option.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.2);
}

.nft-style-preview {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.nft-style-option span {
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Tier Picker */
.nft-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    min-height: 200px;
}

.nft-tier-grid:empty::before {
    content: "Loading tiers...";
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-style: italic;
    grid-column: 1 / -1;
    min-height: 200px;
}

.nft-tier-option {
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nft-tier-option:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.nft-tier-option.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.2);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.nft-tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.nft-tier-header h4 {
    color: white;
    margin: 0;
    font-size: 18px;
}

.nft-tier-price {
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
}

.nft-tier-description {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 15px;
}

.nft-tier-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.nft-feature-tag {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.nft-tier-specs {
    display: flex;
    gap: 10px;
}

.nft-spec {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
}

/* Form Elements */
.nft-headline-section textarea {
    width: 100%;
    min-height: 100px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 15px;
}

.nft-headline-section textarea::placeholder {
    color: #999;
}

.nft-source-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nft-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nft-radio-option:hover {
    background: rgba(255,255,255,0.15);
}

.nft-radio-option input[type="radio"] {
    margin-right: 10px;
    accent-color: #4CAF50;
}

.nft-radio-option span {
    color: white;
    font-weight: bold;
}

.nft-checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.nft-checkbox-option input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #4CAF50;
}

.nft-checkbox-option span {
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.nft-ai-options {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 20px;
}

.nft-ai-prompt textarea {
    width: 100%;
    min-height: 80px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 15px;
    color: white;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
}

.nft-ai-provider select {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-size: 14px;
}

.nft-ai-provider select option {
    background: #1a1a2e;
    color: white;
}

/* Preview Section */
.nft-preview-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.nft-preview-image {
    background: rgba(255,255,255,0.1);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nft-preview-placeholder {
    text-align: center;
    color: #999;
}

.nft-preview-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.nft-preview-text {
    font-size: 16px;
}

.nft-preview-details {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
}

.nft-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nft-detail-label {
    color: #ccc;
    font-weight: bold;
}

.nft-detail-value {
    color: white;
}

/* Buttons */
.nft-btn-primary, .nft-btn-secondary, .nft-btn-create {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nft-btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.nft-btn-primary:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
}

.nft-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid #4CAF50;
}

.nft-btn-secondary:hover {
    background: rgba(76, 175, 80, 0.2);
}

.nft-btn-create {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: white;
    font-size: 16px;
    padding: 15px 30px;
}

.nft-btn-create:hover {
    background: linear-gradient(135deg, #4ECDC4, #FF6B6B);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.nft-btn-icon {
    background: rgba(255,255,255,0.1);
    border: 2px solid #4CAF50;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.nft-btn-icon:hover {
    background: rgba(76, 175, 80, 0.2);
}

/* Drawer Styles */
.nft-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.nft-drawer-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid #4CAF50;
}

.nft-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.nft-drawer-header h2 {
    color: white;
    margin: 0;
    font-size: 24px;
}

.nft-drawer-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nft-book-date {
    color: white;
    font-weight: bold;
    font-size: 16px;
    min-width: 100px;
    text-align: center;
}

.nft-drawer-close {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.nft-drawer-close:hover {
    background: rgba(255,255,255,0.1);
}

.nft-drawer-body {
    padding: 30px;
}

/* Book Stats */
.nft-book-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.nft-stat-item {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.nft-stat-value {
    color: #4CAF50;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.nft-stat-label {
    color: #ccc;
    font-size: 14px;
    font-weight: bold;
}

/* Book Grid */
.nft-book-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
}

.nft-book-slot {
    aspect-ratio: 1;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nft-book-slot.empty {
    background: rgba(255,255,255,0.05);
}

.nft-book-slot.filled {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.nft-book-slot:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.nft-slot-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nft-slot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 5px;
    color: white;
    font-size: 10px;
}

.nft-slot-tier {
    font-weight: bold;
    margin-bottom: 2px;
}

.nft-slot-time {
    opacity: 0.8;
}

.nft-slot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nft-slot-number {
    color: #999;
    font-size: 12px;
    font-weight: bold;
}

.nft-empty-book {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.nft-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.nft-empty-text {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.nft-empty-subtext {
    font-size: 16px;
}

/* Book Navigation */
.nft-book-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Progress Bar */
.nft-book-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nft-progress-bar {
    flex: 1;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.nft-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.nft-progress-text {
    color: white;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

/* Progress Notification */
.nft-progress-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 20px;
    color: white;
    z-index: 3000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    min-width: 300px;
}

.nft-progress-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nft-progress-icon {
    font-size: 32px;
}

.nft-progress-text h4 {
    margin: 0 0 5px 0;
    color: white;
}

.nft-progress-text p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
}

.nft-progress-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nft-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .nft-drawer-content {
        width: 95%;
        margin: 20px;
    }
    
    .nft-preview-section {
        grid-template-columns: 1fr;
    }
    
    .nft-style-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nft-tier-grid {
        grid-template-columns: 1fr;
    }
    
    .nft-book-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .nft-book-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
