.info-section {
    text-align: center;
    margin-bottom: 40px;
}

.info-section p {
    font-size: 1.125rem;
    color: var(--ink-subtle);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

.srt-form {
    background: var(--surface-1);
    border-radius: var(--rounded-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--hairline);
    margin-bottom: 40px;
    transition: var(--transition);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.1rem;
}

.form-group input[type="file"] {
    display: none;
}

.file-upload-area {
    width: 100%;
    padding: 40px 20px;
    border: 2px dashed var(--hairline);
    border-radius: var(--rounded-lg);
    background: var(--surface-2);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary);
    background: var(--surface-2);
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.file-upload-text {
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.file-upload-hint {
    font-size: 0.875rem;
    color: var(--ink-subtle);
}

.file-upload-area.has-file {
    border-color: var(--semantic-success);
    border-style: solid;
}

.file-upload-area.has-file .file-upload-icon {
    color: var(--semantic-success);
}

.file-name {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--ink);
    word-break: break-all;
}

.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    background: var(--surface-2);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.file-info {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--ink-subtle);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--rounded-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
    background: var(--surface-2);
    color: var(--ink-subtle);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result-section {
    background: var(--surface-1);
    border-radius: var(--rounded-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--hairline);
    margin-top: 40px;
    transition: var(--transition);
}

.result-section:hover {
    box-shadow: var(--shadow-xl);
}

.result-section h3 {
    margin-bottom: 24px;
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 600;
}

.srt-content {
    background: var(--surface-3);
    padding: 24px;
    border-radius: var(--rounded-md);
    margin-bottom: 24px;
    white-space: pre-wrap;
    font-family: monospace;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--hairline);
}

.download-link {
    display: inline-block;
    background: var(--semantic-success);
    color: white;
    padding: 12px 24px;
    border-radius: var(--rounded-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.download-link:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-lg);
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 16px;
    border-radius: var(--rounded-md);
    margin-bottom: 24px;
    border-left: 4px solid #dc2626;
    font-size: 1rem;
}

.success-message {
    background: rgba(204, 120, 92, 0.08);
    color: var(--primary);
    padding: 16px;
    border-radius: var(--rounded-md);
    margin-bottom: 24px;
    border-left: 4px solid var(--primary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .srt-container {
        padding: 16px;
    }

    .info-section h2 {
        font-size: 2rem;
    }

    .srt-form,
    .result-section {
        padding: 24px;
    }

    .btn-primary {
        padding: 12px;
        font-size: 1rem;
    }
}

.usage-card {
    background: var(--surface-3);
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
    border: 1px solid var(--hairline);
    margin-top: var(--spacing-md);
}

.usage-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--ink);
}

.usage-card ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--ink-subtle);
    line-height: 1.8;
}
