/* YouTube Shorts Downloader Plugin Styles */
.yt-shorts-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

/* Header Styles */
.yt-shorts-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.yt-shorts-logo {
    font-size: 1.875rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 0;
    text-align: center;
    margin-bottom: 1rem;
}

.yt-shorts-highlight {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.yt-shorts-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

/* Main Content */
.yt-shorts-main {
    padding: 0 1rem;
}

.yt-shorts-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.yt-shorts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.yt-shorts-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.yt-shorts-form-container {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    text-align: left;
}

.input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.url-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.convert-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.convert-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.convert-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Status Messages */
.status-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.status-message.processing {
    background: #dbeafe;
    border: 1px solid #93c5fd;
}

.status-message.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.status-message.success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
}

.status-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-direction: column;
}

.status-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.status-icon.check {
    width: 3rem;
    height: 3rem;
    color: #059669;
}

.status-message.processing .status-icon {
    color: #3b82f6;
}

.status-message.error .status-icon {
    color: #ef4444;
}

.status-text {
    font-weight: 500;
    color: #374151;
}

/* Success State */
.success-details {
    text-align: center;
}

.video-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0.5rem 0;
}

.video-info {
    color: #6b7280;
    margin-bottom: 1rem;
}

.download-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.download-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Spinner Animation */
.spinner {
    animation: spin 1s linear infinite;
}

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

/* Sections */
.yt-shorts-section {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Instructions */
.instructions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.instruction-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.step-content p {
    color: #6b7280;
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #ffffff;
}

.feature-icon {
    background: #dbeafe;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #3b82f6;
}

.feature-card h3 {
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.feature-card p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

/* Disclaimer */
.disclaimer {
    background: #f9fafb !important;
}

.disclaimer-content p {
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer-content strong {
    color: #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yt-shorts-title {
        font-size: 2rem;
    }
    
    .yt-shorts-description {
        font-size: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .convert-btn {
        width: 100%;
    }
    
    .yt-shorts-form-container,
    .yt-shorts-section {
        padding: 1.5rem;
    }
    
    .instruction-step {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .yt-shorts-nav {
        gap: 1rem;
    }
}