body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem auto;
    max-width: 1100px;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.file-upload-area {
    border: 2px dashed #667eea;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(102, 126, 234, 0.05);
}

.file-upload-area:hover {
    border-color: #764ba2;
    background: rgba(118, 75, 162, 0.1);
}

.file-upload-area.dragover {
    border-color: #764ba2;
    background: rgba(118, 75, 162, 0.15);
    transform: scale(1.02);
}

.preview-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1rem;
    margin-top: 1.5rem;
    border-left: 5px solid #667eea;
}

.markdown-preview {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.5;
}

.markdown-preview h1,
.markdown-preview h2,
.markdown-preview h3,
.markdown-preview h4,
.markdown-preview h5,
.markdown-preview h6 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.markdown-preview h1 {
    font-size: 1.75rem;
}

.markdown-preview h2 {
    font-size: 1.5rem;
}

.markdown-preview h3 {
    font-size: 1.25rem;
}

.markdown-preview h4 {
    font-size: 1.1rem;
}

.markdown-preview h5 {
    font-size: 1rem;
}

.markdown-preview h6 {
    font-size: 0.9rem;
}

.markdown-preview p {
    margin-bottom: 1rem;
}

.markdown-preview ul,
.markdown-preview ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.markdown-preview li {
    margin-bottom: 0.25rem;
}

.markdown-preview strong {
    font-weight: 600;
}

.markdown-preview em {
    font-style: italic;
}

.markdown-preview code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.markdown-preview pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.markdown-preview blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin-left: 0;
    color: #666;
}

.loading-spinner {
    display: none;
}

.btn-copy,
.btn-download {
    border-radius: 8px;
    margin: 0.25rem;
}

.alert {
    border-radius: 10px;
    border: none;
}

.metadata-section {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    padding: 1rem;
    margin: 0.75rem 0;
}

.metadata-section h5 {
    color: #667eea;
    margin-bottom: 1rem;
}

/* YouTube Section Styles */
.youtube-url-area {
    border: 2px dashed #dc3545;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(220, 53, 69, 0.05);
}

.youtube-url-area:hover {
    border-color: #c82333;
    background: rgba(200, 35, 51, 0.1);
}

/* Success and error states for YouTube URL area */
.youtube-url-area.success {
    border: 2px solid #28a745 !important; /* green border */
    background: rgba(40, 167, 69, 0.05) !important; /* light green background */
}
.youtube-url-area.error {
    border: 2px dashed #dc3545 !important; /* red border */
    background: rgba(220, 53, 69, 0.05) !important; /* light red background */
}

.conversion-type-selector {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.conversion-type-selector h5 {
    color: #667eea;
    margin-bottom: 1rem;
}

/* Modern Tab Switch Styles */
.tab-switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-switch {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.tab-switch input[type="radio"] {
    display: none;
}

.tab-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    color: #667eea;
    min-width: 140px;
    z-index: 2;
}

.tab-option i {
    font-size: 1rem;
}

.tab-option span {
    white-space: nowrap;
}

.tab-switch input[type="radio"]:checked + .tab-option {
    color: white;
    transform: scale(1.02);
}

.tab-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 40px;
    transition: transform 0.3s ease;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.tab-switch input[type="radio"]:nth-of-type(2):checked ~ .tab-slider {
    transform: translateX(100%);
}

/* Hover effects */
.tab-option:hover {
    color: #667eea;
    transform: translateY(-1px);
}

.tab-switch input[type="radio"]:checked + .tab-option:hover {
    color: white;
    transform: scale(1.02) translateY(-1px);
}

.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Progress Bar Styles */
.progress {
    height: 30px;
    border-radius: 15px;
    background-color: rgba(18, 40, 138, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, #4258b8 0%, #693c96 50%, #3045a0 100%);
    border-radius: 13px;
    transition: width 0.6s ease;
    font-weight: 700;
    font-size: 0.9rem;
    color: rgb(85, 92, 172);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255,255,255,.25) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.25) 50%, rgba(255,255,255,.25) 75%, transparent 75%, transparent);
    background-size: 1.5rem 1.5rem;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% { background-position: 1.5rem 0; }
    100% { background-position: 0 0; }
}

#progressSteps {
    margin-top: 0.5rem;
}

#currentStep {
    color: #667eea;
    font-weight: 500;
} 